0s autopkgtest [11:24:26]: starting date and time: 2024-03-19 11:24:26+0000 0s autopkgtest [11:24:26]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [11:24:26]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1g9bum5l/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:python3.12,src:db5.3,src:openssl,src:readline --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-arm64-11.secgroup --name adt-noble-arm64-glib2.0-20240319-112425-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://us.ports.ubuntu.com/ubuntu-ports/ 406s autopkgtest [11:31:12]: testbed dpkg architecture: arm64 406s autopkgtest [11:31:12]: testbed apt version: 2.7.12 406s autopkgtest [11:31:12]: @@@@@@@@@@@@@@@@@@@@ test bed setup 407s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 408s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 408s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [486 kB] 409s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.7 kB] 409s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3768 kB] 411s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [659 kB] 412s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 412s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [33.6 kB] 412s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 412s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [4142 kB] 413s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 413s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [56.7 kB] 413s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 418s Fetched 9334 kB in 7s (1375 kB/s) 418s Reading package lists... 422s Reading package lists... 423s Building dependency tree... 423s Reading state information... 424s Calculating upgrade... 425s The following packages will be REMOVED: 425s libreadline8 libssl3 425s The following NEW packages will be installed: 425s libreadline8t64 libssl3t64 425s The following packages have been kept back: 425s libpython3.12-minimal libpython3.12-stdlib python3.12 python3.12-minimal 425s The following packages will be upgraded: 425s openssl readline-common 425s 2 upgraded, 2 newly installed, 2 to remove and 4 not upgraded. 425s Need to get 2987 kB of archives. 425s After this operation, 207 kB of additional disk space will be used. 425s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 readline-common all 8.2-3.1 [56.4 kB] 425s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libreadline8t64 arm64 8.2-3.1 [153 kB] 425s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 openssl arm64 3.0.13-0ubuntu2 [985 kB] 425s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl3t64 arm64 3.0.13-0ubuntu2 [1793 kB] 427s Fetched 2987 kB in 1s (2041 kB/s) 427s (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 ... 75850 files and directories currently installed.) 427s Preparing to unpack .../readline-common_8.2-3.1_all.deb ... 427s Unpacking readline-common (8.2-3.1) over (8.2-3) ... 427s dpkg: libreadline8:arm64: dependency problems, but removing anyway as you requested: 427s parted depends on libreadline8 (>= 6.0). 427s libpython3.12-stdlib:arm64 depends on libreadline8 (>= 7.0~beta). 427s libpython3.11-stdlib:arm64 depends on libreadline8 (>= 7.0~beta). 427s gpgsm depends on libreadline8 (>= 6.0). 427s gpgconf depends on libreadline8 (>= 6.0). 427s gpg depends on libreadline8 (>= 6.0). 427s gawk depends on libreadline8 (>= 6.0). 427s fdisk depends on libreadline8 (>= 6.0). 427s 427s (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 ... 75850 files and directories currently installed.) 427s Removing libreadline8:arm64 (8.2-3) ... 427s Selecting previously unselected package libreadline8t64:arm64. 427s (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 ... 75838 files and directories currently installed.) 427s Preparing to unpack .../libreadline8t64_8.2-3.1_arm64.deb ... 427s Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8 to /lib/aarch64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' 427s Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8.2 to /lib/aarch64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' 427s Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8 to /lib/aarch64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' 427s Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8.2 to /lib/aarch64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' 427s Unpacking libreadline8t64:arm64 (8.2-3.1) ... 427s Preparing to unpack .../openssl_3.0.13-0ubuntu2_arm64.deb ... 427s Unpacking openssl (3.0.13-0ubuntu2) over (3.0.10-1ubuntu4) ... 428s dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: 428s wget depends on libssl3 (>= 3.0.0). 428s u-boot-tools depends on libssl3 (>= 3.0.0). 428s tnftp depends on libssl3 (>= 3.0.0). 428s tcpdump depends on libssl3 (>= 3.0.0). 428s systemd-resolved depends on libssl3 (>= 3.0.0). 428s systemd depends on libssl3 (>= 3.0.0). 428s sudo depends on libssl3 (>= 3.0.0). 428s sbsigntool depends on libssl3 (>= 3.0.0). 428s rsync depends on libssl3 (>= 3.0.0). 428s python3-cryptography depends on libssl3 (>= 3.0.0). 428s openssh-server depends on libssl3 (>= 3.0.10). 428s openssh-client depends on libssl3 (>= 3.0.10). 428s mtd-utils depends on libssl3 (>= 3.0.0). 428s mokutil depends on libssl3 (>= 3.0.0). 428s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 428s libsystemd-shared:arm64 depends on libssl3 (>= 3.0.0). 428s libssh-4:arm64 depends on libssl3 (>= 3.0.0). 428s libsasl2-modules:arm64 depends on libssl3 (>= 3.0.0). 428s libsasl2-2:arm64 depends on libssl3 (>= 3.0.0). 428s libpython3.12-minimal:arm64 depends on libssl3 (>= 3.0.0). 428s libpython3.11-minimal:arm64 depends on libssl3 (>= 3.0.0). 428s libnvme1 depends on libssl3 (>= 3.0.0). 428s libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). 428s libkmod2:arm64 depends on libssl3 (>= 3.0.0). 428s libfido2-1:arm64 depends on libssl3 (>= 3.0.0). 428s libcurl4:arm64 depends on libssl3 (>= 3.0.0). 428s libcryptsetup12:arm64 depends on libssl3 (>= 3.0.0). 428s kmod depends on libssl3 (>= 3.0.0). 428s dhcpcd-base depends on libssl3 (>= 3.0.0). 428s bind9-libs:arm64 depends on libssl3 (>= 3.0.0). 428s 428s (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 ... 75858 files and directories currently installed.) 428s Removing libssl3:arm64 (3.0.10-1ubuntu4) ... 428s Selecting previously unselected package libssl3t64:arm64. 428s (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 ... 75847 files and directories currently installed.) 428s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_arm64.deb ... 428s Unpacking libssl3t64:arm64 (3.0.13-0ubuntu2) ... 428s Setting up libssl3t64:arm64 (3.0.13-0ubuntu2) ... 428s Setting up openssl (3.0.13-0ubuntu2) ... 428s Setting up readline-common (8.2-3.1) ... 428s Setting up libreadline8t64:arm64 (8.2-3.1) ... 428s Processing triggers for libc-bin (2.39-0ubuntu2) ... 428s Processing triggers for man-db (2.12.0-3) ... 429s Processing triggers for install-info (7.1-3) ... 429s Reading package lists... 430s Building dependency tree... 430s Reading state information... 431s 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. 432s sh: Attempting to set up Debian/Ubuntu apt sources automatically 432s sh: Distribution appears to be Ubuntu 434s Reading package lists... 434s Building dependency tree... 434s Reading state information... 436s eatmydata is already the newest version (131-1). 436s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 436s Reading package lists... 436s Building dependency tree... 436s Reading state information... 438s dbus is already the newest version (1.14.10-4ubuntu1). 438s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 438s Reading package lists... 438s Building dependency tree... 438s Reading state information... 440s rng-tools-debian is already the newest version (2.4). 440s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 440s Reading package lists... 440s Building dependency tree... 440s Reading state information... 441s The following packages will be REMOVED: 441s cloud-init* python3-configobj* python3-debconf* 442s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 442s After this operation, 3252 kB disk space will be freed. 442s (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 ... 75860 files and directories currently installed.) 442s Removing cloud-init (24.1.1-0ubuntu1) ... 443s Removing python3-configobj (5.0.8-3) ... 443s Removing python3-debconf (1.5.86) ... 444s Processing triggers for man-db (2.12.0-3) ... 444s (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 ... 75471 files and directories currently installed.) 444s Purging configuration files for cloud-init (24.1.1-0ubuntu1) ... 446s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 446s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 446s invoke-rc.d: policy-rc.d denied execution of try-restart. 446s Reading package lists... 446s Building dependency tree... 446s Reading state information... 447s linux-generic is already the newest version (6.8.0-11.11+1). 447s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 448s Get:1 http://ftpmaster.internal/ubuntu noble InRelease [255 kB] 448s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 448s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 452s Fetched 255 kB in 1s (231 kB/s) 453s Reading package lists... 453s Reading package lists... 454s Building dependency tree... 454s Reading state information... 455s Calculating upgrade... 456s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 456s Reading package lists... 456s Building dependency tree... 456s Reading state information... 457s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 457s autopkgtest [11:32:03]: rebooting testbed after setup commands that affected boot 626s autopkgtest [11:34:52]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 629s autopkgtest [11:34:55]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 644s Get:1 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (dsc) [4332 B] 644s Get:2 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [263 kB] 644s Get:3 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [5488 kB] 644s Get:4 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (diff) [126 kB] 644s gpgv: Signature made Mon Feb 26 20:17:53 2024 UTC 644s gpgv: using RSA key 92FE4F8B40CADC4ECCD60C1F5961FDBE9C619809 644s gpgv: Can't check signature: No public key 644s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.2-1~ubuntu1.dsc: no acceptable signature found 645s autopkgtest [11:35:11]: testing package glib2.0 version 2.79.2-1~ubuntu1 646s autopkgtest [11:35:12]: build not needed 648s autopkgtest [11:35:14]: test build: preparing testbed 651s Reading package lists... 651s Building dependency tree... 651s Reading state information... 652s Starting pkgProblemResolver with broken count: 0 652s Starting 2 pkgProblemResolver with broken count: 0 652s Done 653s The following additional packages will be installed: 653s build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu 653s g++ g++-13 g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-13 653s gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libatomic1 653s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev 653s libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 653s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 653s libmount-dev libmpc3 libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev 653s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-13-dev 653s libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin 654s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 654s Suggested packages: 654s cpp-doc gcc-13-locales cpp-13-doc gcc-13-doc gcc-multilib manpages-dev 654s autoconf automake libtool flex bison gdb gcc-doc gdb-aarch64-linux-gnu 654s glibc-doc libgirepository1.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin 654s libxml2-utils libstdc++-13-doc 654s Recommended packages: 654s manpages manpages-dev libc-devtools 654s The following NEW packages will be installed: 654s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu 654s cpp-aarch64-linux-gnu g++ g++-13 g++-13-aarch64-linux-gnu 654s g++-aarch64-linux-gnu gcc gcc-13 gcc-13-aarch64-linux-gnu 654s gcc-aarch64-linux-gnu libasan8 libatomic1 libblkid-dev libc-dev-bin 654s libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-13-dev 654s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 654s libgomp1 libhwasan0 libisl23 libitm1 liblsan0 libmount-dev libmpc3 654s libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 654s libpkgconf3 libselinux1-dev libsepol-dev libstdc++-13-dev libtirpc-dev 654s libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin python3-packaging 654s rpcsvc-proto uuid-dev zlib1g-dev 654s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 654s Need to get 66.9 MB/66.9 MB of archives. 654s After this operation, 244 MB of additional disk space will be used. 654s Get:1 /tmp/autopkgtest.IsBVRK/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [724 B] 654s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 libc-dev-bin arm64 2.39-0ubuntu2 [19.7 kB] 654s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 linux-libc-dev arm64 6.8.0-11.11 [1569 kB] 655s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB] 655s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 libtirpc-dev arm64 1.3.4+ds-1build1 [232 kB] 656s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libnsl-dev arm64 1.3.0-3 [71.9 kB] 656s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB] 656s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libc6-dev arm64 2.39-0ubuntu2 [1596 kB] 656s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libisl23 arm64 0.26-3 [713 kB] 656s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libmpc3 arm64 1.3.1-1 [55.3 kB] 656s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [10.3 MB] 659s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13 arm64 13.2.0-17ubuntu2 [1028 B] 659s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [5316 B] 659s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 cpp arm64 4:13.2.0-7ubuntu1 [22.4 kB] 659s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libcc1-0 arm64 14-20240303-1ubuntu1 [44.7 kB] 659s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libgomp1 arm64 14-20240303-1ubuntu1 [144 kB] 659s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libitm1 arm64 14-20240303-1ubuntu1 [27.7 kB] 659s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libatomic1 arm64 14-20240303-1ubuntu1 [11.4 kB] 659s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libasan8 arm64 14-20240303-1ubuntu1 [2919 kB] 659s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 liblsan0 arm64 14-20240303-1ubuntu1 [1282 kB] 659s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libtsan2 arm64 14-20240303-1ubuntu1 [2687 kB] 660s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libubsan1 arm64 14-20240303-1ubuntu1 [1151 kB] 660s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libhwasan0 arm64 14-20240303-1ubuntu1 [1597 kB] 660s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 libgcc-13-dev arm64 13.2.0-17ubuntu2 [2464 kB] 661s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [20.1 MB] 665s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13 arm64 13.2.0-17ubuntu2 [467 kB] 665s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1198 B] 665s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 gcc arm64 4:13.2.0-7ubuntu1 [5018 B] 665s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libstdc++-13-dev arm64 13.2.0-17ubuntu2 [2322 kB] 666s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [11.7 MB] 668s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13 arm64 13.2.0-17ubuntu2 [14.4 kB] 668s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 g++-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [962 B] 668s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 g++ arm64 4:13.2.0-7ubuntu1 [1082 B] 668s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 668s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libgirepository-2.0-0 arm64 2.79.2-1~ubuntu1 [71.5 kB] 668s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libglib2.0-bin arm64 2.79.2-1~ubuntu1 [97.1 kB] 668s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libffi-dev arm64 3.4.6-1 [59.5 kB] 668s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 668s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 libglib2.0-dev-bin arm64 2.79.2-1~ubuntu1 [210 kB] 668s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 uuid-dev arm64 2.39.3-6ubuntu2 [34.7 kB] 668s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libblkid-dev arm64 2.39.3-6ubuntu2 [219 kB] 668s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libsepol-dev arm64 3.5-2 [390 kB] 668s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu1 [195 kB] 668s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu1 [183 kB] 668s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu1 [6654 B] 668s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-dev arm64 10.42-4ubuntu1 [679 kB] 668s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 libselinux1-dev arm64 3.5-2build1 [172 kB] 668s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libmount-dev arm64 2.39.3-6ubuntu2 [14.9 kB] 668s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libpkgconf3 arm64 1.8.1-2 [31.2 kB] 668s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf-bin arm64 1.8.1-2 [20.4 kB] 668s Get:51 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf arm64 1.8.1-2 [16.7 kB] 668s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3ubuntu1 [895 kB] 668s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 libglib2.0-dev arm64 2.79.2-1~ubuntu1 [1884 kB] 670s Fetched 66.9 MB in 15s (4460 kB/s) 670s Selecting previously unselected package libc-dev-bin. 670s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75416 files and directories currently installed.) 670s Preparing to unpack .../00-libc-dev-bin_2.39-0ubuntu2_arm64.deb ... 670s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 670s Selecting previously unselected package linux-libc-dev:arm64. 670s Preparing to unpack .../01-linux-libc-dev_6.8.0-11.11_arm64.deb ... 670s Unpacking linux-libc-dev:arm64 (6.8.0-11.11) ... 670s Selecting previously unselected package libcrypt-dev:arm64. 670s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-4_arm64.deb ... 670s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ... 670s Selecting previously unselected package libtirpc-dev:arm64. 670s Preparing to unpack .../03-libtirpc-dev_1.3.4+ds-1build1_arm64.deb ... 670s Unpacking libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 670s Selecting previously unselected package libnsl-dev:arm64. 671s Preparing to unpack .../04-libnsl-dev_1.3.0-3_arm64.deb ... 671s Unpacking libnsl-dev:arm64 (1.3.0-3) ... 671s Selecting previously unselected package rpcsvc-proto. 671s Preparing to unpack .../05-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ... 671s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 671s Selecting previously unselected package libc6-dev:arm64. 671s Preparing to unpack .../06-libc6-dev_2.39-0ubuntu2_arm64.deb ... 671s Unpacking libc6-dev:arm64 (2.39-0ubuntu2) ... 671s Selecting previously unselected package libisl23:arm64. 671s Preparing to unpack .../07-libisl23_0.26-3_arm64.deb ... 671s Unpacking libisl23:arm64 (0.26-3) ... 671s Selecting previously unselected package libmpc3:arm64. 671s Preparing to unpack .../08-libmpc3_1.3.1-1_arm64.deb ... 671s Unpacking libmpc3:arm64 (1.3.1-1) ... 671s Selecting previously unselected package cpp-13-aarch64-linux-gnu. 671s Preparing to unpack .../09-cpp-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 671s Unpacking cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 671s Selecting previously unselected package cpp-13. 671s Preparing to unpack .../10-cpp-13_13.2.0-17ubuntu2_arm64.deb ... 671s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 671s Selecting previously unselected package cpp-aarch64-linux-gnu. 672s Preparing to unpack .../11-cpp-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 672s Unpacking cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 672s Selecting previously unselected package cpp. 672s Preparing to unpack .../12-cpp_4%3a13.2.0-7ubuntu1_arm64.deb ... 672s Unpacking cpp (4:13.2.0-7ubuntu1) ... 672s Selecting previously unselected package libcc1-0:arm64. 672s Preparing to unpack .../13-libcc1-0_14-20240303-1ubuntu1_arm64.deb ... 672s Unpacking libcc1-0:arm64 (14-20240303-1ubuntu1) ... 672s Selecting previously unselected package libgomp1:arm64. 672s Preparing to unpack .../14-libgomp1_14-20240303-1ubuntu1_arm64.deb ... 672s Unpacking libgomp1:arm64 (14-20240303-1ubuntu1) ... 672s Selecting previously unselected package libitm1:arm64. 672s Preparing to unpack .../15-libitm1_14-20240303-1ubuntu1_arm64.deb ... 672s Unpacking libitm1:arm64 (14-20240303-1ubuntu1) ... 672s Selecting previously unselected package libatomic1:arm64. 672s Preparing to unpack .../16-libatomic1_14-20240303-1ubuntu1_arm64.deb ... 672s Unpacking libatomic1:arm64 (14-20240303-1ubuntu1) ... 672s Selecting previously unselected package libasan8:arm64. 672s Preparing to unpack .../17-libasan8_14-20240303-1ubuntu1_arm64.deb ... 672s Unpacking libasan8:arm64 (14-20240303-1ubuntu1) ... 672s Selecting previously unselected package liblsan0:arm64. 672s Preparing to unpack .../18-liblsan0_14-20240303-1ubuntu1_arm64.deb ... 672s Unpacking liblsan0:arm64 (14-20240303-1ubuntu1) ... 672s Selecting previously unselected package libtsan2:arm64. 672s Preparing to unpack .../19-libtsan2_14-20240303-1ubuntu1_arm64.deb ... 672s Unpacking libtsan2:arm64 (14-20240303-1ubuntu1) ... 672s Selecting previously unselected package libubsan1:arm64. 672s Preparing to unpack .../20-libubsan1_14-20240303-1ubuntu1_arm64.deb ... 672s Unpacking libubsan1:arm64 (14-20240303-1ubuntu1) ... 672s Selecting previously unselected package libhwasan0:arm64. 672s Preparing to unpack .../21-libhwasan0_14-20240303-1ubuntu1_arm64.deb ... 672s Unpacking libhwasan0:arm64 (14-20240303-1ubuntu1) ... 672s Selecting previously unselected package libgcc-13-dev:arm64. 672s Preparing to unpack .../22-libgcc-13-dev_13.2.0-17ubuntu2_arm64.deb ... 672s Unpacking libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 673s Selecting previously unselected package gcc-13-aarch64-linux-gnu. 673s Preparing to unpack .../23-gcc-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 673s Unpacking gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 673s Selecting previously unselected package gcc-13. 673s Preparing to unpack .../24-gcc-13_13.2.0-17ubuntu2_arm64.deb ... 673s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 674s Selecting previously unselected package gcc-aarch64-linux-gnu. 674s Preparing to unpack .../25-gcc-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 674s Unpacking gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 674s Selecting previously unselected package gcc. 674s Preparing to unpack .../26-gcc_4%3a13.2.0-7ubuntu1_arm64.deb ... 674s Unpacking gcc (4:13.2.0-7ubuntu1) ... 674s Selecting previously unselected package libstdc++-13-dev:arm64. 674s Preparing to unpack .../27-libstdc++-13-dev_13.2.0-17ubuntu2_arm64.deb ... 674s Unpacking libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 676s Selecting previously unselected package g++-13-aarch64-linux-gnu. 676s Preparing to unpack .../28-g++-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 676s Unpacking g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 676s Selecting previously unselected package g++-13. 676s Preparing to unpack .../29-g++-13_13.2.0-17ubuntu2_arm64.deb ... 676s Unpacking g++-13 (13.2.0-17ubuntu2) ... 676s Selecting previously unselected package g++-aarch64-linux-gnu. 676s Preparing to unpack .../30-g++-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 676s Unpacking g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 676s Selecting previously unselected package g++. 676s Preparing to unpack .../31-g++_4%3a13.2.0-7ubuntu1_arm64.deb ... 676s Unpacking g++ (4:13.2.0-7ubuntu1) ... 676s Selecting previously unselected package build-essential. 676s Preparing to unpack .../32-build-essential_12.10ubuntu1_arm64.deb ... 676s Unpacking build-essential (12.10ubuntu1) ... 676s Selecting previously unselected package libgirepository-2.0-0:arm64. 676s Preparing to unpack .../33-libgirepository-2.0-0_2.79.2-1~ubuntu1_arm64.deb ... 676s Unpacking libgirepository-2.0-0:arm64 (2.79.2-1~ubuntu1) ... 676s Selecting previously unselected package libglib2.0-bin. 676s Preparing to unpack .../34-libglib2.0-bin_2.79.2-1~ubuntu1_arm64.deb ... 676s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 676s Selecting previously unselected package libffi-dev:arm64. 676s Preparing to unpack .../35-libffi-dev_3.4.6-1_arm64.deb ... 676s Unpacking libffi-dev:arm64 (3.4.6-1) ... 676s Selecting previously unselected package python3-packaging. 676s Preparing to unpack .../36-python3-packaging_23.2-1_all.deb ... 676s Unpacking python3-packaging (23.2-1) ... 676s Selecting previously unselected package libglib2.0-dev-bin. 676s Preparing to unpack .../37-libglib2.0-dev-bin_2.79.2-1~ubuntu1_arm64.deb ... 676s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 676s Selecting previously unselected package uuid-dev:arm64. 676s Preparing to unpack .../38-uuid-dev_2.39.3-6ubuntu2_arm64.deb ... 676s Unpacking uuid-dev:arm64 (2.39.3-6ubuntu2) ... 676s Selecting previously unselected package libblkid-dev:arm64. 676s Preparing to unpack .../39-libblkid-dev_2.39.3-6ubuntu2_arm64.deb ... 676s Unpacking libblkid-dev:arm64 (2.39.3-6ubuntu2) ... 676s Selecting previously unselected package libsepol-dev:arm64. 676s Preparing to unpack .../40-libsepol-dev_3.5-2_arm64.deb ... 676s Unpacking libsepol-dev:arm64 (3.5-2) ... 676s Selecting previously unselected package libpcre2-16-0:arm64. 676s Preparing to unpack .../41-libpcre2-16-0_10.42-4ubuntu1_arm64.deb ... 676s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 676s Selecting previously unselected package libpcre2-32-0:arm64. 676s Preparing to unpack .../42-libpcre2-32-0_10.42-4ubuntu1_arm64.deb ... 676s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 676s Selecting previously unselected package libpcre2-posix3:arm64. 676s Preparing to unpack .../43-libpcre2-posix3_10.42-4ubuntu1_arm64.deb ... 676s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 676s Selecting previously unselected package libpcre2-dev:arm64. 676s Preparing to unpack .../44-libpcre2-dev_10.42-4ubuntu1_arm64.deb ... 676s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu1) ... 676s Selecting previously unselected package libselinux1-dev:arm64. 676s Preparing to unpack .../45-libselinux1-dev_3.5-2build1_arm64.deb ... 676s Unpacking libselinux1-dev:arm64 (3.5-2build1) ... 676s Selecting previously unselected package libmount-dev:arm64. 676s Preparing to unpack .../46-libmount-dev_2.39.3-6ubuntu2_arm64.deb ... 676s Unpacking libmount-dev:arm64 (2.39.3-6ubuntu2) ... 676s Selecting previously unselected package libpkgconf3:arm64. 676s Preparing to unpack .../47-libpkgconf3_1.8.1-2_arm64.deb ... 676s Unpacking libpkgconf3:arm64 (1.8.1-2) ... 676s Selecting previously unselected package pkgconf-bin. 676s Preparing to unpack .../48-pkgconf-bin_1.8.1-2_arm64.deb ... 676s Unpacking pkgconf-bin (1.8.1-2) ... 676s Selecting previously unselected package pkgconf:arm64. 676s Preparing to unpack .../49-pkgconf_1.8.1-2_arm64.deb ... 676s Unpacking pkgconf:arm64 (1.8.1-2) ... 676s Selecting previously unselected package zlib1g-dev:arm64. 676s Preparing to unpack .../50-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_arm64.deb ... 676s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 676s Selecting previously unselected package libglib2.0-dev:arm64. 676s Preparing to unpack .../51-libglib2.0-dev_2.79.2-1~ubuntu1_arm64.deb ... 676s Unpacking libglib2.0-dev:arm64 (2.79.2-1~ubuntu1) ... 676s Selecting previously unselected package autopkgtest-satdep. 676s Preparing to unpack .../52-1-autopkgtest-satdep.deb ... 676s Unpacking autopkgtest-satdep (0) ... 676s Setting up libgirepository-2.0-0:arm64 (2.79.2-1~ubuntu1) ... 676s Setting up linux-libc-dev:arm64 (6.8.0-11.11) ... 676s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 676s Setting up libgomp1:arm64 (14-20240303-1ubuntu1) ... 676s Setting up libffi-dev:arm64 (3.4.6-1) ... 676s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 676s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 676s Setting up python3-packaging (23.2-1) ... 677s Setting up libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 677s Setting up libpkgconf3:arm64 (1.8.1-2) ... 677s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 677s Setting up libmpc3:arm64 (1.3.1-1) ... 677s Setting up libatomic1:arm64 (14-20240303-1ubuntu1) ... 677s Setting up libsepol-dev:arm64 (3.5-2) ... 677s Setting up pkgconf-bin (1.8.1-2) ... 677s Setting up libubsan1:arm64 (14-20240303-1ubuntu1) ... 677s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 677s Setting up libnsl-dev:arm64 (1.3.0-3) ... 677s Setting up libhwasan0:arm64 (14-20240303-1ubuntu1) ... 677s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ... 677s Setting up libasan8:arm64 (14-20240303-1ubuntu1) ... 677s Setting up libtsan2:arm64 (14-20240303-1ubuntu1) ... 677s Setting up libisl23:arm64 (0.26-3) ... 677s Setting up libc-dev-bin (2.39-0ubuntu2) ... 677s Setting up libcc1-0:arm64 (14-20240303-1ubuntu1) ... 677s Setting up liblsan0:arm64 (14-20240303-1ubuntu1) ... 677s Setting up libitm1:arm64 (14-20240303-1ubuntu1) ... 677s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 677s Setting up cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 677s Setting up pkgconf:arm64 (1.8.1-2) ... 677s Setting up cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 677s Setting up libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 677s Setting up libc6-dev:arm64 (2.39-0ubuntu2) ... 677s Setting up libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 677s Setting up libpcre2-dev:arm64 (10.42-4ubuntu1) ... 677s Setting up cpp-13 (13.2.0-17ubuntu2) ... 677s Setting up libselinux1-dev:arm64 (3.5-2build1) ... 677s Setting up gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 677s Setting up uuid-dev:arm64 (2.39.3-6ubuntu2) ... 677s Setting up gcc-13 (13.2.0-17ubuntu2) ... 677s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 677s Setting up cpp (4:13.2.0-7ubuntu1) ... 677s Setting up g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 677s Setting up gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 677s Setting up libblkid-dev:arm64 (2.39.3-6ubuntu2) ... 677s Setting up g++-13 (13.2.0-17ubuntu2) ... 677s Setting up gcc (4:13.2.0-7ubuntu1) ... 677s Setting up g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 677s Setting up libmount-dev:arm64 (2.39.3-6ubuntu2) ... 677s Setting up libglib2.0-dev:arm64 (2.79.2-1~ubuntu1) ... 677s Setting up g++ (4:13.2.0-7ubuntu1) ... 677s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 677s Setting up build-essential (12.10ubuntu1) ... 677s Processing triggers for libc-bin (2.39-0ubuntu2) ... 677s Processing triggers for man-db (2.12.0-3) ... 678s Processing triggers for install-info (7.1-3) ... 679s Processing triggers for libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 679s No schema files found: doing nothing. 679s Setting up autopkgtest-satdep (0) ... 684s (Reading database ... 79204 files and directories currently installed.) 684s Removing autopkgtest-satdep (0) ... 685s autopkgtest [11:35:51]: test build: [----------------------- 685s + mode=dynamic 685s + getopt -o --long static -n debian/tests/build -- 685s + getopt_temp= -- 685s + eval set -- -- 685s + set -- -- 685s + true 685s + shift 685s + break 685s + mktemp -d 685s + WORKDIR=/tmp/tmp.FLT7LawrL1 685s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 685s + cd /tmp/tmp.FLT7LawrL1 685s + [ -n ] 685s + CROSS_COMPILE= 685s + cat 685s + cat 685s + cat 685s + cat 685s + cat 685s + cat 685s + cflags= 685s + pcflags= 685s + packages=glib-2.0 685s + pkg-config --cflags --libs glib-2.0 685s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lglib-2.0 685s + echo build (glib, dynamic): OK 685s + [ -x glib-dynamic ] 685s + foo=bar ./glib-dynamic 685s build (glib, dynamic): OK 685s + echo run (glib, dynamic): OK 685s + cflags=run (glib, dynamic): OK 685s 685s + pcflags= 685s + packages=gobject-2.0 685s + pkg-config --cflags --libs gobject-2.0 685s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 685s + echo build (gobject, dynamic): OK 685s build (gobject, dynamic): OK 685s + [ -x gobject-dynamic ] 685s + foo=bar ./gobject-dynamic 685s + echo run (gobject, dynamic): OK 685s + cflags= 685s + pcflags= 685s + packages=gio-2.0 685s + run (gobject, dynamic): OK 686s pkg-config --cflags --libs gio-2.0 686s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 686s build (gio, dynamic): OK 686s + echo build (gio, dynamic): OK 686s + [ -x gio-dynamic ] 686s + foo=bar ./gio-dynamic 686s run (gio, dynamic): OK 686s + echo run (gio, dynamic): OK 686s + cflags= 686s + pcflags= 686s + packages=gio-unix-2.0 686s + pkg-config --cflags --libs gio-unix-2.0 686s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 686s + echo build (gio-unix, dynamic): OKbuild (gio-unix, dynamic): OK 686s 686s + [ -x gio-unix-dynamic ] 686s + foo=bar ./gio-unix-dynamic 686s + echo run (gio-unix, dynamic): OK 686s + cflags= 686s + pcflags= 686s + packages=gmodule-2.0 686s run (gio-unix, dynamic): OK 686s + pkg-config --cflags --libs gmodule-2.0 686s + gcc -o gmodule-dynamic gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 687s + echo build (gmodule, dynamic): OK 687s + [ -x gmodule-dynamic ] 687s + foo=bar ./gmodule-dynamic 687s + echo run (gmodule, dynamic): OK 687s + cflags= 687s + pcflags= 687s + packages=gthread-2.0 687s build (gmodule, dynamic): OK 687s run (gmodule, dynamic): OK 687s + pkg-config --cflags --libs gthread-2.0 687s + gcc -o gthread-dynamic gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 687s build (gthread, dynamic): OK 687s + echo build (gthread, dynamic): OK 687s + [ -x gthread-dynamic ] 687s + foo=bar ./gthread-dynamic 687s + echo run (gthread, dynamic): OK 687s + rm -rf /tmp/tmp.FLT7LawrL1 687s run (gthread, dynamic): OK 687s autopkgtest [11:35:53]: test build: -----------------------] 688s autopkgtest [11:35:54]: test build: - - - - - - - - - - results - - - - - - - - - - 688s build PASS (superficial) 688s autopkgtest [11:35:54]: test build-static: preparing testbed 692s Reading package lists... 692s Building dependency tree... 692s Reading state information... 693s Starting pkgProblemResolver with broken count: 0 693s Starting 2 pkgProblemResolver with broken count: 0 693s Done 694s The following NEW packages will be installed: 694s autopkgtest-satdep 694s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 694s Need to get 0 B/720 B of archives. 694s After this operation, 0 B of additional disk space will be used. 694s Get:1 /tmp/autopkgtest.IsBVRK/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [720 B] 695s Selecting previously unselected package autopkgtest-satdep. 695s (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 ... 79204 files and directories currently installed.) 695s Preparing to unpack .../2-autopkgtest-satdep.deb ... 695s Unpacking autopkgtest-satdep (0) ... 695s Setting up autopkgtest-satdep (0) ... 699s (Reading database ... 79204 files and directories currently installed.) 699s Removing autopkgtest-satdep (0) ... 700s autopkgtest [11:36:06]: test build-static: [----------------------- 700s + mode=dynamic 700s + getopt -o --long static -n debian/tests/build -- --static 700s + getopt_temp= --static -- 700s + eval set -- --static -- 700s + set -- --static -- 700s + true 700s + mode=static 700s + shift 700s + continue 700s + true 700s + shift 700s + break 700s + mktemp -d 700s + WORKDIR=/tmp/tmp.qpU9hDHzLK 700s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 700s + cd /tmp/tmp.qpU9hDHzLK 700s + [ -n ] 700s + CROSS_COMPILE= 700s + cat 700s + cat 700s + cat 700s + cat 700s + cat 700s + cat 700s + cflags= 700s + pcflags= 700s + packages=glib-2.0 700s + cflags=-static 700s + pcflags=--static 700s + pkg-config --static --cflags --libs glib-2.0 700s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lglib-2.0 -lm -pthread -lpcre2-8 701s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 701s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s + echo build (glib, static): OK 701s + [ -x glib-static ] 701s + foo=bar ./glib-static 701s + echo run (glib, static): OK 701s + cflags= 701s + pcflags= 701s + packages=gobject-2.0 701s + cflags=-static 701s + pcflags=--static 701s + pkg-config --static --cflags --libs gobject-2.0 701s build (glib, static): OK 701s run (glib, static): OK 701s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 -lm -pthread -lpcre2-8 -lffi 701s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 701s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s + echo build (gobject, static): OK 701s build (gobject, static): OK 701s + [ -x gobject-static ] 701s + foo=bar ./gobject-static 701s run (gobject, static): OK 701s + echo run (gobject, static): OK 701s + cflags= 701s + pcflags= 701s + packages=gio-2.0 701s + cflags=-static 701s + pcflags=--static 701s + continue 701s + cflags= 701s + pcflags= 701s + packages=gio-unix-2.0 701s + cflags=-static 701s + pcflags=--static 701s + continue 701s + cflags= 701s + pcflags= 701s + packages=gmodule-2.0 701s + cflags=-static 701s + pcflags=--static 701s + pkg-config --static --cflags --libs gmodule-2.0 701s + gcc -static -o gmodule-static gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 -lglib-2.0 -lm -pthread -lpcre2-8 701s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 701s (.text+0x610): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 701s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 702s + echo build (gmodule, static): OK 702s build (gmodule, static): OK 702s + [ -x gmodule-static ] 702s + foo=bar ./gmodule-static 702s + echo run (gmodule, static): OK 702s + run (gmodule, static): OK 702s cflags= 702s + pcflags= 702s + packages=gthread-2.0 702s + cflags=-static 702s + pcflags=--static 702s + pkg-config --static --cflags --libs gthread-2.0 702s + gcc -static -o gthread-static gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 702s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 702s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 702s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 702s /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 702s + echo build (gthread, static): OKbuild (gthread, static): OK 702s 702s + [ -x gthread-static ] 702s + foo=bar ./gthread-static 702s run (gthread, static): OK 702s + echo run (gthread, static): OK 702s + rm -rf /tmp/tmp.qpU9hDHzLK 702s autopkgtest [11:36:08]: test build-static: -----------------------] 703s autopkgtest [11:36:09]: test build-static: - - - - - - - - - - results - - - - - - - - - - 703s build-static PASS (superficial) 703s autopkgtest [11:36:09]: test installed-tests: preparing testbed 930s autopkgtest [11:39:56]: testbed dpkg architecture: arm64 930s autopkgtest [11:39:56]: testbed apt version: 2.7.12 930s autopkgtest [11:39:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup 931s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 932s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3768 kB] 934s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.7 kB] 934s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [486 kB] 934s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 934s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [659 kB] 935s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 935s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [33.6 kB] 935s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 935s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [4142 kB] 936s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 936s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [56.7 kB] 936s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 940s Fetched 9334 kB in 5s (1900 kB/s) 941s Reading package lists... 944s Reading package lists... 945s Building dependency tree... 945s Reading state information... 946s Calculating upgrade... 946s The following packages will be REMOVED: 946s libreadline8 libssl3 946s The following NEW packages will be installed: 946s libreadline8t64 libssl3t64 946s The following packages have been kept back: 946s libpython3.12-minimal libpython3.12-stdlib python3.12 python3.12-minimal 947s The following packages will be upgraded: 947s openssl readline-common 947s 2 upgraded, 2 newly installed, 2 to remove and 4 not upgraded. 947s Need to get 2987 kB of archives. 947s After this operation, 207 kB of additional disk space will be used. 947s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 readline-common all 8.2-3.1 [56.4 kB] 947s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libreadline8t64 arm64 8.2-3.1 [153 kB] 947s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 openssl arm64 3.0.13-0ubuntu2 [985 kB] 947s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl3t64 arm64 3.0.13-0ubuntu2 [1793 kB] 948s Fetched 2987 kB in 1s (3515 kB/s) 948s (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 ... 75850 files and directories currently installed.) 948s Preparing to unpack .../readline-common_8.2-3.1_all.deb ... 948s Unpacking readline-common (8.2-3.1) over (8.2-3) ... 948s dpkg: libreadline8:arm64: dependency problems, but removing anyway as you requested: 948s parted depends on libreadline8 (>= 6.0). 948s libpython3.12-stdlib:arm64 depends on libreadline8 (>= 7.0~beta). 948s libpython3.11-stdlib:arm64 depends on libreadline8 (>= 7.0~beta). 948s gpgsm depends on libreadline8 (>= 6.0). 948s gpgconf depends on libreadline8 (>= 6.0). 948s gpg depends on libreadline8 (>= 6.0). 948s gawk depends on libreadline8 (>= 6.0). 948s fdisk depends on libreadline8 (>= 6.0). 948s 948s (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 ... 75850 files and directories currently installed.) 948s Removing libreadline8:arm64 (8.2-3) ... 949s Selecting previously unselected package libreadline8t64:arm64. 949s (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 ... 75838 files and directories currently installed.) 949s Preparing to unpack .../libreadline8t64_8.2-3.1_arm64.deb ... 949s Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8 to /lib/aarch64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' 949s Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8.2 to /lib/aarch64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' 949s Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8 to /lib/aarch64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' 949s Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8.2 to /lib/aarch64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' 949s Unpacking libreadline8t64:arm64 (8.2-3.1) ... 949s Preparing to unpack .../openssl_3.0.13-0ubuntu2_arm64.deb ... 949s Unpacking openssl (3.0.13-0ubuntu2) over (3.0.10-1ubuntu4) ... 949s dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: 949s wget depends on libssl3 (>= 3.0.0). 949s u-boot-tools depends on libssl3 (>= 3.0.0). 949s tnftp depends on libssl3 (>= 3.0.0). 949s tcpdump depends on libssl3 (>= 3.0.0). 949s systemd-resolved depends on libssl3 (>= 3.0.0). 949s systemd depends on libssl3 (>= 3.0.0). 949s sudo depends on libssl3 (>= 3.0.0). 949s sbsigntool depends on libssl3 (>= 3.0.0). 949s rsync depends on libssl3 (>= 3.0.0). 949s python3-cryptography depends on libssl3 (>= 3.0.0). 949s openssh-server depends on libssl3 (>= 3.0.10). 949s openssh-client depends on libssl3 (>= 3.0.10). 949s mtd-utils depends on libssl3 (>= 3.0.0). 949s mokutil depends on libssl3 (>= 3.0.0). 949s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 949s libsystemd-shared:arm64 depends on libssl3 (>= 3.0.0). 949s libssh-4:arm64 depends on libssl3 (>= 3.0.0). 949s libsasl2-modules:arm64 depends on libssl3 (>= 3.0.0). 949s libsasl2-2:arm64 depends on libssl3 (>= 3.0.0). 949s libpython3.12-minimal:arm64 depends on libssl3 (>= 3.0.0). 949s libpython3.11-minimal:arm64 depends on libssl3 (>= 3.0.0). 949s libnvme1 depends on libssl3 (>= 3.0.0). 949s libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). 949s libkmod2:arm64 depends on libssl3 (>= 3.0.0). 949s libfido2-1:arm64 depends on libssl3 (>= 3.0.0). 949s libcurl4:arm64 depends on libssl3 (>= 3.0.0). 949s libcryptsetup12:arm64 depends on libssl3 (>= 3.0.0). 949s kmod depends on libssl3 (>= 3.0.0). 949s dhcpcd-base depends on libssl3 (>= 3.0.0). 949s bind9-libs:arm64 depends on libssl3 (>= 3.0.0). 949s 949s (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 ... 75858 files and directories currently installed.) 949s Removing libssl3:arm64 (3.0.10-1ubuntu4) ... 949s Selecting previously unselected package libssl3t64:arm64. 949s (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 ... 75847 files and directories currently installed.) 949s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_arm64.deb ... 949s Unpacking libssl3t64:arm64 (3.0.13-0ubuntu2) ... 949s Setting up libssl3t64:arm64 (3.0.13-0ubuntu2) ... 949s Setting up openssl (3.0.13-0ubuntu2) ... 949s Setting up readline-common (8.2-3.1) ... 949s Setting up libreadline8t64:arm64 (8.2-3.1) ... 949s Processing triggers for libc-bin (2.39-0ubuntu2) ... 949s Processing triggers for man-db (2.12.0-3) ... 950s Processing triggers for install-info (7.1-3) ... 951s Reading package lists... 951s Building dependency tree... 951s Reading state information... 952s 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. 953s sh: Attempting to set up Debian/Ubuntu apt sources automatically 953s sh: Distribution appears to be Ubuntu 955s Reading package lists... 955s Building dependency tree... 955s Reading state information... 956s eatmydata is already the newest version (131-1). 956s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 957s Reading package lists... 957s Building dependency tree... 957s Reading state information... 958s dbus is already the newest version (1.14.10-4ubuntu1). 958s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 958s Reading package lists... 958s Building dependency tree... 958s Reading state information... 960s rng-tools-debian is already the newest version (2.4). 960s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 960s Reading package lists... 960s Building dependency tree... 960s Reading state information... 961s The following packages will be REMOVED: 961s cloud-init* python3-configobj* python3-debconf* 962s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 962s After this operation, 3252 kB disk space will be freed. 962s (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 ... 75860 files and directories currently installed.) 962s Removing cloud-init (24.1.1-0ubuntu1) ... 963s Removing python3-configobj (5.0.8-3) ... 963s Removing python3-debconf (1.5.86) ... 963s Processing triggers for man-db (2.12.0-3) ... 964s (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 ... 75471 files and directories currently installed.) 964s Purging configuration files for cloud-init (24.1.1-0ubuntu1) ... 966s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 966s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 966s invoke-rc.d: policy-rc.d denied execution of try-restart. 966s Reading package lists... 967s Building dependency tree... 967s Reading state information... 968s linux-generic is already the newest version (6.8.0-11.11+1). 968s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 968s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 968s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 968s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 973s Reading package lists... 973s Reading package lists... 974s Building dependency tree... 974s Reading state information... 975s Calculating upgrade... 975s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 976s Reading package lists... 976s Building dependency tree... 976s Reading state information... 977s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 977s autopkgtest [11:40:43]: rebooting testbed after setup commands that affected boot 1148s Reading package lists... 1149s Building dependency tree... 1149s Reading state information... 1149s Starting pkgProblemResolver with broken count: 0 1149s Starting 2 pkgProblemResolver with broken count: 0 1149s Done 1150s The following additional packages will be installed: 1150s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 1150s libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgirepository-2.0-0 libgl1 1150s libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 1150s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17 1150s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 1150s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 1150s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 1150s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 1150s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 1150s Suggested packages: 1150s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 1150s Recommended packages: 1150s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 1150s xfonts-base 1150s The following NEW packages will be installed: 1150s autopkgtest-satdep dbus-x11 desktop-file-utils gnome-desktop-testing 1150s libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 1150s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 1150s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 1150s libllvm17 libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 1150s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 1150s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 1150s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 1150s python3-dbusmock python3-packaging x11-common x11-xkb-utils xserver-common 1150s xvfb 1150s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 1150s Need to get 38.7 MB/38.7 MB of archives. 1150s After this operation, 194 MB of additional disk space will be used. 1150s Get:1 /tmp/autopkgtest.IsBVRK/3-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1151s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 dbus-x11 arm64 1.14.10-4ubuntu1 [23.2 kB] 1151s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 desktop-file-utils arm64 0.26-1ubuntu5 [53.5 kB] 1151s Get:4 http://ftpmaster.internal/ubuntu noble/universe arm64 gnome-desktop-testing arm64 2021.1-3 [15.7 kB] 1151s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-amdgpu1 arm64 2.4.120-2 [20.4 kB] 1151s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-nouveau2 arm64 2.4.120-2 [17.8 kB] 1151s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-radeon1 arm64 2.4.120-2 [20.9 kB] 1151s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libfontenc1 arm64 1:1.1.8-1 [13.9 kB] 1151s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libgirepository-2.0-0 arm64 2.79.2-1~ubuntu1 [71.5 kB] 1151s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libvulkan1 arm64 1.3.275.0-1 [150 kB] 1151s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 libglapi-mesa arm64 24.0.1-1ubuntu1 [57.8 kB] 1151s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 libllvm17 arm64 1:17.0.6-5build1 [25.0 MB] 1153s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri3-0 arm64 1.15-1 [7108 B] 1153s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1-mesa-dri arm64 24.0.1-1ubuntu1 [8226 kB] 1153s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libglib2.0-bin arm64 2.79.2-1~ubuntu1 [97.1 kB] 1153s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 1153s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libglib2.0-dev-bin arm64 2.79.2-1~ubuntu1 [210 kB] 1153s Get:18 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-dbusmock all 0.31.1-1 [85.5 kB] 1153s Get:19 http://ftpmaster.internal/ubuntu noble/universe arm64 libglib2.0-tests arm64 2.79.2-1~ubuntu1 [2053 kB] 1153s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libx11-xcb1 arm64 2:1.8.7-1 [7836 B] 1153s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri2-0 arm64 1.15-1 [7244 B] 1153s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-glx0 arm64 1.15-1 [25.2 kB] 1153s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-present0 arm64 1.15-1 [5732 B] 1153s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-randr0 arm64 1.15-1 [18.2 kB] 1153s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-shm0 arm64 1.15-1 [5780 B] 1153s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-sync1 arm64 1.15-1 [9412 B] 1153s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-xfixes0 arm64 1.15-1 [10.3 kB] 1153s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libxfixes3 arm64 1:6.0.0-2 [11.0 kB] 1153s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libxshmfence1 arm64 1.3-1build4 [5444 B] 1153s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 libxxf86vm1 arm64 1:1.1.4-1build3 [10.3 kB] 1153s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 libglx-mesa0 arm64 24.0.1-1ubuntu1 [166 kB] 1153s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] 1153s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 libice6 arm64 2:1.0.10-1build2 [41.7 kB] 1153s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libpixman-1-0 arm64 0.42.2-1 [193 kB] 1153s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libsm6 arm64 2:1.2.3-1build2 [16.1 kB] 1153s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libunwind8 arm64 1.6.2-3 [55.1 kB] 1153s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libxt6 arm64 1:1.2.1-1.1 [167 kB] 1153s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libxmu6 arm64 2:1.1.3-3 [48.9 kB] 1153s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 libxpm4 arm64 1:3.5.17-1 [34.5 kB] 1153s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libxaw7 arm64 2:1.0.14-1 [184 kB] 1153s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libxfont2 arm64 1:2.0.6-1 [88.8 kB] 1153s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libxkbfile1 arm64 1:1.1.0-1build3 [71.2 kB] 1153s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libxrender1 arm64 1:0.9.10-1.1 [19.1 kB] 1153s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libxrandr2 arm64 2:1.5.2-2 [19.6 kB] 1153s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 x11-xkb-utils arm64 7.7+8 [165 kB] 1153s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 1153s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 libglvnd0 arm64 1.7.0-1 [60.0 kB] 1153s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libglx0 arm64 1.7.0-1 [32.4 kB] 1153s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1 arm64 1.7.0-1 [107 kB] 1153s Get:50 http://ftpmaster.internal/ubuntu noble/universe arm64 xvfb arm64 2:21.1.11-2ubuntu1 [871 kB] 1154s Fetched 38.7 MB in 3s (12.2 MB/s) 1154s Selecting previously unselected package dbus-x11. 1154s (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 ... 75416 files and directories currently installed.) 1154s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu1_arm64.deb ... 1154s Unpacking dbus-x11 (1.14.10-4ubuntu1) ... 1154s Selecting previously unselected package desktop-file-utils. 1154s Preparing to unpack .../01-desktop-file-utils_0.26-1ubuntu5_arm64.deb ... 1154s Unpacking desktop-file-utils (0.26-1ubuntu5) ... 1154s Selecting previously unselected package gnome-desktop-testing. 1155s Preparing to unpack .../02-gnome-desktop-testing_2021.1-3_arm64.deb ... 1155s Unpacking gnome-desktop-testing (2021.1-3) ... 1155s Selecting previously unselected package libdrm-amdgpu1:arm64. 1155s Preparing to unpack .../03-libdrm-amdgpu1_2.4.120-2_arm64.deb ... 1155s Unpacking libdrm-amdgpu1:arm64 (2.4.120-2) ... 1155s Selecting previously unselected package libdrm-nouveau2:arm64. 1155s Preparing to unpack .../04-libdrm-nouveau2_2.4.120-2_arm64.deb ... 1155s Unpacking libdrm-nouveau2:arm64 (2.4.120-2) ... 1155s Selecting previously unselected package libdrm-radeon1:arm64. 1155s Preparing to unpack .../05-libdrm-radeon1_2.4.120-2_arm64.deb ... 1155s Unpacking libdrm-radeon1:arm64 (2.4.120-2) ... 1155s Selecting previously unselected package libfontenc1:arm64. 1155s Preparing to unpack .../06-libfontenc1_1%3a1.1.8-1_arm64.deb ... 1155s Unpacking libfontenc1:arm64 (1:1.1.8-1) ... 1155s Selecting previously unselected package libgirepository-2.0-0:arm64. 1155s Preparing to unpack .../07-libgirepository-2.0-0_2.79.2-1~ubuntu1_arm64.deb ... 1155s Unpacking libgirepository-2.0-0:arm64 (2.79.2-1~ubuntu1) ... 1155s Selecting previously unselected package libvulkan1:arm64. 1155s Preparing to unpack .../08-libvulkan1_1.3.275.0-1_arm64.deb ... 1155s Unpacking libvulkan1:arm64 (1.3.275.0-1) ... 1155s Selecting previously unselected package libglapi-mesa:arm64. 1155s Preparing to unpack .../09-libglapi-mesa_24.0.1-1ubuntu1_arm64.deb ... 1155s Unpacking libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 1155s Selecting previously unselected package libllvm17:arm64. 1155s Preparing to unpack .../10-libllvm17_1%3a17.0.6-5build1_arm64.deb ... 1155s Unpacking libllvm17:arm64 (1:17.0.6-5build1) ... 1156s Selecting previously unselected package libxcb-dri3-0:arm64. 1156s Preparing to unpack .../11-libxcb-dri3-0_1.15-1_arm64.deb ... 1156s Unpacking libxcb-dri3-0:arm64 (1.15-1) ... 1156s Selecting previously unselected package libgl1-mesa-dri:arm64. 1156s Preparing to unpack .../12-libgl1-mesa-dri_24.0.1-1ubuntu1_arm64.deb ... 1156s Unpacking libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 1156s Selecting previously unselected package libglib2.0-bin. 1156s Preparing to unpack .../13-libglib2.0-bin_2.79.2-1~ubuntu1_arm64.deb ... 1156s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 1157s Selecting previously unselected package python3-packaging. 1157s Preparing to unpack .../14-python3-packaging_23.2-1_all.deb ... 1157s Unpacking python3-packaging (23.2-1) ... 1157s Selecting previously unselected package libglib2.0-dev-bin. 1157s Preparing to unpack .../15-libglib2.0-dev-bin_2.79.2-1~ubuntu1_arm64.deb ... 1157s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 1157s Selecting previously unselected package python3-dbusmock. 1157s Preparing to unpack .../16-python3-dbusmock_0.31.1-1_all.deb ... 1157s Unpacking python3-dbusmock (0.31.1-1) ... 1157s Selecting previously unselected package libglib2.0-tests. 1157s Preparing to unpack .../17-libglib2.0-tests_2.79.2-1~ubuntu1_arm64.deb ... 1157s Unpacking libglib2.0-tests (2.79.2-1~ubuntu1) ... 1157s Selecting previously unselected package libx11-xcb1:arm64. 1157s Preparing to unpack .../18-libx11-xcb1_2%3a1.8.7-1_arm64.deb ... 1157s Unpacking libx11-xcb1:arm64 (2:1.8.7-1) ... 1157s Selecting previously unselected package libxcb-dri2-0:arm64. 1157s Preparing to unpack .../19-libxcb-dri2-0_1.15-1_arm64.deb ... 1157s Unpacking libxcb-dri2-0:arm64 (1.15-1) ... 1157s Selecting previously unselected package libxcb-glx0:arm64. 1157s Preparing to unpack .../20-libxcb-glx0_1.15-1_arm64.deb ... 1157s Unpacking libxcb-glx0:arm64 (1.15-1) ... 1157s Selecting previously unselected package libxcb-present0:arm64. 1157s Preparing to unpack .../21-libxcb-present0_1.15-1_arm64.deb ... 1157s Unpacking libxcb-present0:arm64 (1.15-1) ... 1157s Selecting previously unselected package libxcb-randr0:arm64. 1157s Preparing to unpack .../22-libxcb-randr0_1.15-1_arm64.deb ... 1157s Unpacking libxcb-randr0:arm64 (1.15-1) ... 1158s Selecting previously unselected package libxcb-shm0:arm64. 1158s Preparing to unpack .../23-libxcb-shm0_1.15-1_arm64.deb ... 1158s Unpacking libxcb-shm0:arm64 (1.15-1) ... 1158s Selecting previously unselected package libxcb-sync1:arm64. 1158s Preparing to unpack .../24-libxcb-sync1_1.15-1_arm64.deb ... 1158s Unpacking libxcb-sync1:arm64 (1.15-1) ... 1158s Selecting previously unselected package libxcb-xfixes0:arm64. 1158s Preparing to unpack .../25-libxcb-xfixes0_1.15-1_arm64.deb ... 1158s Unpacking libxcb-xfixes0:arm64 (1.15-1) ... 1158s Selecting previously unselected package libxfixes3:arm64. 1158s Preparing to unpack .../26-libxfixes3_1%3a6.0.0-2_arm64.deb ... 1158s Unpacking libxfixes3:arm64 (1:6.0.0-2) ... 1158s Selecting previously unselected package libxshmfence1:arm64. 1158s Preparing to unpack .../27-libxshmfence1_1.3-1build4_arm64.deb ... 1158s Unpacking libxshmfence1:arm64 (1.3-1build4) ... 1158s Selecting previously unselected package libxxf86vm1:arm64. 1158s Preparing to unpack .../28-libxxf86vm1_1%3a1.1.4-1build3_arm64.deb ... 1158s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build3) ... 1158s Selecting previously unselected package libglx-mesa0:arm64. 1158s Preparing to unpack .../29-libglx-mesa0_24.0.1-1ubuntu1_arm64.deb ... 1158s Unpacking libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 1158s Selecting previously unselected package x11-common. 1158s Preparing to unpack .../30-x11-common_1%3a7.7+23ubuntu2_all.deb ... 1158s Unpacking x11-common (1:7.7+23ubuntu2) ... 1158s Selecting previously unselected package libice6:arm64. 1158s Preparing to unpack .../31-libice6_2%3a1.0.10-1build2_arm64.deb ... 1158s Unpacking libice6:arm64 (2:1.0.10-1build2) ... 1158s Selecting previously unselected package libpixman-1-0:arm64. 1158s Preparing to unpack .../32-libpixman-1-0_0.42.2-1_arm64.deb ... 1158s Unpacking libpixman-1-0:arm64 (0.42.2-1) ... 1158s Selecting previously unselected package libsm6:arm64. 1158s Preparing to unpack .../33-libsm6_2%3a1.2.3-1build2_arm64.deb ... 1158s Unpacking libsm6:arm64 (2:1.2.3-1build2) ... 1158s Selecting previously unselected package libunwind8:arm64. 1158s Preparing to unpack .../34-libunwind8_1.6.2-3_arm64.deb ... 1158s Unpacking libunwind8:arm64 (1.6.2-3) ... 1158s Selecting previously unselected package libxt6:arm64. 1158s Preparing to unpack .../35-libxt6_1%3a1.2.1-1.1_arm64.deb ... 1158s Unpacking libxt6:arm64 (1:1.2.1-1.1) ... 1158s Selecting previously unselected package libxmu6:arm64. 1158s Preparing to unpack .../36-libxmu6_2%3a1.1.3-3_arm64.deb ... 1158s Unpacking libxmu6:arm64 (2:1.1.3-3) ... 1158s Selecting previously unselected package libxpm4:arm64. 1158s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1_arm64.deb ... 1158s Unpacking libxpm4:arm64 (1:3.5.17-1) ... 1158s Selecting previously unselected package libxaw7:arm64. 1158s Preparing to unpack .../38-libxaw7_2%3a1.0.14-1_arm64.deb ... 1158s Unpacking libxaw7:arm64 (2:1.0.14-1) ... 1158s Selecting previously unselected package libxfont2:arm64. 1158s Preparing to unpack .../39-libxfont2_1%3a2.0.6-1_arm64.deb ... 1158s Unpacking libxfont2:arm64 (1:2.0.6-1) ... 1158s Selecting previously unselected package libxkbfile1:arm64. 1158s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build3_arm64.deb ... 1158s Unpacking libxkbfile1:arm64 (1:1.1.0-1build3) ... 1158s Selecting previously unselected package libxrender1:arm64. 1158s Preparing to unpack .../41-libxrender1_1%3a0.9.10-1.1_arm64.deb ... 1158s Unpacking libxrender1:arm64 (1:0.9.10-1.1) ... 1158s Selecting previously unselected package libxrandr2:arm64. 1158s Preparing to unpack .../42-libxrandr2_2%3a1.5.2-2_arm64.deb ... 1158s Unpacking libxrandr2:arm64 (2:1.5.2-2) ... 1159s Selecting previously unselected package x11-xkb-utils. 1159s Preparing to unpack .../43-x11-xkb-utils_7.7+8_arm64.deb ... 1159s Unpacking x11-xkb-utils (7.7+8) ... 1159s Selecting previously unselected package xserver-common. 1159s Preparing to unpack .../44-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 1159s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 1159s Selecting previously unselected package libglvnd0:arm64. 1159s Preparing to unpack .../45-libglvnd0_1.7.0-1_arm64.deb ... 1159s Unpacking libglvnd0:arm64 (1.7.0-1) ... 1159s Selecting previously unselected package libglx0:arm64. 1159s Preparing to unpack .../46-libglx0_1.7.0-1_arm64.deb ... 1159s Unpacking libglx0:arm64 (1.7.0-1) ... 1159s Selecting previously unselected package libgl1:arm64. 1159s Preparing to unpack .../47-libgl1_1.7.0-1_arm64.deb ... 1159s Unpacking libgl1:arm64 (1.7.0-1) ... 1159s Selecting previously unselected package xvfb. 1159s Preparing to unpack .../48-xvfb_2%3a21.1.11-2ubuntu1_arm64.deb ... 1159s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 1159s Selecting previously unselected package autopkgtest-satdep. 1159s Preparing to unpack .../49-3-autopkgtest-satdep.deb ... 1159s Unpacking autopkgtest-satdep (0) ... 1159s Setting up gnome-desktop-testing (2021.1-3) ... 1159s Setting up libxcb-dri3-0:arm64 (1.15-1) ... 1159s Setting up libpixman-1-0:arm64 (0.42.2-1) ... 1159s Setting up libx11-xcb1:arm64 (2:1.8.7-1) ... 1159s Setting up libdrm-nouveau2:arm64 (2.4.120-2) ... 1159s Setting up libxcb-xfixes0:arm64 (1.15-1) ... 1159s Setting up desktop-file-utils (0.26-1ubuntu5) ... 1159s Setting up libxpm4:arm64 (1:3.5.17-1) ... 1159s Setting up libxrender1:arm64 (1:0.9.10-1.1) ... 1159s Setting up libgirepository-2.0-0:arm64 (2.79.2-1~ubuntu1) ... 1159s Setting up libdrm-radeon1:arm64 (2.4.120-2) ... 1159s Setting up libglvnd0:arm64 (1.7.0-1) ... 1159s Setting up libxcb-glx0:arm64 (1.15-1) ... 1159s Setting up x11-common (1:7.7+23ubuntu2) ... 1160s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 1160s Setting up libxcb-shm0:arm64 (1.15-1) ... 1160s Setting up libunwind8:arm64 (1.6.2-3) ... 1160s Setting up libxxf86vm1:arm64 (1:1.1.4-1build3) ... 1160s Setting up libxcb-present0:arm64 (1.15-1) ... 1160s Setting up libfontenc1:arm64 (1:1.1.8-1) ... 1160s Setting up python3-packaging (23.2-1) ... 1160s Setting up libxfixes3:arm64 (1:6.0.0-2) ... 1160s Setting up libxcb-sync1:arm64 (1.15-1) ... 1160s Setting up libxrandr2:arm64 (2:1.5.2-2) ... 1160s Setting up libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 1160s Setting up libvulkan1:arm64 (1.3.275.0-1) ... 1160s Setting up libxcb-dri2-0:arm64 (1.15-1) ... 1160s Setting up libxshmfence1:arm64 (1.3-1build4) ... 1160s Setting up dbus-x11 (1.14.10-4ubuntu1) ... 1160s Setting up libxcb-randr0:arm64 (1.15-1) ... 1160s Setting up libxkbfile1:arm64 (1:1.1.0-1build3) ... 1160s Setting up libllvm17:arm64 (1:17.0.6-5build1) ... 1160s Setting up libxfont2:arm64 (1:2.0.6-1) ... 1160s Setting up libdrm-amdgpu1:arm64 (2.4.120-2) ... 1160s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 1161s Setting up libice6:arm64 (2:1.0.10-1build2) ... 1161s Setting up libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 1161s Setting up python3-dbusmock (0.31.1-1) ... 1161s Setting up libglib2.0-tests (2.79.2-1~ubuntu1) ... 1161s Setting up libsm6:arm64 (2:1.2.3-1build2) ... 1161s Setting up libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 1161s Setting up libglx0:arm64 (1.7.0-1) ... 1161s Setting up libgl1:arm64 (1.7.0-1) ... 1161s Setting up libxt6:arm64 (1:1.2.1-1.1) ... 1161s Setting up libxmu6:arm64 (2:1.1.3-3) ... 1161s Setting up libxaw7:arm64 (2:1.0.14-1) ... 1161s Setting up x11-xkb-utils (7.7+8) ... 1161s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 1161s Setting up xvfb (2:21.1.11-2ubuntu1) ... 1161s Setting up autopkgtest-satdep (0) ... 1161s Processing triggers for man-db (2.12.0-3) ... 1162s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1168s (Reading database ... 76899 files and directories currently installed.) 1168s Removing autopkgtest-satdep (0) ... 1182s autopkgtest [11:44:08]: test installed-tests: [----------------------- 1182s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 1182s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1182s group entry: ubuntu:x:1000: 1182s Environment: 1182s ADTTMP=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp 1182s ADT_ARTIFACTS=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts 1182s ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1 1182s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts 1182s AUTOPKGTEST_TESTBED_ARCH=arm64 1182s AUTOPKGTEST_TEST_ARCH=arm64 1182s AUTOPKGTEST_TMP=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp 1182s DEBIAN_FRONTEND=noninteractive 1182s DEB_BUILD_OPTIONS=parallel=1 1182s GIO_USE_VFS=local 1182s GIO_USE_VOLUME_MONITOR=unix 1182s HOME=/home/ubuntu 1182s LANG=C.UTF-8 1182s LOGNAME=ubuntu 1182s MAIL=/var/mail/ubuntu 1182s OLDPWD=/home/ubuntu 1182s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1182s PWD=/tmp/autopkgtest.IsBVRK/build.Tni/src 1182s SHELL=/bin/bash 1182s SHLVL=1 1182s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests 1182s SUDO_GID=1000 1182s SUDO_UID=1000 1182s SUDO_USER=ubuntu 1182s TERM=linux 1182s USER=ubuntu 1182s XDG_RUNTIME_DIR=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp 1182s http_proxy=http://squid.internal:3128 1182s https_proxy=http://squid.internal:3128 1182s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 1182s run-with-locales: de_DE=ISO-8859-1... 1182s Character set: ISO-8859-1 1182s Source file: de_DE 1182s Output: /tmp/tmp.7kkLm1FXIc/de_DE 1183s run-with-locales: de_DE.utf8... 1183s Character set: UTF-8 1183s Source file: de_DE 1183s Output: /tmp/tmp.7kkLm1FXIc/de_DE.utf8 1188s run-with-locales: de_DE@euro.utf8... 1188s Character set: UTF-8 1188s Source file: de_DE@euro 1188s Output: /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8 1193s run-with-locales: el_GR.utf8... 1193s Character set: UTF-8 1193s Source file: el_GR 1193s Output: /tmp/tmp.7kkLm1FXIc/el_GR.utf8 1199s run-with-locales: en_GB=ISO-8859-1... 1199s Character set: ISO-8859-1 1199s Source file: en_GB 1199s Output: /tmp/tmp.7kkLm1FXIc/en_GB 1200s run-with-locales: en_GB.utf8... 1200s Character set: UTF-8 1200s Source file: en_GB 1200s Output: /tmp/tmp.7kkLm1FXIc/en_GB.utf8 1206s run-with-locales: en_US=ISO-8859-1... 1206s Character set: ISO-8859-1 1206s Source file: en_US 1206s Output: /tmp/tmp.7kkLm1FXIc/en_US 1206s run-with-locales: en_US.utf8... 1206s Character set: UTF-8 1206s Source file: en_US 1206s Output: /tmp/tmp.7kkLm1FXIc/en_US.utf8 1212s run-with-locales: es_ES.utf8... 1212s Character set: UTF-8 1212s Source file: es_ES 1212s Output: /tmp/tmp.7kkLm1FXIc/es_ES.utf8 1217s run-with-locales: fa_IR=UTF-8... 1217s Character set: UTF-8 1217s Source file: fa_IR 1217s Output: /tmp/tmp.7kkLm1FXIc/fa_IR 1223s run-with-locales: fa_IR.utf8... 1223s Character set: UTF-8 1223s Source file: fa_IR 1223s Output: /tmp/tmp.7kkLm1FXIc/fa_IR.utf8 1228s run-with-locales: fr_FR.utf8... 1228s Character set: UTF-8 1228s Source file: fr_FR 1228s Output: /tmp/tmp.7kkLm1FXIc/fr_FR.utf8 1233s run-with-locales: hr_HR.utf8... 1233s Character set: UTF-8 1233s Source file: hr_HR 1233s Output: /tmp/tmp.7kkLm1FXIc/hr_HR.utf8 1239s run-with-locales: ja_JP.utf8... 1239s Character set: UTF-8 1239s Source file: ja_JP 1239s Output: /tmp/tmp.7kkLm1FXIc/ja_JP.utf8 1241s run-with-locales: ja_JP.EUC-JP... 1241s Character set: EUC-JP 1241s Source file: ja_JP 1241s Output: /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp 1242s run-with-locales: lt_LT.utf8... 1242s Character set: UTF-8 1242s Source file: lt_LT 1242s Output: /tmp/tmp.7kkLm1FXIc/lt_LT.utf8 1247s run-with-locales: pl_PL=ISO-8859-2... 1247s Character set: ISO-8859-2 1247s Source file: pl_PL 1247s Output: /tmp/tmp.7kkLm1FXIc/pl_PL 1248s run-with-locales: pl_PL.ISO-8859-2... 1248s Character set: ISO-8859-2 1248s Source file: pl_PL 1248s Output: /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592 1249s run-with-locales: pl_PL.utf8... 1249s Character set: UTF-8 1249s Source file: pl_PL 1249s Output: /tmp/tmp.7kkLm1FXIc/pl_PL.utf8 1254s run-with-locales: ru_RU=ISO-8859-5... 1254s Character set: ISO-8859-5 1254s Source file: ru_RU 1254s Output: /tmp/tmp.7kkLm1FXIc/ru_RU 1255s run-with-locales: ru_RU.utf8... 1255s Character set: UTF-8 1255s Source file: ru_RU 1255s Output: /tmp/tmp.7kkLm1FXIc/ru_RU.utf8 1260s run-with-locales: sr_RS=UTF-8... 1260s Character set: UTF-8 1260s Source file: sr_RS 1260s Output: /tmp/tmp.7kkLm1FXIc/sr_RS 1265s run-with-locales: sr_RS@latin=UTF-8... 1265s Character set: UTF-8 1265s Source file: sr_RS@latin 1265s Output: /tmp/tmp.7kkLm1FXIc/sr_RS@latin 1270s run-with-locales: sv_SE=ISO-8859-1... 1270s Character set: ISO-8859-1 1270s Source file: sv_SE 1270s Output: /tmp/tmp.7kkLm1FXIc/sv_SE 1271s run-with-locales: sv_SE.utf8... 1271s Character set: UTF-8 1271s Source file: sv_SE 1271s Output: /tmp/tmp.7kkLm1FXIc/sv_SE.utf8 1277s run-with-locales: tr_TR=ISO-8859-9... 1277s Character set: ISO-8859-9 1277s Source file: tr_TR 1277s Output: /tmp/tmp.7kkLm1FXIc/tr_TR 1277s run-with-locales: tr_TR.utf8... 1277s Character set: UTF-8 1277s Source file: tr_TR 1277s Output: /tmp/tmp.7kkLm1FXIc/tr_TR.utf8 1282s run-with-locales: tt_RU=UTF-8... 1282s Character set: UTF-8 1282s Source file: tt_RU 1282s Output: /tmp/tmp.7kkLm1FXIc/tt_RU 1288s run-with-locales: tt_RU.utf8... 1288s Character set: UTF-8 1288s Source file: tt_RU 1288s Output: /tmp/tmp.7kkLm1FXIc/tt_RU.utf8 1293s run-with-locales: tt_RU@iqtelif=UTF-8... 1293s Character set: UTF-8 1293s Source file: tt_RU@iqtelif 1293s Output: /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif 1299s /tmp/tmp.7kkLm1FXIc 1299s /tmp/tmp.7kkLm1FXIc/en_US 1299s /tmp/tmp.7kkLm1FXIc/en_US/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/en_US/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/en_US/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/en_US/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/en_US/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/en_US/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/en_US/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/en_US/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/en_US/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/en_US/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/en_US/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/en_US/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/de_DE 1299s /tmp/tmp.7kkLm1FXIc/de_DE/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/de_DE/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/de_DE/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/de_DE/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/de_DE/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/de_DE/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/de_DE/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/de_DE/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/de_DE/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/de_DE/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/de_DE/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/de_DE/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/tr_TR.utf8 1299s /tmp/tmp.7kkLm1FXIc/tr_TR.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/tr_TR.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/tr_TR.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/tr_TR.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/tr_TR.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/tr_TR.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/tr_TR.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/tr_TR.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/tr_TR.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/tr_TR.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/tr_TR.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/tr_TR.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/en_GB.utf8 1299s /tmp/tmp.7kkLm1FXIc/en_GB.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/en_GB.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/en_GB.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/en_GB.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/en_GB.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/en_GB.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/en_GB.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/en_GB.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/en_GB.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/en_GB.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/en_GB.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/en_GB.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/sr_RS 1299s /tmp/tmp.7kkLm1FXIc/sr_RS/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/sr_RS/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/sr_RS/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/sr_RS/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/sr_RS/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/sr_RS/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/sr_RS/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/sr_RS/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/sr_RS/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/sr_RS/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/sr_RS/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/sr_RS/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/sr_RS@latin 1299s /tmp/tmp.7kkLm1FXIc/sr_RS@latin/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/sr_RS@latin/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/sr_RS@latin/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/sr_RS@latin/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/sr_RS@latin/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/sr_RS@latin/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/sr_RS@latin/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/sr_RS@latin/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/sr_RS@latin/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/sr_RS@latin/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/sr_RS@latin/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/sr_RS@latin/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/fa_IR 1299s /tmp/tmp.7kkLm1FXIc/fa_IR/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/fa_IR/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/fa_IR/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/fa_IR/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/fa_IR/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/fa_IR/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/fa_IR/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/fa_IR/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/fa_IR/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/fa_IR/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/fa_IR/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/fa_IR/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/fa_IR.utf8 1299s /tmp/tmp.7kkLm1FXIc/fa_IR.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/fa_IR.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/fa_IR.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/fa_IR.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/fa_IR.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/fa_IR.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/fa_IR.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/fa_IR.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/fa_IR.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/fa_IR.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/fa_IR.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/fa_IR.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/fr_FR.utf8 1299s /tmp/tmp.7kkLm1FXIc/fr_FR.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/fr_FR.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/fr_FR.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/fr_FR.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/fr_FR.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/fr_FR.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/fr_FR.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/fr_FR.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/fr_FR.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/fr_FR.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/fr_FR.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/fr_FR.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.eucjp/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/es_ES.utf8 1299s /tmp/tmp.7kkLm1FXIc/es_ES.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/es_ES.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/es_ES.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/es_ES.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/es_ES.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/es_ES.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/es_ES.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/es_ES.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/es_ES.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/es_ES.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/es_ES.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/es_ES.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/el_GR.utf8 1299s /tmp/tmp.7kkLm1FXIc/el_GR.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/el_GR.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/el_GR.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/el_GR.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/el_GR.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/el_GR.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/el_GR.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/el_GR.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/el_GR.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/el_GR.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/el_GR.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/el_GR.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/lt_LT.utf8 1299s /tmp/tmp.7kkLm1FXIc/lt_LT.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/lt_LT.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/lt_LT.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/lt_LT.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/lt_LT.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/lt_LT.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/lt_LT.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/lt_LT.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/lt_LT.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/lt_LT.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/lt_LT.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/lt_LT.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/ru_RU.utf8 1299s /tmp/tmp.7kkLm1FXIc/ru_RU.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/ru_RU.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/ru_RU.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/ru_RU.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/ru_RU.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/ru_RU.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/ru_RU.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/ru_RU.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/ru_RU.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/ru_RU.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/ru_RU.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/ru_RU.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8 1299s /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/de_DE@euro.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/en_GB 1299s /tmp/tmp.7kkLm1FXIc/en_GB/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/en_GB/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/en_GB/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/en_GB/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/en_GB/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/en_GB/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/en_GB/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/en_GB/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/en_GB/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/en_GB/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/en_GB/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/en_GB/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/hr_HR.utf8 1299s /tmp/tmp.7kkLm1FXIc/hr_HR.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/hr_HR.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/hr_HR.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/hr_HR.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/hr_HR.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/hr_HR.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/hr_HR.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/hr_HR.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/hr_HR.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/hr_HR.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/hr_HR.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/hr_HR.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.utf8 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/ru_RU 1299s /tmp/tmp.7kkLm1FXIc/ru_RU/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/ru_RU/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/ru_RU/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/ru_RU/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/ru_RU/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/ru_RU/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/ru_RU/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/ru_RU/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/ru_RU/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/ru_RU/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/ru_RU/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/ru_RU/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/sv_SE 1299s /tmp/tmp.7kkLm1FXIc/sv_SE/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/sv_SE/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/sv_SE/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/sv_SE/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/sv_SE/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/sv_SE/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/sv_SE/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/sv_SE/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/sv_SE/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/sv_SE/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/sv_SE/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/sv_SE/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/en_US.utf8 1299s /tmp/tmp.7kkLm1FXIc/en_US.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/en_US.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/en_US.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/en_US.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/en_US.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/en_US.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/en_US.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/en_US.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/en_US.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/en_US.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/en_US.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/en_US.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/sv_SE.utf8 1299s /tmp/tmp.7kkLm1FXIc/sv_SE.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/sv_SE.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/sv_SE.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/sv_SE.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/sv_SE.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/sv_SE.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/sv_SE.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/sv_SE.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/sv_SE.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/sv_SE.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/sv_SE.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/sv_SE.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/de_DE.utf8 1299s /tmp/tmp.7kkLm1FXIc/de_DE.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/de_DE.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/de_DE.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/de_DE.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/de_DE.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/de_DE.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/de_DE.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/de_DE.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/de_DE.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/de_DE.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/de_DE.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/de_DE.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/tr_TR 1299s /tmp/tmp.7kkLm1FXIc/tr_TR/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/tr_TR/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/tr_TR/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/tr_TR/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/tr_TR/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/tr_TR/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/tr_TR/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/tr_TR/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/tr_TR/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/tr_TR/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/tr_TR/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/tr_TR/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/pl_PL.iso88592/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/tt_RU.utf8 1299s /tmp/tmp.7kkLm1FXIc/tt_RU.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/tt_RU.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/tt_RU.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/tt_RU.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/tt_RU.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/tt_RU.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/tt_RU.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/tt_RU.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/tt_RU.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/tt_RU.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/tt_RU.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/tt_RU.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/pl_PL 1299s /tmp/tmp.7kkLm1FXIc/pl_PL/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/pl_PL/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/pl_PL/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/pl_PL/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/pl_PL/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/pl_PL/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/pl_PL/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/pl_PL/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/pl_PL/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/pl_PL/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/pl_PL/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/pl_PL/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.utf8 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.utf8/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.utf8/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.utf8/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.utf8/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.utf8/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.utf8/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.utf8/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.utf8/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.utf8/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.utf8/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.utf8/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/ja_JP.utf8/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/tt_RU 1299s /tmp/tmp.7kkLm1FXIc/tt_RU/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/tt_RU/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/tt_RU/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/tt_RU/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/tt_RU/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/tt_RU/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/tt_RU/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/tt_RU/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/tt_RU/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/tt_RU/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/tt_RU/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/tt_RU/LC_TELEPHONE 1299s /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif 1299s /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif/LC_CTYPE 1299s /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif/LC_PAPER 1299s /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif/LC_COLLATE 1299s /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif/LC_IDENTIFICATION 1299s /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif/LC_MEASUREMENT 1299s /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif/LC_MONETARY 1299s /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif/LC_TIME 1299s /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif/LC_NAME 1299s /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif/LC_NUMERIC 1299s /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif/LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1299s /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif/LC_ADDRESS 1299s /tmp/tmp.7kkLm1FXIc/tt_RU@iqtelif/LC_TELEPHONE 1299s 1..315 1299s # Running test: glib/network-monitor-race.test 1299s TAP version 13 1299s # random seed: R02S51347b6bfcaaf8637e87f672753dc55d 1299s 1..1 1299s # Start of network-monitor tests 1299s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1301s ok 1 /network-monitor/create-in-thread 1301s # slow test /network-monitor/create-in-thread executed in 2.28 secs 1301s # End of network-monitor tests 1301s ok - glib/network-monitor-race.test 1301s # Running test: glib/thread-deprecated.test 1301s TAP version 13 1301s # random seed: R02Sd78c7f120e1346cb9d30ce758a2204da 1301s 1..6 1301s # Start of thread tests 1301s ok 1 /thread/mutex 1302s ok 2 /thread/static-rec-mutex 1304s # Executing: glib/thread-deprecated.test 1306s ok 3 /thread/static-private 1306s # slow test /thread/static-private executed in 4.40 secs 1309s # Executing: glib/thread-deprecated.test 1311s ok 4 /thread/static-rw-lock 1311s # slow test /thread/static-rw-lock executed in 5.00 secs 1311s ok 5 /thread/once 1314s # Executing: glib/thread-deprecated.test 1319s # Executing: glib/thread-deprecated.test 1321s ok 6 /thread/rerun-all 1321s # slow test /thread/rerun-all executed in 10.02 secs 1321s # End of thread tests 1321s ok - glib/thread-deprecated.test 1321s # Running test: glib/accumulator.test 1321s TAP version 13 1321s # random seed: R02S4870c2f851cab48b450e4c4aad30ab82 1321s 1..1 1321s # Start of gobject tests 1321s ok 1 /gobject/accumulator 1321s # End of gobject tests 1321s ok - glib/accumulator.test 1321s # Running test: glib/keyfile.test 1321s TAP version 13 1321s # random seed: R02S1e11c8be97a6e41896fdc31b6836c802 1321s 1..36 1321s # Start of keyfile tests 1321s ok 1 /keyfile/line-ends 1321s ok 2 /keyfile/whitespace 1321s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1321s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1321s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1321s ok 3 /keyfile/comments 1321s ok 4 /keyfile/listing 1321s ok 5 /keyfile/string 1321s ok 6 /keyfile/boolean 1321s ok 7 /keyfile/number 1321s ok 8 /keyfile/locale-string 1321s ok 9 /keyfile/lists 1321s ok 10 /keyfile/lists-set-get 1321s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1321s ok 11 /keyfile/group-remove 1321s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1321s ok 12 /keyfile/key-remove 1321s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1321s ok 13 /keyfile/groups 1321s ok 14 /keyfile/duplicate-keys 1321s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1321s ok 15 /keyfile/duplicate-groups 1321s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1321s ok 16 /keyfile/duplicate-groups2 1321s ok 17 /keyfile/group-names 1321s ok 18 /keyfile/key-names 1321s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1321s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1321s ok 19 /keyfile/reload 1321s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1321s ok 20 /keyfile/int64 1321s ok 21 /keyfile/load 1321s ok 22 /keyfile/save 1321s ok 23 /keyfile/load-fail 1321s ok 24 /keyfile/non-utf8 1321s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1321s ok 25 /keyfile/page-boundary 1321s ok 26 /keyfile/ref 1321s ok 27 /keyfile/replace-value 1321s ok 28 /keyfile/list-separator 1321s ok 29 /keyfile/empty-string 1321s ok 30 /keyfile/limbo 1321s # Testing invalid encoding ?non-UTF-8? 1321s # Testing invalid encoding ?UTF? 1321s # Testing invalid encoding ?UTF-9? 1321s ok 31 /keyfile/utf8 1321s ok 32 /keyfile/roundtrip 1321s ok 33 /keyfile/bytes 1321s ok 34 /keyfile/get-locale 1321s ok 35 /keyfile/free-when-not-last-ref 1321s # Start of locale-string tests 1321s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1321s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1321s ok 36 /keyfile/locale-string/multiple-loads 1321s # End of locale-string tests 1321s # End of keyfile tests 1321s ok - glib/keyfile.test 1321s # Running test: glib/option-argv0.test 1321s TAP version 13 1321s # random seed: R02S7995b5028033b1b8311ceed717633f1c 1321s 1..1 1321s # Start of option tests 1321s ok 1 /option/argv0 1321s # End of option tests 1321s ok - glib/option-argv0.test 1321s # Running test: glib/private.test 1321s TAP version 13 1321s # random seed: R02S977196093c9e5d39c6fc76397afc513c 1321s 1..8 1321s # Start of thread tests 1321s ok 1 /thread/private1 1322s ok 2 /thread/private2 1322s # slow test /thread/private2 executed in 1.11 secs 1322s ok 3 /thread/private3 1322s ok 4 /thread/staticprivate1 1322s ok 5 /thread/staticprivate2 1322s ok 6 /thread/staticprivate3 1324s ok 7 /thread/staticprivate4 1324s # slow test /thread/staticprivate4 executed in 1.11 secs 1324s ok 8 /thread/staticprivate5 1324s # End of thread tests 1324s ok - glib/private.test 1324s # Running test: glib/repository-search-paths.test 1324s TAP version 13 1324s # random seed: R02Sb1521da6a512ed215ff2be0875baeda8 1324s 1..4 1324s # Start of repository tests 1324s # Start of search-paths tests 1324s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_878UK2/repository/search-paths/default/.dirs/home 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_878UK2/repository/search-paths/default/.dirs/cache 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_878UK2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_878UK2/repository/search-paths/default/.dirs/system-config2 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_878UK2/repository/search-paths/default/.dirs/config 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_878UK2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_878UK2/repository/search-paths/default/.dirs/system-data2 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_878UK2/repository/search-paths/default/.dirs/data 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_878UK2/repository/search-paths/default/.dirs/state 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_878UK2/repository/search-paths/default/.dirs/runtime 1324s ok 1 /repository/search-paths/default 1324s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_878UK2/repository/search-paths/prepend/.dirs/home 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_878UK2/repository/search-paths/prepend/.dirs/cache 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_878UK2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_878UK2/repository/search-paths/prepend/.dirs/system-config2 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_878UK2/repository/search-paths/prepend/.dirs/config 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_878UK2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_878UK2/repository/search-paths/prepend/.dirs/system-data2 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_878UK2/repository/search-paths/prepend/.dirs/data 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_878UK2/repository/search-paths/prepend/.dirs/state 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_878UK2/repository/search-paths/prepend/.dirs/runtime 1324s ok 2 /repository/search-paths/prepend 1324s # End of search-paths tests 1324s # Start of library-paths tests 1324s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_878UK2/repository/library-paths/default/.dirs/home 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_878UK2/repository/library-paths/default/.dirs/cache 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_878UK2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_878UK2/repository/library-paths/default/.dirs/system-config2 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_878UK2/repository/library-paths/default/.dirs/config 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_878UK2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_878UK2/repository/library-paths/default/.dirs/system-data2 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_878UK2/repository/library-paths/default/.dirs/data 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_878UK2/repository/library-paths/default/.dirs/state 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_878UK2/repository/library-paths/default/.dirs/runtime 1324s ok 3 /repository/library-paths/default 1324s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_878UK2/repository/library-paths/prepend/.dirs/home 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_878UK2/repository/library-paths/prepend/.dirs/cache 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_878UK2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_878UK2/repository/library-paths/prepend/.dirs/system-config2 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_878UK2/repository/library-paths/prepend/.dirs/config 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_878UK2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_878UK2/repository/library-paths/prepend/.dirs/system-data2 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_878UK2/repository/library-paths/prepend/.dirs/data 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_878UK2/repository/library-paths/prepend/.dirs/state 1324s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_878UK2/repository/library-paths/prepend/.dirs/runtime 1324s ok 4 /repository/library-paths/prepend 1324s # End of library-paths tests 1324s # End of repository tests 1324s ok - glib/repository-search-paths.test 1324s # Running test: glib/mainloop.test 1324s TAP version 13 1324s # random seed: R02Sef6471563fce99fb07ac2e2f0426181a 1324s 1..45 1324s # Start of maincontext tests 1324s ok 1 /maincontext/basic 1324s # Add same-priority sources: 33 1324s # Find each source: 14 1324s # Remove in random order: 67 1324s ok 2 /maincontext/nsources_same_priority 1324s # Add different-priority sources: 30 1324s # Find each source: 14 1324s # Executing: glib/mainloop.test 1324s # Remove in random order: 79 1324s ok 3 /maincontext/nsources_different_priority 1324s # Add sources from threads: 338 1324s # Remove sources from threads: 80 1324s ok 4 /maincontext/nsources_threadpool 1324s ok 5 /maincontext/source_finalization 1324s # /maincontext/idle-once summary: Test g_idle_add_once() works 1324s ok 6 /maincontext/idle-once 1324s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1324s ok 7 /maincontext/timeout-once 1324s # Start of source_finalization_from_source tests 1324s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1324s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1324s ok 8 /maincontext/source_finalization_from_source/0 1324s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1324s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1324s ok 9 /maincontext/source_finalization_from_source/1 1324s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1324s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1324s ok 10 /maincontext/source_finalization_from_source/2 1324s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1324s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1324s ok 11 /maincontext/source_finalization_from_source/3 1324s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1324s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1324s ok 12 /maincontext/source_finalization_from_source/4 1324s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1324s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1324s ok 13 /maincontext/source_finalization_from_source/5 1324s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1324s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1324s ok 14 /maincontext/source_finalization_from_source/6 1324s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1324s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1324s ok 15 /maincontext/source_finalization_from_source/7 1324s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1324s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1324s ok 16 /maincontext/source_finalization_from_source/8 1324s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1324s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1324s ok 17 /maincontext/source_finalization_from_source/9 1324s # End of source_finalization_from_source tests 1324s # Start of source_finalization_from_dispatch tests 1324s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1324s ok 18 /maincontext/source_finalization_from_dispatch/0 1324s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1324s ok 19 /maincontext/source_finalization_from_dispatch/1 1324s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1324s ok 20 /maincontext/source_finalization_from_dispatch/2 1324s # End of source_finalization_from_dispatch tests 1324s # End of maincontext tests 1324s # Start of mainloop tests 1324s ok 21 /mainloop/basic 1324s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1324s ok 23 /mainloop/priorities 1325s ok 24 /mainloop/invoke 1325s # slow test /mainloop/invoke executed in 0.50 secs 1327s ok 25 /mainloop/child_sources 1327s # slow test /mainloop/child_sources executed in 1.19 secs 1328s ok 26 /mainloop/recursive_child_sources 1328s # slow test /mainloop/recursive_child_sources executed in 2.19 secs 1328s ok 27 /mainloop/recursive_loop_child_sources 1328s ok 28 /mainloop/swapping_child_sources 1328s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1328s ok 29 /mainloop/blocked_child_sources 1329s # Executing: glib/mainloop.test 1329s ok 30 /mainloop/source_time 1329s # slow test /mainloop/source_time executed in 1.00 secs 1329s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1329s ok 31 /mainloop/overflow 1330s ok 32 /mainloop/ready-time 1330s # slow test /mainloop/ready-time executed in 0.50 secs 1330s ok 33 /mainloop/wakeup 1330s ok 34 /mainloop/remove-invalid 1330s ok 35 /mainloop/unref-while-pending 1331s ok 36 /mainloop/unix-fd 1331s # slow test /mainloop/unix-fd executed in 1.48 secs 1331s ok 37 /mainloop/unix-fd-source 1331s ok 38 /mainloop/source-unix-fd-api 1332s ok 39 /mainloop/wait 1332s ok 40 /mainloop/unix-file-poll 1332s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1332s ok 41 /mainloop/unix-fd-priority 1332s ok 42 /mainloop/nfds 1332s ok 43 /mainloop/steal-fd 1332s # Start of ownerless-polling tests 1332s ok 44 /mainloop/ownerless-polling/attach-first 1332s ok 45 /mainloop/ownerless-polling/pop-first 1332s # End of ownerless-polling tests 1332s # End of mainloop tests 1332s ok - glib/mainloop.test 1332s # Running test: glib/gdbus-connection-flush.test 1332s TAP version 13 1332s # random seed: R02Se3bb2a6c113ae18c479a363a0e42073f 1332s 1..2 1332s # Start of gdbus tests 1332s # Start of connection tests 1332s # Start of flush tests 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/busy/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/busy/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/busy/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/busy/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/busy/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/busy/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/busy/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/busy/.dirs/runtime 1332s ok 1 /gdbus/connection/flush/busy 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/idle/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/idle/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/idle/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/idle/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/idle/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/idle/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/idle/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_I6IYK2/gdbus/connection/flush/idle/.dirs/runtime 1332s ok 2 /gdbus/connection/flush/idle 1332s # End of flush tests 1332s # End of connection tests 1332s # End of gdbus tests 1332s ok - glib/gdbus-connection-flush.test 1332s # Running test: glib/cxx-03.test 1332s TAP version 13 1332s # random seed: R02S29448ce95818a4be82bce420459d9312 1332s 1..2 1332s # Start of gtask tests 1332s # 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. 1332s ok 1 /gtask/name 1332s # Start of name tests 1332s # 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. 1332s ok 2 /gtask/name/macro-wrapper 1332s # End of name tests 1332s # End of gtask tests 1332s ok - glib/cxx-03.test 1332s # Running test: glib/permission.test 1332s TAP version 13 1332s # random seed: R02S29e126fe57cf21e29b0df84c286e8c53 1332s 1..1 1332s # Start of permission tests 1332s ok 1 /permission/simple 1332s # End of permission tests 1332s ok - glib/permission.test 1332s # Running test: glib/gdbus-message.test 1332s TAP version 13 1332s # random seed: R02Sf185e813f8b931a5dff5bfffaa5e9b98 1332s 1..3 1332s # Start of gdbus tests 1332s # Start of message tests 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/lock/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/lock/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_8FZYK2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_8FZYK2/gdbus/message/lock/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/lock/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_8FZYK2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_8FZYK2/gdbus/message/lock/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/lock/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/lock/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_8FZYK2/gdbus/message/lock/.dirs/runtime 1332s ok 1 /gdbus/message/lock 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/copy/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/copy/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_8FZYK2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_8FZYK2/gdbus/message/copy/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/copy/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_8FZYK2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_8FZYK2/gdbus/message/copy/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/copy/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/copy/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_8FZYK2/gdbus/message/copy/.dirs/runtime 1332s ok 2 /gdbus/message/copy 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/bytes-needed/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/bytes-needed/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_8FZYK2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_8FZYK2/gdbus/message/bytes-needed/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/bytes-needed/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_8FZYK2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_8FZYK2/gdbus/message/bytes-needed/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/bytes-needed/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_8FZYK2/gdbus/message/bytes-needed/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_8FZYK2/gdbus/message/bytes-needed/.dirs/runtime 1332s # Vector: 0 1332s # Vector: 1 1332s # Vector: 2 1332s # Vector: 3 1332s # Vector: 4 1332s # Vector: 5 1332s ok 3 /gdbus/message/bytes-needed 1332s # End of message tests 1332s # End of gdbus tests 1332s ok - glib/gdbus-message.test 1332s # Running test: glib/shell.test 1332s TAP version 13 1332s # random seed: R02S7d5006b37ca75fc794ea1f1501df9707 1332s 1..51 1332s # Start of shell tests 1332s # Start of cmdline tests 1332s test cmdline: foo bar 1332s ok 1 /shell/cmdline/0 1332s test cmdline: foo 'bar' 1332s ok 2 /shell/cmdline/1 1332s test cmdline: foo "bar" 1332s ok 3 /shell/cmdline/2 1332s test cmdline: foo '' 'bar' 1332s ok 4 /shell/cmdline/3 1332s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1332s ok 5 /shell/cmdline/4 1332s test cmdline: foo blah foo bar baz 1332s ok 6 /shell/cmdline/5 1332s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1332s ok 7 /shell/cmdline/6 1332s test cmdline: foo \ 1332s bar 1332s ok 8 /shell/cmdline/7 1332s test cmdline: foo '' '' 1332s ok 9 /shell/cmdline/8 1332s test cmdline: foo \" la la la 1332s ok 10 /shell/cmdline/9 1332s test cmdline: foo \ foo woo woo\ 1332s ok 11 /shell/cmdline/10 1332s test cmdline: foo "yada yada \$\"" 1332s ok 12 /shell/cmdline/11 1332s test cmdline: foo "c:\\" 1332s ok 13 /shell/cmdline/12 1332s test cmdline: foo # bla bla bla 1332s bar 1332s ok 14 /shell/cmdline/13 1332s test cmdline: foo a#b 1332s ok 15 /shell/cmdline/14 1332s test cmdline: #foo 1332s ok 16 /shell/cmdline/15 1332s test cmdline: foo bar \ 1332s ok 17 /shell/cmdline/16 1332s test cmdline: foo 'bar baz 1332s ok 18 /shell/cmdline/17 1332s test cmdline: foo '"bar" baz 1332s ok 19 /shell/cmdline/18 1332s test cmdline: 1332s ok 20 /shell/cmdline/19 1332s test cmdline: 1332s ok 21 /shell/cmdline/20 1332s test cmdline: # foo bar 1332s ok 22 /shell/cmdline/21 1332s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1332s ok 23 /shell/cmdline/22 1332s # End of cmdline tests 1332s # Start of quote tests 1332s ok 24 /shell/quote/0 1332s ok 25 /shell/quote/1 1332s ok 26 /shell/quote/2 1332s ok 27 /shell/quote/3 1332s ok 28 /shell/quote/4 1332s ok 29 /shell/quote/5 1332s ok 30 /shell/quote/6 1332s # End of quote tests 1332s # Start of unquote tests 1332s ok 31 /shell/unquote/0 1332s ok 32 /shell/unquote/1 1332s ok 33 /shell/unquote/2 1332s ok 34 /shell/unquote/3 1332s ok 35 /shell/unquote/4 1332s ok 36 /shell/unquote/5 1332s ok 37 /shell/unquote/6 1332s ok 38 /shell/unquote/7 1332s ok 39 /shell/unquote/8 1332s ok 40 /shell/unquote/9 1332s ok 41 /shell/unquote/10 1332s ok 42 /shell/unquote/11 1332s ok 43 /shell/unquote/12 1332s ok 44 /shell/unquote/13 1332s ok 45 /shell/unquote/14 1332s ok 46 /shell/unquote/15 1332s ok 47 /shell/unquote/16 1332s ok 48 /shell/unquote/17 1332s ok 49 /shell/unquote/18 1332s ok 50 /shell/unquote/19 1332s ok 51 /shell/unquote/20 1332s # End of unquote tests 1332s # End of shell tests 1332s ok - glib/shell.test 1332s # Running test: glib/macros-c-99.test 1332s TAP version 13 1332s # random seed: R02Sd6b96667c6b95b82d81b40932b5d5d95 1332s 1..4 1332s # Start of C tests 1332s ok 1 /C/standard-99 1332s # End of C tests 1332s # Start of alignof tests 1332s ok 2 /alignof/fallback 1332s # End of alignof tests 1332s # Start of assert tests 1332s ok 3 /assert/static 1332s # End of assert tests 1332s # Start of struct tests 1332s ok 4 /struct/sizeof_member 1332s # End of struct tests 1332s ok - glib/macros-c-99.test 1332s # Running test: glib/application-command-line.test 1332s TAP version 13 1332s # random seed: R02S447fb13785543b49e2628735e050865f 1332s 1..1 1332s # Start of application-command-line tests 1332s ok 1 /application-command-line/basic-properties 1332s # End of application-command-line tests 1332s ok - glib/application-command-line.test 1332s # Running test: glib/utils-isolated.test 1332s TAP version 13 1332s # random seed: R02S48bbac53c4aab18edab987c6656d959d 1332s 1..9 1332s # Start of utils-isolated tests 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/tmp-dir/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/tmp-dir/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/tmp-dir/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/tmp-dir/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/tmp-dir/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/tmp-dir/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/tmp-dir/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_X3TWK2/utils-isolated/tmp-dir/.dirs/runtime 1332s ok 1 /utils-isolated/tmp-dir 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/home-dir/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/home-dir/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/home-dir/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/home-dir/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/home-dir/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/home-dir/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/home-dir/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_X3TWK2/utils-isolated/home-dir/.dirs/runtime 1332s ok 2 /utils-isolated/home-dir 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-cache-dir/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-cache-dir/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/user-cache-dir/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-cache-dir/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/user-cache-dir/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-cache-dir/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-cache-dir/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-cache-dir/.dirs/runtime 1332s ok 3 /utils-isolated/user-cache-dir 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-config-dirs/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-config-dirs/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/system-config-dirs/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-config-dirs/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/system-config-dirs/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-config-dirs/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-config-dirs/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-config-dirs/.dirs/runtime 1332s ok 4 /utils-isolated/system-config-dirs 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-config-dir/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-config-dir/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/user-config-dir/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-config-dir/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/user-config-dir/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-config-dir/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-config-dir/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-config-dir/.dirs/runtime 1332s ok 5 /utils-isolated/user-config-dir 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-data-dirs/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-data-dirs/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/system-data-dirs/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-data-dirs/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/system-data-dirs/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-data-dirs/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-data-dirs/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_X3TWK2/utils-isolated/system-data-dirs/.dirs/runtime 1332s ok 6 /utils-isolated/system-data-dirs 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-data-dir/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-data-dir/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/user-data-dir/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-data-dir/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/user-data-dir/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-data-dir/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-data-dir/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-data-dir/.dirs/runtime 1332s ok 7 /utils-isolated/user-data-dir 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-state-dir/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-state-dir/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/user-state-dir/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-state-dir/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/user-state-dir/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-state-dir/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-state-dir/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-state-dir/.dirs/runtime 1332s ok 8 /utils-isolated/user-state-dir 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-runtime-dir/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-runtime-dir/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/user-runtime-dir/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-runtime-dir/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_X3TWK2/utils-isolated/user-runtime-dir/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-runtime-dir/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-runtime-dir/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_X3TWK2/utils-isolated/user-runtime-dir/.dirs/runtime 1332s ok 9 /utils-isolated/user-runtime-dir 1332s # End of utils-isolated tests 1332s ok - glib/utils-isolated.test 1332s # Running test: glib/cxx.test 1332s TAP version 13 1332s # random seed: R02Sd017fd1204ef78ab5d3a77fbf78f0e7a 1332s 1..2 1332s # Start of gtask tests 1332s # 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. 1332s ok 1 /gtask/name 1332s # Start of name tests 1332s # 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. 1332s ok 2 /gtask/name/macro-wrapper 1332s # End of name tests 1332s # End of gtask tests 1332s ok - glib/cxx.test 1332s # Running test: glib/srvtarget.test 1332s TAP version 13 1332s # random seed: R02S7b706a059fadd91f8f1ece189f9306bb 1332s 1..1 1332s # Start of srvtarget tests 1333s ok 1 /srvtarget/srv-target-ordering 1333s # slow test /srvtarget/srv-target-ordering executed in 1.04 secs 1333s # End of srvtarget tests 1333s ok - glib/srvtarget.test 1333s # Running test: glib/gdbus-exit-on-close.test 1333s TAP version 13 1333s # random seed: R02Sab148147bdd30857116b25dce77c5912 1333s 1..4 1333s # Start of gdbus tests 1333s # Start of exit-on-close tests 1333s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/default/.dirs/home 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/default/.dirs/cache 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/default/.dirs/system-config2 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/default/.dirs/config 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/default/.dirs/system-data2 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/default/.dirs/data 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/default/.dirs/state 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/default/.dirs/runtime 1333s ok 1 /gdbus/exit-on-close/default 1333s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/true/.dirs/home 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/true/.dirs/cache 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/true/.dirs/system-config2 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/true/.dirs/config 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/true/.dirs/system-data2 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/true/.dirs/data 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/true/.dirs/state 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/true/.dirs/runtime 1333s ok 2 /gdbus/exit-on-close/true 1333s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/false/.dirs/home 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/false/.dirs/cache 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/false/.dirs/system-config2 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/false/.dirs/config 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/false/.dirs/system-data2 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/false/.dirs/data 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/false/.dirs/state 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/false/.dirs/runtime 1333s ok 3 /gdbus/exit-on-close/false 1333s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/we-close/.dirs/home 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/we-close/.dirs/cache 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/we-close/.dirs/system-config2 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/we-close/.dirs/config 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/we-close/.dirs/system-data2 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/we-close/.dirs/data 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/we-close/.dirs/state 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_4QT0K2/gdbus/exit-on-close/we-close/.dirs/runtime 1333s ok 4 /gdbus/exit-on-close/we-close 1333s # Start of default tests 1333s # End of default tests 1333s # Start of true tests 1333s # End of true tests 1333s # Start of false tests 1333s # End of false tests 1333s # Start of we-close tests 1333s # End of we-close tests 1333s # End of exit-on-close tests 1333s # End of gdbus tests 1333s ok - glib/gdbus-exit-on-close.test 1333s # Running test: glib/g-file-info-filesystem-readonly.test 1333s TAP version 13 1333s # random seed: R02S3df03f752d3e7f4a8a4024ed70443c00 1333s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1333s 1..2 1333s # Start of g-file-info-filesystem-readonly tests 1333s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1333s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1333s # End of g-file-info-filesystem-readonly tests 1333s ok - glib/g-file-info-filesystem-readonly.test 1333s # Running test: glib/network-address.test 1333s TAP version 13 1333s # random seed: R02S8e09d0da2a940f3effdbaca00175ac02 1333s 1..72 1333s # Start of network-address tests 1333s ok 1 /network-address/basic 1333s ok 2 /network-address/scope-id 1333s ok 3 /network-address/uri-scope-id 1333s ok 4 /network-address/to-string 1333s # Start of parse-host tests 1333s ok 5 /network-address/parse-host/0 1333s ok 6 /network-address/parse-host/1 1333s ok 7 /network-address/parse-host/2 1333s ok 8 /network-address/parse-host/3 1333s ok 9 /network-address/parse-host/4 1333s ok 10 /network-address/parse-host/5 1333s ok 11 /network-address/parse-host/6 1333s ok 12 /network-address/parse-host/7 1333s ok 13 /network-address/parse-host/8 1333s ok 14 /network-address/parse-host/9 1333s ok 15 /network-address/parse-host/10 1333s ok 16 /network-address/parse-host/11 1333s ok 17 /network-address/parse-host/12 1333s ok 18 /network-address/parse-host/13 1333s # End of parse-host tests 1333s # Start of parse-uri tests 1333s ok 19 /network-address/parse-uri/0 1333s ok 20 /network-address/parse-uri/1 1333s ok 21 /network-address/parse-uri/2 1333s ok 22 /network-address/parse-uri/3 1333s ok 23 /network-address/parse-uri/4 1333s ok 24 /network-address/parse-uri/5 1333s ok 25 /network-address/parse-uri/6 1333s ok 26 /network-address/parse-uri/7 1333s ok 27 /network-address/parse-uri/8 1333s ok 28 /network-address/parse-uri/9 1333s # End of parse-uri tests 1333s # Start of resolve-address tests 1333s # Input: 192.168.1.2 1333s ok 29 /network-address/resolve-address/0 1333s # Input: fe80::42 1333s ok 30 /network-address/resolve-address/1 1333s # Input: 192.168.1.2:80 1333s ok 31 /network-address/resolve-address/2 1333s # Input: [fe80::42] 1333s ok 32 /network-address/resolve-address/3 1333s # Input: [fe80::42]:80 1333s ok 33 /network-address/resolve-address/4 1333s # Input: 192.168.258 1333s ok 34 /network-address/resolve-address/5 1333s # Input: 192.11010306 1333s ok 35 /network-address/resolve-address/6 1333s # Input: 3232235778 1333s ok 36 /network-address/resolve-address/7 1333s # Input: 0300.0250.0001.0001 1333s ok 37 /network-address/resolve-address/8 1333s # Input: 0xC0.0xA8.0x01.0x02 1333s ok 38 /network-address/resolve-address/9 1333s # Input: 0xc0.0xa8.0x01.0x02 1333s ok 39 /network-address/resolve-address/10 1333s # Input: 0xc0a80102 1333s ok 40 /network-address/resolve-address/11 1333s # End of resolve-address tests 1333s # Start of loopback tests 1333s ok 41 /network-address/loopback/basic 1333s ok 42 /network-address/loopback/sync 1333s ok 43 /network-address/loopback/async 1333s # End of loopback tests 1333s # Start of localhost tests 1333s ok 44 /network-address/localhost/async 1333s ok 45 /network-address/localhost/sync 1333s # End of localhost tests 1333s # Start of happy-eyeballs tests 1333s ok 46 /network-address/happy-eyeballs/basic 1334s ok 47 /network-address/happy-eyeballs/parallel 1334s ok 48 /network-address/happy-eyeballs/slow-ipv4 1334s ok 49 /network-address/happy-eyeballs/slow-ipv6 1334s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1334s # Executing: glib/network-address.test 1334s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1334s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1335s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1335s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1335s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1335s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1335s # /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. 1335s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1335s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1335s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1335s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1335s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1335s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1335s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1335s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1335s ok 57 /network-address/happy-eyeballs/both-error 1335s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1335s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1335s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1335s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1335s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1335s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1335s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1335s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1335s # End of happy-eyeballs tests 1335s # End of network-address tests 1335s # Start of gresolver tests 1335s # Start of resolve-address tests 1335s # Input: 192.168.1.2 1335s ok 61 /gresolver/resolve-address/0 1335s # Input: fe80::42 1335s ok 62 /gresolver/resolve-address/1 1335s # Input: 192.168.1.2:80 1335s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1335s ok 63 /gresolver/resolve-address/2 1335s # Input: [fe80::42] 1335s # Error: Error resolving ?[fe80::42]?: Name or service not known 1335s ok 64 /gresolver/resolve-address/3 1335s # Input: [fe80::42]:80 1335s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1335s ok 65 /gresolver/resolve-address/4 1335s # Input: 192.168.258 1335s # Error: Error resolving ?192.168.258?: Name or service not known 1335s ok 66 /gresolver/resolve-address/5 1335s # Input: 192.11010306 1335s # Error: Error resolving ?192.11010306?: Name or service not known 1335s ok 67 /gresolver/resolve-address/6 1335s # Input: 3232235778 1335s # Error: Error resolving ?3232235778?: Name or service not known 1335s ok 68 /gresolver/resolve-address/7 1335s # Input: 0300.0250.0001.0001 1335s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1335s ok 69 /gresolver/resolve-address/8 1335s # Input: 0xC0.0xA8.0x01.0x02 1335s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1335s ok 70 /gresolver/resolve-address/9 1335s # Input: 0xc0.0xa8.0x01.0x02 1335s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1335s ok 71 /gresolver/resolve-address/10 1335s # Input: 0xc0a80102 1335s # Error: Error resolving ?0xc0a80102?: Name or service not known 1335s ok 72 /gresolver/resolve-address/11 1335s # End of resolve-address tests 1335s # End of gresolver tests 1335s ok - glib/network-address.test 1335s # Running test: glib/repository.test 1335s TAP version 13 1335s # random seed: R02Sa663641bbb2686cd881d2621854fdaf2 1335s 1..20 1335s # Start of repository tests 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/basic/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/basic/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/basic/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/basic/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/basic/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/basic/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/basic/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/basic/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/basic/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/basic/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1335s ok 1 /repository/basic 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/info/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/info/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/info/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/info/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/info/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/info/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/info/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/info/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/info/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/info/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1335s ok 2 /repository/info 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/dependencies/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/dependencies/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/dependencies/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/dependencies/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/dependencies/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/dependencies/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/dependencies/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/dependencies/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1335s ok 3 /repository/dependencies 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/arg-info/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/arg-info/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/arg-info/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/arg-info/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/arg-info/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/arg-info/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/arg-info/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/arg-info/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1335s ok 4 /repository/arg-info 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/callable-info/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/callable-info/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/callable-info/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/callable-info/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/callable-info/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/callable-info/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/callable-info/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/callable-info/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1335s ok 5 /repository/callable-info 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/callback-info/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/callback-info/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/callback-info/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/callback-info/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/callback-info/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/callback-info/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/callback-info/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/callback-info/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1335s ok 6 /repository/callback-info 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/char-types/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/char-types/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/char-types/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/char-types/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/char-types/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/char-types/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/char-types/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/char-types/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/char-types/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/char-types/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1335s ok 7 /repository/char-types 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/constructor-return-type/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/constructor-return-type/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/constructor-return-type/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/constructor-return-type/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/constructor-return-type/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/constructor-return-type/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/constructor-return-type/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/constructor-return-type/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1335s ok 8 /repository/constructor-return-type 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/enum-info-c-identifier/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/enum-info-c-identifier/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/enum-info-c-identifier/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/enum-info-c-identifier/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/enum-info-c-identifier/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/enum-info-c-identifier/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/enum-info-c-identifier/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/enum-info-c-identifier/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1335s ok 9 /repository/enum-info-c-identifier 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/enum-info-static-methods/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/enum-info-static-methods/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/enum-info-static-methods/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/enum-info-static-methods/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/enum-info-static-methods/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/enum-info-static-methods/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/enum-info-static-methods/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/enum-info-static-methods/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/enum-info-static-methods summary: Test an enum with methods 1335s ok 10 /repository/enum-info-static-methods 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/error-quark/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/error-quark/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/error-quark/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/error-quark/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/error-quark/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/error-quark/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/error-quark/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/error-quark/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/error-quark summary: Test finding an error quark by error domain 1335s ok 11 /repository/error-quark 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/flags-info-c-identifier/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/flags-info-c-identifier/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/flags-info-c-identifier/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/flags-info-c-identifier/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/flags-info-c-identifier/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/flags-info-c-identifier/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/flags-info-c-identifier/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/flags-info-c-identifier/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1335s ok 12 /repository/flags-info-c-identifier 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/fundamental-ref-func/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/fundamental-ref-func/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/fundamental-ref-func/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/fundamental-ref-func/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/fundamental-ref-func/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/fundamental-ref-func/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/fundamental-ref-func/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/fundamental-ref-func/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1335s ok 13 /repository/fundamental-ref-func 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/instance-method-ownership-transfer/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/instance-method-ownership-transfer/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/instance-method-ownership-transfer/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/instance-method-ownership-transfer/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/instance-method-ownership-transfer/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/instance-method-ownership-transfer/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/instance-method-ownership-transfer/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/instance-method-ownership-transfer/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1335s ok 14 /repository/instance-method-ownership-transfer 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/object-gtype-interfaces/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/object-gtype-interfaces/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/object-gtype-interfaces/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/object-gtype-interfaces/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/object-gtype-interfaces/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/object-gtype-interfaces/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/object-gtype-interfaces/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/object-gtype-interfaces/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1335s ok 15 /repository/object-gtype-interfaces 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/signal-info-with-array-length-arg/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/signal-info-with-array-length-arg/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/signal-info-with-array-length-arg/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/signal-info-with-array-length-arg/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/signal-info-with-array-length-arg/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/signal-info-with-array-length-arg/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/signal-info-with-array-length-arg/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/signal-info-with-array-length-arg/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1335s ok 16 /repository/signal-info-with-array-length-arg 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/type-info-name/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/type-info-name/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/type-info-name/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/type-info-name/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/type-info-name/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/type-info-name/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/type-info-name/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/type-info-name/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1335s ok 17 /repository/type-info-name 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-no-invoker/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-no-invoker/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-no-invoker/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-no-invoker/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-no-invoker/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/vfunc-info-with-no-invoker/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1335s ok 18 /repository/vfunc-info-with-no-invoker 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1335s ok 19 /repository/vfunc-info-with-invoker-on-interface 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-object/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-object/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-object/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-object/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_XT10K2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1335s ok 20 /repository/vfunc-info-with-invoker-on-object 1335s # End of repository tests 1335s ok - glib/repository.test 1335s # Running test: glib/atomic-c-99.test 1335s TAP version 13 1335s # random seed: R02S265dc9d915f2452d6fbb7ec84e8229ba 1335s 1..2 1335s # Start of atomic tests 1335s ok 1 /atomic/types 1335s ok 2 /atomic/threaded 1335s # End of atomic tests 1335s ok - glib/atomic-c-99.test 1335s # Running test: glib/gdbus-serialization.test 1335s TAP version 13 1335s # random seed: R02S331dcdcdc418a003ce3e4471f503a30f 1335s 1..18 1335s # Start of gdbus tests 1335s # Start of message-serialize tests 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/basic/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/basic/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/basic/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/basic/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/basic/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/basic/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/basic/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/basic/.dirs/runtime 1335s ok 1 /gdbus/message-serialize/basic 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/complex/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/complex/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/complex/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/complex/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/complex/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/complex/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/complex/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/complex/.dirs/runtime 1335s ok 2 /gdbus/message-serialize/complex 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/invalid/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/invalid/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/invalid/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/invalid/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/invalid/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/invalid/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/invalid/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/invalid/.dirs/runtime 1335s ok 3 /gdbus/message-serialize/invalid 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/.dirs/runtime 1335s ok 4 /gdbus/message-serialize/header-checks 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/double-array/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/double-array/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/double-array/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/double-array/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/double-array/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/double-array/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/double-array/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/double-array/.dirs/runtime 1335s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1335s ok 5 /gdbus/message-serialize/double-array 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/empty-structure/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/empty-structure/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/empty-structure/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/empty-structure/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/empty-structure/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/empty-structure/.dirs/runtime 1335s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1335s ok 6 /gdbus/message-serialize/empty-structure 1335s # Start of header-checks tests 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/valid/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/valid/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/valid/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/valid/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1335s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1335s ok 7 /gdbus/message-serialize/header-checks/valid 1335s # End of header-checks tests 1335s # End of message-serialize tests 1335s # Start of message-parse tests 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1335s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1335s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/non-signature-header/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/non-signature-header/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/non-signature-header/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/non-signature-header/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/non-signature-header/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/non-signature-header/.dirs/runtime 1335s ok 9 /gdbus/message-parse/non-signature-header 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-signature-header/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-signature-header/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-signature-header/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-signature-header/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-signature-header/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1335s ok 10 /gdbus/message-parse/empty-signature-header 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/multiple-signature-header/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/multiple-signature-header/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/multiple-signature-header/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/multiple-signature-header/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1335s ok 11 /gdbus/message-parse/multiple-signature-header 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/over-long-signature-header/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/over-long-signature-header/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/over-long-signature-header/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/over-long-signature-header/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1335s ok 12 /gdbus/message-parse/over-long-signature-header 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-header-nesting/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-header-nesting/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-header-nesting/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-header-nesting/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1335s ok 13 /gdbus/message-parse/deep-header-nesting 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-body-nesting/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-body-nesting/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-body-nesting/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-body-nesting/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1335s ok 14 /gdbus/message-parse/deep-body-nesting 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/truncated/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/truncated/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/truncated/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/truncated/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/truncated/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/truncated/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/truncated/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/truncated/.dirs/runtime 1335s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1335s ok 15 /gdbus/message-parse/truncated 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-structure/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-structure/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-structure/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-structure/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-structure/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-structure/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-structure/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/empty-structure/.dirs/runtime 1335s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1335s ok 16 /gdbus/message-parse/empty-structure 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/missing-header/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/missing-header/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/missing-header/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/missing-header/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/missing-header/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/missing-header/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/missing-header/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/missing-header/.dirs/runtime 1335s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1335s ok 17 /gdbus/message-parse/missing-header 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/invalid-header-type/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/invalid-header-type/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/invalid-header-type/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/invalid-header-type/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/invalid-header-type/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_EMXKK2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1335s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1335s ok 18 /gdbus/message-parse/invalid-header-type 1335s # End of message-parse tests 1335s # End of gdbus tests 1335s ok - glib/gdbus-serialization.test 1335s # Running test: glib/object-info.test 1335s TAP version 13 1335s # random seed: R02S3969644c0356036f583e7bc30f06d680 1335s 1..2 1335s # Start of object-info tests 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_RDQIK2/object-info/find-method-using-interfaces/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_RDQIK2/object-info/find-method-using-interfaces/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_RDQIK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_RDQIK2/object-info/find-method-using-interfaces/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_RDQIK2/object-info/find-method-using-interfaces/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_RDQIK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_RDQIK2/object-info/find-method-using-interfaces/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_RDQIK2/object-info/find-method-using-interfaces/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_RDQIK2/object-info/find-method-using-interfaces/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_RDQIK2/object-info/find-method-using-interfaces/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s ok 1 /object-info/find-method-using-interfaces 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_RDQIK2/object-info/find-vfunc-using-interfaces/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_RDQIK2/object-info/find-vfunc-using-interfaces/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_RDQIK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_RDQIK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_RDQIK2/object-info/find-vfunc-using-interfaces/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_RDQIK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_RDQIK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_RDQIK2/object-info/find-vfunc-using-interfaces/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_RDQIK2/object-info/find-vfunc-using-interfaces/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_RDQIK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1335s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1335s ok 2 /object-info/find-vfunc-using-interfaces 1335s # End of object-info tests 1335s ok - glib/object-info.test 1335s # Running test: glib/network-monitor.test 1335s TAP version 13 1335s # random seed: R02Sbcf8347eb6e3535a9ffe13c9539ffb72 1335s 1..4 1335s # Start of network-monitor tests 1335s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1335s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1335s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1335s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1335s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1335s ok 1 /network-monitor/default 1335s ok 2 /network-monitor/remove_default 1335s ok 3 /network-monitor/add_networks 1335s ok 4 /network-monitor/remove_networks 1335s # End of network-monitor tests 1335s ok - glib/network-monitor.test 1335s # Running test: glib/portal-support-flatpak-none.test 1335s TAP version 13 1335s # random seed: R02S858e20045ea645bf723e272c5cc1ae12 1335s 1..1 1335s # Start of portal-support tests 1335s # Start of flatpak tests 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_0H8MK2/portal-support/flatpak/none/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_0H8MK2/portal-support/flatpak/none/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_0H8MK2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_0H8MK2/portal-support/flatpak/none/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_0H8MK2/portal-support/flatpak/none/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_0H8MK2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_0H8MK2/portal-support/flatpak/none/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_0H8MK2/portal-support/flatpak/none/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_0H8MK2/portal-support/flatpak/none/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_0H8MK2/portal-support/flatpak/none/.dirs/runtime 1335s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_0H8MK2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1335s ok 1 /portal-support/flatpak/none 1335s # End of flatpak tests 1335s # End of portal-support tests 1335s ok - glib/portal-support-flatpak-none.test 1335s # Running test: glib/value.test 1335s TAP version 13 1335s # random seed: R02Sf5975579ab9277363376744eef98185c 1335s 1..8 1335s # Start of value tests 1335s ok 1 /value/basic 1335s ok 2 /value/collection 1335s ok 3 /value/copying 1335s ok 4 /value/enum-transformation 1335s ok 5 /value/gtype 1335s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1335s ok 6 /value/string 1335s # Next: GObject object in GValue of GObject to GValue of GObject 1335s # Next: GObject object in GValue of GObject to GValue of TestInterface 1335s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1335s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1335s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1335s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1335s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1335s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1335s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1335s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1335s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1335s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1335s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1335s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1335s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1335s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1335s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1335s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1335s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1335s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1335s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1335s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1335s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1335s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1335s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1335s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1335s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1335s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1335s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1335s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1335s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1335s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1335s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1335s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1335s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1335s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1335s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1335s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1335s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1335s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1335s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1335s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1335s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1335s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1335s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1335s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1335s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1335s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1335s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1335s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1335s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1335s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1335s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1335s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1335s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1335s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1335s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1335s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1335s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1335s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1335s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1335s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1335s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1335s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1335s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1335s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1335s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1335s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1335s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1335s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1335s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1335s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1335s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1335s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1335s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1335s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1335s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1335s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1335s ok 7 /value/transform-object 1335s # Start of array tests 1335s ok 8 /value/array/basic 1335s # End of array tests 1335s # End of value tests 1335s ok - glib/value.test 1335s # Running test: glib/utf8-validate.test 1335s TAP version 13 1335s # random seed: R02Sffa69dfdbbd27c5de9c67e1ba3a1055e 1335s 1..216 1335s # Start of utf8 tests 1335s # Vector 0 1335s # Vector 1 1335s # Vector 2 1335s # Vector 3 1335s # Vector 4 1335s # Vector 5 1335s # Vector 6 1335s # Vector 7 1335s # Vector 8 1335s # Vector 9 1335s # Vector 10 1335s # Vector 11 1335s # Vector 12 1335s # Vector 13 1335s # Vector 14 1335s # Vector 15 1335s # Vector 16 1335s # Vector 17 1335s # Vector 18 1335s # Vector 19 1335s # Vector 20 1335s # Vector 21 1335s # Vector 22 1335s # Vector 23 1335s # Vector 24 1335s # Vector 25 1335s # Vector 26 1335s # Vector 27 1335s ok 1 /utf8/get-char-validated 1335s # Start of validate tests 1335s ok 2 /utf8/validate/0 1335s ok 3 /utf8/validate/1 1335s ok 4 /utf8/validate/2 1335s ok 5 /utf8/validate/3 1335s ok 6 /utf8/validate/4 1335s ok 7 /utf8/validate/5 1335s ok 8 /utf8/validate/6 1335s ok 9 /utf8/validate/7 1335s ok 10 /utf8/validate/8 1335s ok 11 /utf8/validate/9 1335s ok 12 /utf8/validate/10 1335s ok 13 /utf8/validate/11 1335s ok 14 /utf8/validate/12 1335s ok 15 /utf8/validate/13 1335s ok 16 /utf8/validate/14 1335s ok 17 /utf8/validate/15 1335s ok 18 /utf8/validate/16 1335s ok 19 /utf8/validate/17 1335s ok 20 /utf8/validate/18 1335s ok 21 /utf8/validate/19 1335s ok 22 /utf8/validate/20 1335s ok 23 /utf8/validate/21 1335s ok 24 /utf8/validate/22 1335s ok 25 /utf8/validate/23 1335s ok 26 /utf8/validate/24 1335s ok 27 /utf8/validate/25 1335s ok 28 /utf8/validate/26 1335s ok 29 /utf8/validate/27 1335s ok 30 /utf8/validate/28 1335s ok 31 /utf8/validate/29 1335s ok 32 /utf8/validate/30 1335s ok 33 /utf8/validate/31 1335s ok 34 /utf8/validate/32 1335s ok 35 /utf8/validate/33 1335s ok 36 /utf8/validate/34 1335s ok 37 /utf8/validate/35 1335s ok 38 /utf8/validate/36 1335s ok 39 /utf8/validate/37 1335s ok 40 /utf8/validate/38 1335s ok 41 /utf8/validate/39 1335s ok 42 /utf8/validate/40 1335s ok 43 /utf8/validate/41 1335s ok 44 /utf8/validate/42 1335s ok 45 /utf8/validate/43 1335s ok 46 /utf8/validate/44 1335s ok 47 /utf8/validate/45 1335s ok 48 /utf8/validate/46 1335s ok 49 /utf8/validate/47 1335s ok 50 /utf8/validate/48 1335s ok 51 /utf8/validate/49 1335s ok 52 /utf8/validate/50 1335s ok 53 /utf8/validate/51 1335s ok 54 /utf8/validate/52 1335s ok 55 /utf8/validate/53 1335s ok 56 /utf8/validate/54 1335s ok 57 /utf8/validate/55 1335s ok 58 /utf8/validate/56 1335s ok 59 /utf8/validate/57 1335s ok 60 /utf8/validate/58 1335s ok 61 /utf8/validate/59 1335s ok 62 /utf8/validate/60 1335s ok 63 /utf8/validate/61 1335s ok 64 /utf8/validate/62 1335s ok 65 /utf8/validate/63 1335s ok 66 /utf8/validate/64 1335s ok 67 /utf8/validate/65 1335s ok 68 /utf8/validate/66 1335s ok 69 /utf8/validate/67 1335s ok 70 /utf8/validate/68 1335s ok 71 /utf8/validate/69 1335s ok 72 /utf8/validate/70 1335s ok 73 /utf8/validate/71 1335s ok 74 /utf8/validate/72 1335s ok 75 /utf8/validate/73 1335s ok 76 /utf8/validate/74 1335s ok 77 /utf8/validate/75 1335s ok 78 /utf8/validate/76 1335s ok 79 /utf8/validate/77 1335s ok 80 /utf8/validate/78 1335s ok 81 /utf8/validate/79 1335s ok 82 /utf8/validate/80 1335s ok 83 /utf8/validate/81 1335s ok 84 /utf8/validate/82 1335s ok 85 /utf8/validate/83 1335s ok 86 /utf8/validate/84 1335s ok 87 /utf8/validate/85 1335s ok 88 /utf8/validate/86 1335s ok 89 /utf8/validate/87 1335s ok 90 /utf8/validate/88 1335s ok 91 /utf8/validate/89 1335s ok 92 /utf8/validate/90 1335s ok 93 /utf8/validate/91 1335s ok 94 /utf8/validate/92 1335s ok 95 /utf8/validate/93 1335s ok 96 /utf8/validate/94 1335s ok 97 /utf8/validate/95 1335s ok 98 /utf8/validate/96 1335s ok 99 /utf8/validate/97 1335s ok 100 /utf8/validate/98 1335s ok 101 /utf8/validate/99 1335s ok 102 /utf8/validate/100 1335s ok 103 /utf8/validate/101 1335s ok 104 /utf8/validate/102 1335s ok 105 /utf8/validate/103 1335s ok 106 /utf8/validate/104 1335s ok 107 /utf8/validate/105 1335s ok 108 /utf8/validate/106 1335s ok 109 /utf8/validate/107 1335s ok 110 /utf8/validate/108 1335s ok 111 /utf8/validate/109 1335s ok 112 /utf8/validate/110 1335s ok 113 /utf8/validate/111 1335s ok 114 /utf8/validate/112 1335s ok 115 /utf8/validate/113 1335s ok 116 /utf8/validate/114 1335s ok 117 /utf8/validate/115 1335s ok 118 /utf8/validate/116 1335s ok 119 /utf8/validate/117 1335s ok 120 /utf8/validate/118 1335s ok 121 /utf8/validate/119 1335s ok 122 /utf8/validate/120 1335s ok 123 /utf8/validate/121 1335s ok 124 /utf8/validate/122 1335s ok 125 /utf8/validate/123 1335s ok 126 /utf8/validate/124 1335s ok 127 /utf8/validate/125 1335s ok 128 /utf8/validate/126 1335s ok 129 /utf8/validate/127 1335s ok 130 /utf8/validate/128 1335s ok 131 /utf8/validate/129 1335s ok 132 /utf8/validate/130 1335s ok 133 /utf8/validate/131 1335s ok 134 /utf8/validate/132 1335s ok 135 /utf8/validate/133 1335s ok 136 /utf8/validate/134 1335s ok 137 /utf8/validate/135 1335s ok 138 /utf8/validate/136 1335s ok 139 /utf8/validate/137 1335s ok 140 /utf8/validate/138 1335s ok 141 /utf8/validate/139 1335s ok 142 /utf8/validate/140 1335s ok 143 /utf8/validate/141 1335s ok 144 /utf8/validate/142 1335s ok 145 /utf8/validate/143 1335s ok 146 /utf8/validate/144 1335s ok 147 /utf8/validate/145 1335s ok 148 /utf8/validate/146 1335s ok 149 /utf8/validate/147 1335s ok 150 /utf8/validate/148 1335s ok 151 /utf8/validate/149 1335s ok 152 /utf8/validate/150 1335s ok 153 /utf8/validate/151 1335s ok 154 /utf8/validate/152 1335s ok 155 /utf8/validate/153 1335s ok 156 /utf8/validate/154 1335s ok 157 /utf8/validate/155 1335s ok 158 /utf8/validate/156 1335s ok 159 /utf8/validate/157 1335s ok 160 /utf8/validate/158 1335s ok 161 /utf8/validate/159 1335s ok 162 /utf8/validate/160 1335s ok 163 /utf8/validate/161 1335s ok 164 /utf8/validate/162 1335s ok 165 /utf8/validate/163 1335s ok 166 /utf8/validate/164 1335s ok 167 /utf8/validate/165 1335s ok 168 /utf8/validate/166 1335s ok 169 /utf8/validate/167 1335s ok 170 /utf8/validate/168 1335s ok 171 /utf8/validate/169 1335s ok 172 /utf8/validate/170 1335s ok 173 /utf8/validate/171 1335s ok 174 /utf8/validate/172 1335s ok 175 /utf8/validate/173 1335s ok 176 /utf8/validate/174 1335s ok 177 /utf8/validate/175 1335s ok 178 /utf8/validate/176 1335s ok 179 /utf8/validate/177 1335s ok 180 /utf8/validate/178 1335s ok 181 /utf8/validate/179 1335s ok 182 /utf8/validate/180 1335s ok 183 /utf8/validate/181 1335s ok 184 /utf8/validate/182 1335s ok 185 /utf8/validate/183 1335s ok 186 /utf8/validate/184 1335s ok 187 /utf8/validate/185 1335s ok 188 /utf8/validate/186 1335s ok 189 /utf8/validate/187 1335s ok 190 /utf8/validate/188 1335s ok 191 /utf8/validate/189 1335s ok 192 /utf8/validate/190 1335s ok 193 /utf8/validate/191 1335s ok 194 /utf8/validate/192 1335s ok 195 /utf8/validate/193 1335s ok 196 /utf8/validate/194 1335s ok 197 /utf8/validate/195 1335s ok 198 /utf8/validate/196 1335s ok 199 /utf8/validate/197 1335s ok 200 /utf8/validate/198 1335s ok 201 /utf8/validate/199 1335s ok 202 /utf8/validate/200 1335s ok 203 /utf8/validate/201 1335s ok 204 /utf8/validate/202 1335s ok 205 /utf8/validate/203 1335s ok 206 /utf8/validate/204 1335s ok 207 /utf8/validate/205 1335s ok 208 /utf8/validate/206 1335s ok 209 /utf8/validate/207 1335s ok 210 /utf8/validate/208 1335s ok 211 /utf8/validate/209 1335s ok 212 /utf8/validate/210 1335s ok 213 /utf8/validate/211 1335s ok 214 /utf8/validate/212 1335s ok 215 /utf8/validate/213 1335s ok 216 /utf8/validate/214 1335s # End of validate tests 1335s # End of utf8 tests 1335s ok - glib/utf8-validate.test 1335s # Running test: glib/defaultiface.test 1335s TAP version 13 1335s # random seed: R02Sd0b25b51b098f8b06ee8ea80772a957d 1335s 1..2 1335s # Start of gobject tests 1335s ok 1 /gobject/static-iface 1335s ok 2 /gobject/dynamic-iface 1335s # End of gobject tests 1335s ok - glib/defaultiface.test 1335s # Running test: glib/guuid.test 1335s TAP version 13 1335s # random seed: R02Sed9d42137995a4a82da885ed3def0afb 1335s 1..2 1335s # Start of uuid tests 1335s ok 1 /uuid/string 1335s ok 2 /uuid/random 1335s # End of uuid tests 1335s ok - glib/guuid.test 1335s # Running test: glib/gdbus-names.test 1335s TAP version 13 1335s # random seed: R02S41b20789ac719e769b1de75e45ca08af 1335s 1..10 1335s # Start of gdbus tests 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FAINK2/gdbus/validate-names/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/validate-names/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_FAINK2/gdbus/validate-names/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/validate-names/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_FAINK2/gdbus/validate-names/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/validate-names/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/validate-names/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FAINK2/gdbus/validate-names/.dirs/runtime 1335s ok 1 /gdbus/validate-names 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-own-name/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-own-name/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-own-name/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-own-name/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-own-name/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-own-name/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-own-name/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FAINK2/gdbus/bus-own-name/.dirs/runtime 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1335s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s ok 2 /gdbus/bus-own-name 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name/.dirs/runtime 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1335s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s ok 3 /gdbus/bus-watch-name 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start/.dirs/runtime 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1335s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s ok 4 /gdbus/bus-watch-name-auto-start 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1335s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1335s dbus-daemon[2171]: [session uid=1000 pid=2171] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=2162 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1335s # Acquired a message bus connection 1335s dbus-daemon[2171]: [session uid=1000 pid=2171] Successfully activated service 'org.gtk.GDBus.FakeService' 1335s # Acquired the name org.gtk.GDBus.FakeService 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures/.dirs/runtime 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1335s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s ok 6 /gdbus/bus-watch-name-closures 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1335s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s ok 7 /gdbus/bus-watch-name-closures-auto-start 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-different-context/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-different-context/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-different-context/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-different-context/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-different-context/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-different-context/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-different-context/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FAINK2/gdbus/bus-watch-different-context/.dirs/runtime 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1335s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s ok 8 /gdbus/bus-watch-different-context 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-unwatch-early/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-unwatch-early/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-unwatch-early/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-unwatch-early/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_FAINK2/gdbus/bus-unwatch-early/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-unwatch-early/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/bus-unwatch-early/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FAINK2/gdbus/bus-unwatch-early/.dirs/runtime 1335s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1335s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1335s ok 9 /gdbus/bus-unwatch-early 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FAINK2/gdbus/escape-object-path/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/escape-object-path/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_FAINK2/gdbus/escape-object-path/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/escape-object-path/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FAINK2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_FAINK2/gdbus/escape-object-path/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/escape-object-path/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FAINK2/gdbus/escape-object-path/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FAINK2/gdbus/escape-object-path/.dirs/runtime 1335s ok 10 /gdbus/escape-object-path 1335s # End of gdbus tests 1335s ok - glib/gdbus-names.test 1335s # Running test: glib/types.test 1335s TAP version 13 1335s # random seed: R02Saac9e7169689f099461cfa61f71cc44d 1335s 1..1 1335s # Start of types tests 1335s ok 1 /types/basic_types 1335s # End of types tests 1335s ok - glib/types.test 1335s # Running test: glib/data-input-stream.test 1335s TAP version 13 1335s # random seed: R02S14c2d816385c9c8f928f31182693a263 1335s 1..10 1335s # Start of data-input-stream tests 1335s ok 1 /data-input-stream/basic 1335s ok 2 /data-input-stream/read-lines-LF 1336s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1336s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1336s ok 5 /data-input-stream/read-lines-CR 1336s ok 6 /data-input-stream/read-lines-CR-LF 1336s ok 7 /data-input-stream/read-lines-any 1336s ok 8 /data-input-stream/read-until 1336s ok 9 /data-input-stream/read-upto 1336s ok 10 /data-input-stream/read-int 1336s # End of data-input-stream tests 1336s ok - glib/data-input-stream.test 1336s # Running test: glib/param.test 1336s TAP version 13 1336s # random seed: R02S288143101ba827458832454833a4ff1e 1336s 1..32 1336s # Start of param tests 1336s ok 1 /param/value 1336s ok 2 /param/strings 1336s ok 3 /param/qdata 1336s ok 4 /param/validate 1336s ok 5 /param/convert 1336s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1336s ok 7 /param/default 1336s ok 8 /param/is-valid-name 1336s # Start of invalid-name tests 1336s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1336s ok 9 /param/invalid-name/colon 1336s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1336s ok 10 /param/invalid-name/first-char 1336s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1337s ok 11 /param/invalid-name/empty 1337s # End of invalid-name tests 1337s # Start of implement tests 1337s # Start of subprocess tests 1337s # End of subprocess tests 1337s # End of implement tests 1337s # End of param tests 1337s # Start of value tests 1337s ok 12 /value/transform 1337s # End of value tests 1337s # Start of paramspec tests 1337s ok 13 /paramspec/char 1337s ok 14 /paramspec/uchar 1337s ok 15 /paramspec/int 1337s ok 16 /paramspec/uint 1337s ok 17 /paramspec/long 1337s ok 18 /paramspec/ulong 1337s ok 19 /paramspec/int64 1337s ok 20 /paramspec/uint64 1337s ok 21 /paramspec/float 1337s ok 22 /paramspec/double 1337s ok 23 /paramspec/unichar 1337s ok 24 /paramspec/param 1337s ok 25 /paramspec/null-param 1337s ok 26 /paramspec/string 1337s ok 27 /paramspec/override 1337s ok 28 /paramspec/gtype 1337s ok 29 /paramspec/variant 1337s ok 30 /paramspec/custom 1337s ok 31 /paramspec/pool 1337s # Start of variant tests 1337s ok 32 /paramspec/variant/cmp 1337s # End of variant tests 1337s # End of paramspec tests 1337s ok - glib/param.test 1337s # Running test: glib/atomic.test 1337s TAP version 13 1337s # random seed: R02Sc9ef62e03b37ae2b30d0eab3179e27df 1337s 1..2 1337s # Start of atomic tests 1337s ok 1 /atomic/types 1337s ok 2 /atomic/threaded 1337s # End of atomic tests 1337s ok - glib/atomic.test 1337s # Running test: glib/custom-dispatch.test 1337s TAP version 13 1337s # random seed: R02S877bfb969ecf5e085b74405b19c9723b 1337s 1..2 1337s # Start of properties tests 1337s # Start of custom-dispatch tests 1337s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1337s ok 1 /properties/custom-dispatch/init 1337s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1337s ok 2 /properties/custom-dispatch/set 1337s # End of custom-dispatch tests 1337s # End of properties tests 1337s ok - glib/custom-dispatch.test 1337s # Running test: glib/timeout.test 1337s TAP version 13 1337s # random seed: R02Se866035b06aefea5a2b5396c0368431d 1337s 1..5 1337s # Start of timeout tests 1337s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1339s # Executing: glib/timeout.test 1339s ok 1 /timeout/seconds 1339s # slow test /timeout/seconds executed in 2.10 secs 1341s ok 2 /timeout/seconds-once 1341s # slow test /timeout/seconds-once executed in 2.10 secs 1341s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1343s ok 3 /timeout/weeks-overflow 1343s # slow test /timeout/weeks-overflow executed in 2.10 secs 1343s ok 4 /timeout/far-future-ready-time 1344s # Executing: glib/timeout.test 1349s # Executing: glib/timeout.test 1354s # Executing: glib/timeout.test 1354s ok 5 /timeout/rounding 1354s # slow test /timeout/rounding executed in 10.81 secs 1354s # End of timeout tests 1354s ok - glib/timeout.test 1354s # Running test: glib/option-context.test 1354s TAP version 13 1354s # random seed: R02S1af69498795e3e183ae29f83e74a27b2 1354s 1..57 1354s # Start of option tests 1354s ok 1 /option/basic 1354s ok 2 /option/translate 1354s ok 3 /option/strict-posix 1354s # Start of help tests 1354s ok 4 /option/help/options 1354s ok 5 /option/help/no-options 1354s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1354s ok 6 /option/help/no-help-options 1354s # End of help tests 1354s # Start of group tests 1354s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1354s ok 7 /option/group/captions 1354s ok 8 /option/group/main 1354s ok 9 /option/group/error-hook 1354s ok 10 /option/group/parse 1354s # Start of captions tests 1354s # Start of subprocess tests 1354s # End of subprocess tests 1354s # End of captions tests 1354s # End of group tests 1354s # Start of restoration tests 1354s ok 11 /option/restoration/int 1354s ok 12 /option/restoration/string 1354s ok 13 /option/restoration/boolean 1354s # End of restoration tests 1354s # Start of arg tests 1354s ok 14 /option/arg/reverse-string 1354s ok 15 /option/arg/optional-int 1354s # Start of repetition tests 1354s ok 16 /option/arg/repetition/int 1354s ok 17 /option/arg/repetition/string 1354s ok 18 /option/arg/repetition/filename 1354s ok 19 /option/arg/repetition/double 1354s ok 20 /option/arg/repetition/locale 1354s ok 21 /option/arg/repetition/int64 1354s # End of repetition tests 1354s # Start of array tests 1354s ok 22 /option/arg/array/string 1354s # End of array tests 1354s # Start of callback tests 1354s ok 23 /option/arg/callback/string 1354s ok 24 /option/arg/callback/count 1354s ok 25 /option/arg/callback/optional1 1354s ok 26 /option/arg/callback/optional2 1354s ok 27 /option/arg/callback/optional3 1354s ok 28 /option/arg/callback/optional4 1354s ok 29 /option/arg/callback/optional5 1354s ok 30 /option/arg/callback/optional6 1354s ok 31 /option/arg/callback/optional7 1354s ok 32 /option/arg/callback/optional8 1354s # End of callback tests 1354s # Start of remaining tests 1354s ok 33 /option/arg/remaining/callback 1354s ok 34 /option/arg/remaining/callback-false 1354s ok 35 /option/arg/remaining/non-option 1354s ok 36 /option/arg/remaining/separator 1354s ok 37 /option/arg/remaining/array 1354s # End of remaining tests 1354s # Start of ignore tests 1354s ok 38 /option/arg/ignore/long 1354s ok 39 /option/arg/ignore/short 1354s ok 40 /option/arg/ignore/arg 1354s # End of ignore tests 1354s # Start of rest tests 1354s ok 41 /option/arg/rest/non-option 1354s ok 42 /option/arg/rest/separator1 1354s ok 43 /option/arg/rest/separator2 1354s ok 44 /option/arg/rest/separator3 1354s ok 45 /option/arg/rest/separator4 1354s ok 46 /option/arg/rest/separator5 1354s # End of rest tests 1354s # End of arg tests 1354s # Start of context tests 1354s ok 47 /option/context/add 1354s ok 48 /option/context/empty2 1354s ok 49 /option/context/empty3 1354s # End of context tests 1354s # Start of bug tests 1354s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1354s ok 50 /option/bug/unknown-short 1354s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1354s ok 51 /option/bug/lonely-dash 1354s ok 52 /option/bug/triple-dash 1354s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1354s ok 53 /option/bug/missing-arg 1354s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1354s ok 54 /option/bug/dash-arg 1354s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1354s ok 55 /option/bug/short-remaining 1354s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1354s ok 56 /option/bug/double-free 1354s ok 57 /option/bug/double-zero 1354s # End of bug tests 1354s # End of option tests 1354s ok - glib/option-context.test 1354s # Running test: glib/proxy-test.test 1354s TAP version 13 1354s # random seed: R02Se17e2933c1cd5394daa38f9af3b20e94 1354s 1..11 1354s # Start of proxy tests 1354s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1354s ok 1 /proxy/direct_sync 1354s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1354s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb080df039a0 and GSocketClientAsyncConnectData 0xbb080def9270 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1354s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbb080df043b0 for GSocketClientAsyncConnectData 0xbb080def9270 1354s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1354s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1354s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1354s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1354s ok 2 /proxy/direct_async 1354s ok 3 /proxy/single_sync 1354s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1354s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb080df05cb0 and GSocketClientAsyncConnectData 0xbb080df04e00 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1354s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbb080df06810 for GSocketClientAsyncConnectData 0xbb080df04e00 1354s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1354s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1354s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1354s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1354s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1354s ok 4 /proxy/single_async 1354s ok 5 /proxy/multiple_sync 1354s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1354s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb080df06540 and GSocketClientAsyncConnectData 0xbb080df06310 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1354s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbb080df06e90 for GSocketClientAsyncConnectData 0xbb080df06310 1354s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1354s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1354s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1354s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1354s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbb080df068a0 for GSocketClientAsyncConnectData 0xbb080df06310 1354s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1354s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1354s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1354s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1354s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1354s ok 6 /proxy/multiple_async 1354s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1354s ok 7 /proxy/invalid-uris-sync 1354s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1354s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1354s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb080df06810 and GSocketClientAsyncConnectData 0xbb080df06120 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1354s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1354s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1354s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb080df06290 and GSocketClientAsyncConnectData 0xbb080df06120 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1354s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1354s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1354s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb080df06290 and GSocketClientAsyncConnectData 0xbb080df06120 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1354s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbb080df009e0 for GSocketClientAsyncConnectData 0xbb080df06120 1354s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1354s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1354s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1354s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1354s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1354s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb080df06540 and GSocketClientAsyncConnectData 0xbb080df06600 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1354s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbb080df040c0 for GSocketClientAsyncConnectData 0xbb080df06600 1354s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1354s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1354s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1354s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1354s ok 8 /proxy/invalid-uris-async 1354s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1354s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb080df06290 and GSocketClientAsyncConnectData 0xbb080df06120 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1354s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1354s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1354s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1354s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb080df06290 and GSocketClientAsyncConnectData 0xbb080df06600 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1354s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbb080df06f50 for GSocketClientAsyncConnectData 0xbb080df06600 1354s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1354s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1354s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1354s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1354s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1354s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1354s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb080df06290 and GSocketClientAsyncConnectData 0xbb080df06120 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1354s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbb080df076d0 for GSocketClientAsyncConnectData 0xbb080df06120 1354s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1354s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1354s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1354s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1354s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1354s ok 9 /proxy/dns 1354s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1354s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb080df06290 and GSocketClientAsyncConnectData 0xbb080df06600 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1354s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbb080df07700 for GSocketClientAsyncConnectData 0xbb080df06600 1354s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1354s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1354s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1354s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1354s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1354s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1354s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb080df06290 and GSocketClientAsyncConnectData 0xbb080df05bf0 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1354s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbb080df07c40 for GSocketClientAsyncConnectData 0xbb080df05bf0 1354s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1354s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1354s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1354s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1354s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1354s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1354s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb080df06290 and GSocketClientAsyncConnectData 0xbb080df06600 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1354s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbb080df06bc0 for GSocketClientAsyncConnectData 0xbb080df06600 1354s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1354s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1354s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1354s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1354s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1354s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1354s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1354s ok 10 /proxy/override 1354s ok 11 /proxy/enumerator-ports 1354s # End of proxy tests 1354s ok - glib/proxy-test.test 1354s # Running test: glib/function-info.test 1354s TAP version 13 1354s # random seed: R02Sa3257ef8507564d67c50b522706a5e52 1354s 1..1 1354s # Start of function-info tests 1354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_AJLKK2/function-info/invoker/.dirs/home 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_AJLKK2/function-info/invoker/.dirs/cache 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_AJLKK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_AJLKK2/function-info/invoker/.dirs/system-config2 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_AJLKK2/function-info/invoker/.dirs/config 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_AJLKK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_AJLKK2/function-info/invoker/.dirs/system-data2 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_AJLKK2/function-info/invoker/.dirs/data 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_AJLKK2/function-info/invoker/.dirs/state 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_AJLKK2/function-info/invoker/.dirs/runtime 1354s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1354s # /function-info/invoker summary: Test preparing a function invoker 1354s ok 1 /function-info/invoker 1354s # End of function-info tests 1354s ok - glib/function-info.test 1354s # Running test: glib/spawn-test.test 1354s TAP version 13 1354s # random seed: R02S03ca9762c22277d643eb5024b13b8ae6 1354s 1..2 1354s # Start of spawn tests 1354s ok 1 /spawn/basics 1354s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1354s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1354s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1354s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1354s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1354s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1354s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1354s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1354s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1354s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1354s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1354s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1354s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1354s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1354s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1354s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1354s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1354s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1354s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1354s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1354s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1354s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1354s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1354s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1354s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1354s # Fetching GSpawn result with stdin open, stdout open, stderr open 1354s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1354s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1354s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1354s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1354s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1354s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1354s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1354s ok 2 /spawn/stdio-overwrite 1354s # End of spawn tests 1354s ok - glib/spawn-test.test 1354s # Running test: glib/hook.test 1354s TAP version 13 1354s # random seed: R02S096dfaa1345f8d499a6675de486370dc 1354s 1..2 1354s # Start of hook tests 1354s ok 1 /hook/basics 1354s ok 2 /hook/corner-cases 1354s # End of hook tests 1354s ok - glib/hook.test 1354s # Running test: glib/testfilemonitor.test 1354s TAP version 13 1354s # random seed: R02Sbf17dbfb8e0b72b4d04155b9faa2e2a5 1354s 1..8 1354s # Start of monitor tests 1354s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1354s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1354s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1354s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1354s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1354s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1354s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1354s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1354s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1354s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1354s # Start of file tests 1354s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1354s # End of file tests 1354s # End of monitor tests 1354s ok - glib/testfilemonitor.test 1354s # Running test: glib/notify-init2.test 1354s TAP version 13 1354s # random seed: R02S52b0ca0a8b79e2437ca6ad2a7a0d00c9 1354s 1..1 1354s # Start of properties tests 1354s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1354s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1354s ok 1 /properties/notify-in-init2 1354s # End of properties tests 1354s ok - glib/notify-init2.test 1354s # Running test: glib/basic-signals.test 1354s TAP version 13 1354s # random seed: R02S57110c108ab5113fd2cd72baa39cba55 1354s 1..1 1354s # Start of gobject tests 1354s ok 1 /gobject/basic-signals 1354s # End of gobject tests 1354s ok - glib/basic-signals.test 1354s # Running test: glib/error.test 1354s TAP version 13 1354s # random seed: R02Sdfde0fab8a30409db7a73eb2daa4f461 1354s 1..3 1354s # Start of error tests 1354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_D5SNK2/error/from-errno/.dirs/home 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_D5SNK2/error/from-errno/.dirs/cache 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_D5SNK2/error/from-errno/.dirs/system-config1:/tmp/test_error_D5SNK2/error/from-errno/.dirs/system-config2 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_D5SNK2/error/from-errno/.dirs/config 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_D5SNK2/error/from-errno/.dirs/system-data1:/tmp/test_error_D5SNK2/error/from-errno/.dirs/system-data2 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_D5SNK2/error/from-errno/.dirs/data 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_D5SNK2/error/from-errno/.dirs/state 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_D5SNK2/error/from-errno/.dirs/runtime 1354s ok 1 /error/from-errno 1354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_D5SNK2/error/from-file-error/.dirs/home 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_D5SNK2/error/from-file-error/.dirs/cache 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_D5SNK2/error/from-file-error/.dirs/system-config1:/tmp/test_error_D5SNK2/error/from-file-error/.dirs/system-config2 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_D5SNK2/error/from-file-error/.dirs/config 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_D5SNK2/error/from-file-error/.dirs/system-data1:/tmp/test_error_D5SNK2/error/from-file-error/.dirs/system-data2 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_D5SNK2/error/from-file-error/.dirs/data 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_D5SNK2/error/from-file-error/.dirs/state 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_D5SNK2/error/from-file-error/.dirs/runtime 1354s ok 2 /error/from-file-error 1354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_D5SNK2/error/from-win32-error/.dirs/home 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_D5SNK2/error/from-win32-error/.dirs/cache 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_D5SNK2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_D5SNK2/error/from-win32-error/.dirs/system-config2 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_D5SNK2/error/from-win32-error/.dirs/config 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_D5SNK2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_D5SNK2/error/from-win32-error/.dirs/system-data2 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_D5SNK2/error/from-win32-error/.dirs/data 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_D5SNK2/error/from-win32-error/.dirs/state 1354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_D5SNK2/error/from-win32-error/.dirs/runtime 1354s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1354s # End of error tests 1354s ok - glib/error.test 1354s # Running test: glib/gdbus-address-get-session.test 1354s TAP version 13 1354s # random seed: R02Se2749752cb262218d1222ab81239672c 1354s 1..2 1354s # Start of gdbus tests 1354s ok 1 /gdbus/x11-autolaunch 1354s ok 2 /gdbus/xdg-runtime 1354s # End of gdbus tests 1354s ok - glib/gdbus-address-get-session.test 1354s # Running test: glib/bindinggroup.test 1354s TAP version 13 1354s # random seed: R02S7a2c997857c099b580f3f41921ed6c74 1354s 1..11 1354s # Start of GObject tests 1354s # Start of BindingGroup tests 1354s ok 1 /GObject/BindingGroup/invalid 1354s ok 2 /GObject/BindingGroup/default 1354s ok 3 /GObject/BindingGroup/bidirectional 1354s ok 4 /GObject/BindingGroup/transform 1354s ok 5 /GObject/BindingGroup/transform-closures 1354s ok 6 /GObject/BindingGroup/same-object 1354s ok 7 /GObject/BindingGroup/weak-ref-source 1354s ok 8 /GObject/BindingGroup/weak-ref-target 1354s ok 9 /GObject/BindingGroup/properties 1354s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1354s ok 11 /GObject/BindingGroup/empty-closures 1354s # End of BindingGroup tests 1354s # End of GObject tests 1354s ok - glib/bindinggroup.test 1354s # Running test: glib/debugcontroller.test 1354s TAP version 13 1354s # random seed: R02S53717c04fe9794576147987e4241918b 1354s 1..3 1354s # Start of debug-controller tests 1354s # Start of dbus tests 1354s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1354s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1354s # GLib-GIO-DEBUG: Debug output enabled 1354s # GLib-GIO-DEBUG: Debug output disabled 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s ok 1 /debug-controller/dbus/basic 1354s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1354s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1354s ok 2 /debug-controller/dbus/duplicate 1354s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1354s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1354s # End of dbus tests 1354s # End of debug-controller tests 1354s ok - glib/debugcontroller.test 1354s # Running test: glib/null-settings-backend.test 1354s TAP version 13 1354s # random seed: R02S96253280c699c899149c123810878969 1354s 1..1 1354s # Start of null-settings-backend tests 1354s ok 1 /null-settings-backend/extension-point-registered 1354s # End of null-settings-backend tests 1354s ok - glib/null-settings-backend.test 1354s # Running test: glib/gobject-query.py.test 1354s TAP version 13 1354s ok 1 __main__.TestGobjectQuery.test_froots 1354s # gobject-query: /usr/bin/gobject-query 1354s # Running: ['/usr/bin/gobject-query', 'froots'] 1354s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1354s # Output: ├void 1354s # ├GInterface 1354s # │ └GTypePlugin 1354s # ├gchar 1354s # ├guchar 1354s # ├gboolean 1354s # ├gint 1354s # ├guint 1354s # ├glong 1354s # ├gulong 1354s # ├gint64 1354s # ├guint64 1354s # ├GEnum 1354s # ├GFlags 1354s # ├gfloat 1354s # ├gdouble 1354s # ├gchararray 1354s # ├gpointer 1354s # │ └GType 1354s # ├GBoxed 1354s # │ └GValueArray 1354s # ├GParam 1354s # │ ├GParamChar 1354s # │ ├GParamUChar 1354s # │ ├GParamBoolean 1354s # │ ├GParamInt 1354s # │ ├GParamUInt 1354s # │ ├GParamLong 1354s # │ ├GParamULong 1354s # │ ├GParamInt64 1354s # │ ├GParamUInt64 1354s # │ ├GParamUnichar 1354s # │ ├GParamEnum 1354s # │ ├GParamFlags 1354s # │ ├GParamFloat 1354s # │ ├GParamDouble 1354s # │ ├GParamString 1354s # │ ├GParamParam 1354s # │ ├GParamBoxed 1354s # │ ├GParamPointer 1354s # │ ├GParamValueArray 1354s # │ ├GParamObject 1354s # │ ├GParamOverride 1354s # │ ├GParamGType 1354s # │ └GParamVariant 1354s # ├GObject 1354s # └GVariant 1354s ok 2 __main__.TestGobjectQuery.test_help 1354s # gobject-query: /usr/bin/gobject-query 1354s # Running: ['/usr/bin/gobject-query', '--help'] 1354s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1354s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1354s # -r specify root type 1354s # -n don't descend type tree 1354s # -h show help 1354s # -b specify indent string 1354s # -i specify incremental indent string 1354s # -s specify line spacing 1354s # qualifiers: 1354s # froots iterate over fundamental roots 1354s # tree print type tree 1354s ok 3 __main__.TestGobjectQuery.test_tree 1354s # gobject-query: /usr/bin/gobject-query 1354s # Running: ['/usr/bin/gobject-query', 'tree'] 1354s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1354s # Output: GObject 1354s ok 4 __main__.TestGobjectQuery.test_version 1354s # gobject-query: /usr/bin/gobject-query 1354s # Running: ['/usr/bin/gobject-query', '--version'] 1354s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1354s # Output: 2.79.2 1354s 1..4 1354s ok - glib/gobject-query.py.test 1354s # Running test: glib/signals-refcount1.test 1354s TAP version 13 1354s # random seed: R02Sfe93c200e967bead60561bb86465c53d 1354s 1..1 1354s # Start of gobject tests 1354s # Start of refcount tests 1354s # init 0xb8f999c1a430 1354s # 1354s # init 0xb8f999c1a5d0 1354s # 1359s # Executing: glib/signals-refcount1.test 1359s # dispose 0xb8f999c1a430! 1359s # 1359s # dispose 0xb8f999c1a5d0! 1359s # 1359s ok 1 /gobject/refcount/signals 1359s # slow test /gobject/refcount/signals executed in 5.00 secs 1359s # End of refcount tests 1359s # End of gobject tests 1359s ok - glib/signals-refcount1.test 1359s # Running test: glib/queue.test 1359s TAP version 13 1359s # random seed: R02S16646f97010c825fadd71b2620136c55 1359s 1..12 1359s # Start of queue tests 1359s ok 1 /queue/basic 1359s ok 2 /queue/copy 1360s ok 3 /queue/off-by-one 1360s ok 4 /queue/find-custom 1360s ok 5 /queue/static 1360s ok 6 /queue/clear 1360s ok 7 /queue/free-full 1360s ok 8 /queue/clear-full 1360s ok 9 /queue/insert-sibling-link 1360s ok 10 /queue/push-nth-link 1360s # Start of clear-full tests 1360s ok 11 /queue/clear-full/noop 1360s # End of clear-full tests 1360s # Start of random tests 1360s ok 12 /queue/random/seed:600011382 1360s # End of random tests 1360s # End of queue tests 1360s ok - glib/queue.test 1360s # Running test: glib/charset.test 1360s TAP version 13 1360s # random seed: R02S01f5a1b8af1abd314960deeb8c2eb099 1360s 1..2 1360s # Start of charset tests 1360s # Test 0 1360s # Test 1 1360s # Test 2 1360s # Test 3 1360s ok 1 /charset/language_names_with_category 1360s ok 2 /charset/language_names_with_category_async 1360s # End of charset tests 1360s ok - glib/charset.test 1360s # Running test: glib/utils-c-90.test 1360s TAP version 13 1360s # random seed: R02S72a6c17d4e3da9cf986e855c4fd1ddfb 1360s 1..40 1360s # Start of utils tests 1360s ok 1 /utils/language-names 1360s ok 2 /utils/locale-variants 1360s ok 3 /utils/version 1360s ok 4 /utils/appname 1360s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1360s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1360s ok 5 /utils/prgname-thread-safety 1360s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1360s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1360s ok 6 /utils/tmpdir 1360s ok 7 /utils/basic_bits 1360s ok 8 /utils/bits 1360s ok 9 /utils/swap 1360s ok 10 /utils/find-program 1360s ok 11 /utils/find-program-for-path 1360s ok 12 /utils/debug 1360s ok 13 /utils/codeset 1360s ok 14 /utils/codeset2 1360s ok 15 /utils/console-charset 1360s ok 16 /utils/gettext 1360s ok 17 /utils/username 1360s ok 18 /utils/realname 1360s ok 19 /utils/hostname 1360s ok 20 /utils/xdgdirs 1360s ok 21 /utils/specialdir 1360s # NAME: Ubuntu 1360s ok 22 /utils/os-info 1360s ok 23 /utils/clear-pointer 1360s ok 24 /utils/clear-pointer-cast 1360s ok 25 /utils/take-pointer 1360s ok 26 /utils/clear-source 1360s ok 27 /utils/misc-mem 1360s # /utils/aligned-mem summary: Aligned memory allocator 1360s # Alignment must not be zero 1360s # Alignment must be a power of two 1360s # Alignment must be a multiple of sizeof(void*) 1360s ok 28 /utils/aligned-mem 1360s # /utils/free-sized summary: Check that g_free_sized() works 1360s ok 29 /utils/free-sized 1360s ok 30 /utils/nullify 1360s ok 31 /utils/atexit 1360s ok 32 /utils/check-setuid 1360s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1360s ok 33 /utils/int-limits 1360s ok 34 /utils/clear-list 1360s ok 35 /utils/clear-slist 1360s # Start of specialdir tests 1360s ok 36 /utils/specialdir/desktop 1360s # End of specialdir tests 1360s # Start of clear-pointer tests 1360s ok 37 /utils/clear-pointer/side-effects 1360s # End of clear-pointer tests 1360s # Start of aligned-mem tests 1360s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1360s ok 38 /utils/aligned-mem/alignment 1360s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1360s ok 39 /utils/aligned-mem/zeroed 1360s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1360s ok 40 /utils/aligned-mem/free-sized 1360s # Start of subprocess tests 1360s # End of subprocess tests 1360s # End of aligned-mem tests 1360s # End of utils tests 1360s ok - glib/utils-c-90.test 1360s # Running test: glib/object.test 1360s TAP version 13 1360s # random seed: R02S412148ec99a5cbdfba5ad8483fd6313a 1360s 1..2 1360s # Start of object tests 1360s # Start of constructor tests 1360s ok 1 /object/constructor/singleton 1360s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1360s # End of constructor tests 1360s # End of object tests 1360s ok - glib/object.test 1360s # Running test: glib/io-stream.test 1360s TAP version 13 1360s # random seed: R02S8725e5153e7d1dda433bb1c07f015a50 1360s 1..3 1360s # Start of io-stream tests 1360s ok 1 /io-stream/copy-chunks 1360s # Start of close tests 1360s # Start of async tests 1360s ok 2 /io-stream/close/async/memory 1360s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1360s ok 3 /io-stream/close/async/file 1360s # End of async tests 1360s # End of close tests 1360s # End of io-stream tests 1360s ok - glib/io-stream.test 1360s # Running test: glib/uri.test 1360s TAP version 13 1360s # random seed: R02S76d1af313ea72a499980613965cf942c 1360s 1..24 1360s # Start of uri tests 1360s ok 1 /uri/file-to-uri 1360s ok 2 /uri/file-from-uri 1360s ok 3 /uri/file-roundtrip 1360s ok 4 /uri/list 1360s # Test 0: %2Babc %4F 1360s # Test 1: %2Babc %4F 1360s # Test 2: %00abc %4F 1360s # Test 3: /cursors/none.png 1360s # Test 4: /cursors%2fbad-subdir/none.png 1360s # Test 5: %0 1360s # Test 6: %ra 1360s # Test 7: %2r 1360s # Test 8: Timm B?der 1360s # Test 9: (null) 1360s ok 5 /uri/unescape-string 1360s ok 6 /uri/unescape-segment 1360s # Test 0: abcdefgABCDEFG._~ 1360s # Test 1: :+ \\?# 1360s # Test 2: a+b:c 1360s # Test 3: a+b:c\303\234 1360s # Test 4: \374;\322 1360s # Test 5: \303\261\303( 1360s ok 7 /uri/escape-string 1360s ok 8 /uri/escape-bytes 1360s ok 9 /uri/scheme 1360s ok 10 /uri/build 1360s ok 11 /uri/split 1360s ok 12 /uri/is_valid 1360s ok 13 /uri/to-string 1360s ok 14 /uri/join 1360s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1360s # Combination 0 1360s # Combination 1 1360s # Combination 2 1360s # Combination 3 1360s # Combination 4 1360s # Combination 5 1360s # Combination 6 1360s # Combination 7 1360s # Combination 8 1360s # Combination 9 1360s # Combination 10 1360s # Combination 11 1360s # Combination 12 1360s # Combination 13 1360s # Combination 14 1360s # Combination 15 1360s # Combination 16 1360s # Combination 17 1360s # Combination 18 1360s # Combination 19 1360s # Combination 20 1360s # Combination 21 1360s # Combination 22 1360s # Combination 23 1360s # Combination 24 1360s # Combination 25 1360s # Combination 26 1360s # Combination 27 1360s # Combination 28 1360s # Combination 29 1360s # Combination 30 1360s # Combination 31 1360s # Combination 32 1360s # Combination 33 1360s # Combination 34 1360s # Combination 35 1360s # Combination 36 1360s # Combination 37 1360s # Combination 38 1360s # Combination 39 1360s # Combination 40 1360s # Combination 41 1360s # Combination 42 1360s # Combination 43 1360s # Combination 44 1360s # Combination 45 1360s # Combination 46 1360s # Combination 47 1360s # Combination 48 1360s # Combination 49 1360s # Combination 50 1360s # Combination 51 1360s # Combination 52 1360s # Combination 53 1360s # Combination 54 1360s # Combination 55 1360s # Combination 56 1360s # Combination 57 1360s # Combination 58 1360s # Combination 59 1360s # Combination 60 1360s # Combination 61 1360s # Combination 62 1360s # Combination 63 1360s # Combination 64 1360s # Combination 65 1360s # Combination 66 1360s # Combination 67 1360s # Combination 68 1360s # Combination 69 1360s # Combination 70 1360s # Combination 71 1360s # Combination 72 1360s # Combination 73 1360s # Combination 74 1360s # Combination 75 1360s # Combination 76 1360s # Combination 77 1360s # Combination 78 1360s # Combination 79 1360s # Combination 80 1360s # Combination 81 1360s # Combination 82 1360s # Combination 83 1360s # Combination 84 1360s # Combination 85 1360s # Combination 86 1360s # Combination 87 1360s # Combination 88 1360s # Combination 89 1360s # Combination 90 1360s # Combination 91 1360s # Combination 92 1360s # Combination 93 1360s # Combination 94 1360s # Combination 95 1360s # Combination 96 1360s # Combination 97 1360s # Combination 98 1360s # Combination 99 1360s # Combination 100 1360s # Combination 101 1360s # Combination 102 1360s # Combination 103 1360s # Combination 104 1360s # Combination 105 1360s # Combination 106 1360s # Combination 107 1360s # Combination 108 1360s # Combination 109 1360s # Combination 110 1360s # Combination 111 1360s # Combination 112 1360s # Combination 113 1360s # Combination 114 1360s # Combination 115 1360s # Combination 116 1360s # Combination 117 1360s # Combination 118 1360s # Combination 119 1360s # Combination 120 1360s # Combination 121 1360s # Combination 122 1360s # Combination 123 1360s # Combination 124 1360s # Combination 125 1360s # Combination 126 1360s # Combination 127 1360s # Combination 128 1360s # Combination 129 1360s # Combination 130 1360s # Combination 131 1360s # Combination 132 1360s # Combination 133 1360s # Combination 134 1360s # Combination 135 1360s # Combination 136 1360s # Combination 137 1360s # Combination 138 1360s # Combination 139 1360s # Combination 140 1360s # Combination 141 1360s # Combination 142 1360s # Combination 143 1360s # Combination 144 1360s # Combination 145 1360s # Combination 146 1360s # Combination 147 1360s # Combination 148 1360s # Combination 149 1360s # Combination 150 1360s # Combination 151 1360s # Combination 152 1360s # Combination 153 1360s # Combination 154 1360s # Combination 155 1360s # Combination 156 1360s # Combination 157 1360s # Combination 158 1360s # Combination 159 1360s # Combination 160 1360s # Combination 161 1360s # Combination 162 1360s # Combination 163 1360s # Combination 164 1360s # Combination 165 1360s # Combination 166 1360s # Combination 167 1360s # Combination 168 1360s # Combination 169 1360s # Combination 170 1360s # Combination 171 1360s # Combination 172 1360s # Combination 173 1360s # Combination 174 1360s # Combination 175 1360s # Combination 176 1360s # Combination 177 1360s # Combination 178 1360s # Combination 179 1360s # Combination 180 1360s # Combination 181 1360s # Combination 182 1360s # Combination 183 1360s # Combination 184 1360s # Combination 185 1360s # Combination 186 1360s # Combination 187 1360s # Combination 188 1360s # Combination 189 1360s # Combination 190 1360s # Combination 191 1360s # Combination 192 1360s # Combination 193 1360s # Combination 194 1360s # Combination 195 1360s # Combination 196 1360s # Combination 197 1360s # Combination 198 1360s # Combination 199 1360s # Combination 200 1360s # Combination 201 1360s # Combination 202 1360s # Combination 203 1360s # Combination 204 1360s # Combination 205 1360s # Combination 206 1360s # Combination 207 1360s # Combination 208 1360s # Combination 209 1360s # Combination 210 1360s # Combination 211 1360s # Combination 212 1360s # Combination 213 1360s # Combination 214 1360s # Combination 215 1360s # Combination 216 1360s # Combination 217 1360s # Combination 218 1360s # Combination 219 1360s # Combination 220 1360s # Combination 221 1360s # Combination 222 1360s # Combination 223 1360s # Combination 224 1360s # Combination 225 1360s # Combination 226 1360s # Combination 227 1360s # Combination 228 1360s # Combination 229 1360s # Combination 230 1360s # Combination 231 1360s # Combination 232 1360s # Combination 233 1360s # Combination 234 1360s # Combination 235 1360s # Combination 236 1360s # Combination 237 1360s # Combination 238 1360s # Combination 239 1360s # Combination 240 1360s # Combination 241 1360s # Combination 242 1360s # Combination 243 1360s # Combination 244 1360s # Combination 245 1360s # Combination 246 1360s # Combination 247 1360s # Combination 248 1360s # Combination 249 1360s # Combination 250 1360s # Combination 251 1360s # Combination 252 1360s # Combination 253 1360s # Combination 254 1360s # Combination 255 1360s ok 15 /uri/join-split-round-trip 1360s ok 16 /uri/normalize 1360s # Start of unescape-bytes tests 1360s # Test 0: %00%00 1360s # Test 1: /cursors/none.png 1360s # Test 2: /cursors%2fbad-subdir/none.png 1360s # Test 3: %% 1360s # Test 4: % 1360s ok 17 /uri/unescape-bytes/nul-terminated 1360s # Test 0: %00%00 1360s # Test 1: /cursors/none.png 1360s # Test 2: /cursors%2fbad-subdir/none.png 1360s # Test 3: %% 1360s # Test 4: % 1360s ok 18 /uri/unescape-bytes/length 1360s # End of unescape-bytes tests 1360s # Start of parsing tests 1360s # Test 0: foo: 1360s # Test 1: file:/dev/null 1360s # Test 2: file:///dev/null 1360s # Test 3: ftp://user@host/path 1360s # Test 4: ftp://user@host:9999/path 1360s # Test 5: ftp://user:password@host/path 1360s # Test 6: ftp://user:password@host:9999/path 1360s # Test 7: ftp://user:password@host 1360s # Test 8: http://us%65r@host 1360s # Test 9: http://us%40r@host 1360s # Test 10: http://us%3ar@host 1360s # Test 11: http://us%2fr@host 1360s # Test 12: http://us%3fr@host 1360s # Test 13: http://host?query 1360s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1360s # 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 1360s # Test 16: http://space/%20 1360s # Test 17: http://delims/%3C%3E%23%25%22 1360s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1360s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1360s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1360s # Test 21: http://[3ffe:2a00:100:7031::1] 1360s # Test 22: http://[1080::8:800:200C:417A]/foo 1360s # Test 23: http://[::192.9.5.5]/ipng 1360s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1360s # Test 25: http://[2010:836B:4179::836B:4179] 1360s # Test 26: http://host/path with spaces 1360s # Test 27: http://host/path 1360s # Test 28: http://host/path 1360s # Test 29: http://host 1360s # Test 30: http://host:999 1360s # Test 31: http://host/pa 1360s # th 1360s # Test 32: http: 1360s # //host/path 1360s # Test 33: http:// host/path 1360s # Test 34: http://host/path? 1360s # Test 35: http://host/path# 1360s # Test 36: http://host/path% 1360s # Test 37: http://h%ost/path 1360s # Test 38: http://host/path%% 1360s # Test 39: http://host/path%%% 1360s # Test 40: http://host/path%/x/ 1360s # Test 41: http://host/path%0x/ 1360s # Test 42: http://host/path%ax 1360s # Test 43: http://host/p?th/ 1360s # Test 44: HTTP://////////////// 1360s # Test 45: http://@host 1360s # Test 46: http://:@host 1360s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1360s # Test 48: http://example.com/.. 1360s # Test 49: foo0://host/path 1360s # Test 50: f0.o://host/path 1360s # Test 51: http++://host/path 1360s # Test 52: http-ish://host/path 1360s # Test 53: http://[fe80::dead:beef%]/ 1360s # Test 54: http://[fe80::dead:beef%em1]/ 1360s # Test 55: http://[fe80::dead:beef%em1]/ 1360s # Test 56: http://[fe80::dead:beef%25em1]/ 1360s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1360s # Test 58: http://[fe80::dead:beef%25em%31]/ 1360s # Test 59: http://[fe80::dead:beef%10]/ 1360s # Test 60: http://[fe80::dead:beef%10]/ 1360s # Test 61: http://[fe80::dead:beef%25]/ 1360s # Test 62: http://[fe80::dead:beef%25]/ 1360s # Test 63: http://[192.168.0.1%25em1]/ 1360s # Test 64: http://[fe80::dead:beef%2em1]/ 1360s # Test 65: http://[fe80::dead:beef%2em1]/ 1360s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1360s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1360s # Test 68: http://xn--mixed-?p/ 1360s ok 19 /uri/parsing/absolute 1360s ok 20 /uri/parsing/relative 1360s # End of parsing tests 1360s # Start of iter-params tests 1360s # URI 0: p1=foo&p2=bar;p3=baz 1360s # URI 1: p1=foo&p2=bar 1360s # URI 2: p1=foo&&P1=bar 1360s # URI 3: %00=foo 1360s # URI 4: p1=%00 1360s # URI 5: p1=foo&p1=bar 1360s # URI 6: p1=foo&P1=bar 1360s # URI 7: =% 1360s # URI 8: = 1360s # URI 9: foo 1360s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1360s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1360s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1360s ok 21 /uri/iter-params/nul-terminated 1360s # URI 0: p1=foo&p2=bar;p3=baz 1360s # URI 1: p1=foo&p2=bar 1360s # URI 2: p1=foo&&P1=bar 1360s # URI 3: %00=foo 1360s # URI 4: p1=%00 1360s # URI 5: p1=foo&p1=bar 1360s # URI 6: p1=foo&P1=bar 1360s # URI 7: =% 1360s # URI 8: = 1360s # URI 9: foo 1360s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1360s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1360s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1360s ok 22 /uri/iter-params/length 1360s # End of iter-params tests 1360s # Start of parse-params tests 1360s # URI 0: p1=foo&p2=bar;p3=baz 1360s # URI 1: p1=foo&p2=bar 1360s # URI 2: p1=foo&&P1=bar 1360s # URI 3: %00=foo 1360s # URI 4: p1=%00 1360s # URI 5: p1=foo&p1=bar 1360s # URI 6: p1=foo&P1=bar 1360s # URI 7: =% 1360s # URI 8: = 1360s # URI 9: foo 1360s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1360s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1360s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1360s ok 23 /uri/parse-params/nul-terminated 1360s # URI 0: p1=foo&p2=bar;p3=baz 1360s # URI 1: p1=foo&p2=bar 1360s # URI 2: p1=foo&&P1=bar 1360s # URI 3: %00=foo 1360s # URI 4: p1=%00 1360s # URI 5: p1=foo&p1=bar 1360s # URI 6: p1=foo&P1=bar 1360s # URI 7: =% 1360s # URI 8: = 1360s # URI 9: foo 1360s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1360s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1360s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1360s ok 24 /uri/parse-params/length 1360s # End of parse-params tests 1360s # End of uri tests 1360s ok - glib/uri.test 1360s # Running test: glib/memory-monitor.test 1360s TAP version 13 1360s # random seed: R02S8af06099724592c0b3ee9a9bf7455550 1360s 1..1 1360s # Start of memory-monitor tests 1360s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1360s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1360s ok 1 /memory-monitor/default 1360s # End of memory-monitor tests 1360s ok - glib/memory-monitor.test 1360s # Running test: glib/utf8-pointer.test 1360s TAP version 13 1360s # random seed: R02S58d151e305808320f52024b7b79d25a7 1360s 1..3 1360s # Start of utf8 tests 1361s ok 1 /utf8/offsets 1361s # slow test /utf8/offsets executed in 1.01 secs 1361s ok 2 /utf8/lengths 1361s ok 3 /utf8/find 1361s # End of utf8 tests 1361s ok - glib/utf8-pointer.test 1361s # Running test: glib/signals-refcount4.test 1361s TAP version 13 1361s # random seed: R02S17f59914de38b333e133221ba7e21703 1361s 1..1 1361s # Start of gobject tests 1361s # Start of refcount tests 1361s # init 0xaf8ead07c430 1361s # 1361s # init 0xaf8ead07c5d0 1361s # 1364s # Executing: glib/signals-refcount4.test 1366s # dispose 0xaf8ead07c430! 1366s # 1366s # dispose 0xaf8ead07c5d0! 1366s # 1366s ok 1 /gobject/refcount/signals 1366s # slow test /gobject/refcount/signals executed in 5.01 secs 1366s # End of refcount tests 1366s # End of gobject tests 1366s ok - glib/signals-refcount4.test 1366s # Running test: glib/gdbus-connection.test 1366s TAP version 13 1366s # random seed: R02S1ab46cc37ecce11b60449503038654b3 1366s 1..9 1366s # Start of gdbus tests 1366s # Start of connection tests 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/bus-failure/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/bus-failure/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/bus-failure/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/bus-failure/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/bus-failure/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/bus-failure/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/bus-failure/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/bus-failure/.dirs/runtime 1366s ok 1 /gdbus/connection/bus-failure 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/basic/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/basic/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/basic/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/basic/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/basic/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/basic/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/basic/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/basic/.dirs/runtime 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s ok 2 /gdbus/connection/basic 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/life-cycle/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/life-cycle/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/life-cycle/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/life-cycle/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/life-cycle/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/life-cycle/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/life-cycle/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/life-cycle/.dirs/runtime 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s ok 3 /gdbus/connection/life-cycle 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/send/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/send/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/send/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/send/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/send/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/send/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/send/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/send/.dirs/runtime 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s ok 4 /gdbus/connection/send 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signals/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signals/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signals/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signals/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signals/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signals/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signals/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signals/.dirs/runtime 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s ok 5 /gdbus/connection/signals 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signal-match-rules/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signal-match-rules/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signal-match-rules/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signal-match-rules/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signal-match-rules/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signal-match-rules/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signal-match-rules/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/signal-match-rules/.dirs/runtime 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s ok 6 /gdbus/connection/signal-match-rules 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/filter/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/filter/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/filter/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/filter/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/filter/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/filter/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/filter/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/filter/.dirs/runtime 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s ok 7 /gdbus/connection/filter 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/serials/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/serials/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/serials/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/serials/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/serials/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/serials/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/serials/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/serials/.dirs/runtime 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s ok 8 /gdbus/connection/serials 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/cancel/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/cancel/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/cancel/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/cancel/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_O9B0K2/gdbus/connection/cancel/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/cancel/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/cancel/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_O9B0K2/gdbus/connection/cancel/.dirs/runtime 1366s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s ok 9 /gdbus/connection/cancel 1366s # End of connection tests 1366s # End of gdbus tests 1366s ok - glib/gdbus-connection.test 1366s # Running test: glib/sleepy-stream.test 1366s TAP version 13 1366s # random seed: R02S047ea3cd042236c2ebca5cb193bf8aa5 1366s 1..2 1366s # Start of filter-stream tests 1366s ok 1 /filter-stream/input 1366s ok 2 /filter-stream/async 1366s # End of filter-stream tests 1366s ok - glib/sleepy-stream.test 1366s # Running test: glib/protocol.test 1366s TAP version 13 1366s # random seed: R02Sd530629cf88a5a3aa21bf1fe749e3411 1366s 1..9 1366s # Start of glib tests 1366s # Start of testing tests 1366s # Start of protocol tests 1366s ok 1 /glib/testing/protocol/debug 1366s ok 2 /glib/testing/protocol/info 1366s ok 3 /glib/testing/protocol/message 1366s ok 4 /glib/testing/protocol/warning 1366s ok 5 /glib/testing/protocol/critical 1366s ok 6 /glib/testing/protocol/error 1366s ok 7 /glib/testing/protocol/gtest-message 1366s ok 8 /glib/testing/protocol/test-message 1366s ok 9 /glib/testing/protocol/test-error 1366s # End of protocol tests 1366s # End of testing tests 1366s # End of glib tests 1366s ok - glib/protocol.test 1366s # Running test: glib/strfuncs.test 1366s TAP version 13 1366s # random seed: R02S1989c1bad18f5977a9e47552d10867ca 1366s 1..50 1366s # Start of strfuncs tests 1366s ok 1 /strfuncs/ascii-strcasecmp 1366s ok 2 /strfuncs/ascii_strdown 1366s ok 3 /strfuncs/ascii_strdup 1366s ok 4 /strfuncs/ascii_strtod 1366s ok 5 /strfuncs/bounds-check 1366s ok 6 /strfuncs/has-prefix 1366s ok 7 /strfuncs/has-prefix-macro 1366s ok 8 /strfuncs/has-suffix 1366s ok 9 /strfuncs/has-suffix-macro 1366s ok 10 /strfuncs/memdup 1366s ok 11 /strfuncs/memdup2 1366s ok 12 /strfuncs/set_str 1366s ok 13 /strfuncs/stpcpy 1366s ok 14 /strfuncs/str_match_string 1366s ok 15 /strfuncs/str_tokenize_and_fold 1366s ok 16 /strfuncs/strcanon 1366s ok 17 /strfuncs/strchomp 1366s ok 18 /strfuncs/strchug 1366s ok 19 /strfuncs/strcompress-strescape 1366s ok 20 /strfuncs/strconcat 1366s ok 21 /strfuncs/strdelimit 1366s ok 22 /strfuncs/strdup 1366s ok 23 /strfuncs/strdup-printf 1366s ok 24 /strfuncs/strdupv 1366s ok 25 /strfuncs/strerror 1366s ok 26 /strfuncs/strip-context 1366s ok 27 /strfuncs/strjoin 1366s ok 28 /strfuncs/strjoinv 1366s ok 29 /strfuncs/strlcat 1366s ok 30 /strfuncs/strlcpy 1366s ok 31 /strfuncs/strncasecmp 1366s ok 32 /strfuncs/strndup 1366s ok 33 /strfuncs/strnfill 1366s ok 34 /strfuncs/strreverse 1366s ok 35 /strfuncs/strsignal 1366s ok 36 /strfuncs/strsplit 1366s ok 37 /strfuncs/strsplit-set 1366s ok 38 /strfuncs/strstr 1366s ok 39 /strfuncs/strtod 1366s ok 40 /strfuncs/strtoull-strtoll 1366s ok 41 /strfuncs/strup 1366s ok 42 /strfuncs/strv-contains 1366s ok 43 /strfuncs/strv-equal 1366s ok 44 /strfuncs/strv-length 1366s ok 45 /strfuncs/test-is-to-digit 1366s ok 46 /strfuncs/transliteration 1366s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1366s ok 47 /strfuncs/str-equal 1366s # Start of ascii-string-to-num tests 1366s ok 48 /strfuncs/ascii-string-to-num/pathological 1366s ok 49 /strfuncs/ascii-string-to-num/usual 1366s # End of ascii-string-to-num tests 1366s # Start of strdup tests 1366s ok 50 /strfuncs/strdup/inline 1366s # End of strdup tests 1366s # End of strfuncs tests 1366s ok - glib/strfuncs.test 1366s # Running test: glib/union-info.test 1366s TAP version 13 1366s # random seed: R02S23d6f7d44f149f51f5ef809351b79200 1366s 1..2 1366s # Start of union-info tests 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_MRYIK2/union-info/basic/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_MRYIK2/union-info/basic/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_MRYIK2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_MRYIK2/union-info/basic/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_MRYIK2/union-info/basic/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_MRYIK2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_MRYIK2/union-info/basic/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_MRYIK2/union-info/basic/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_MRYIK2/union-info/basic/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_MRYIK2/union-info/basic/.dirs/runtime 1366s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1366s # /union-info/basic summary: Test basic properties of GIUnionInfo 1366s ok 1 /union-info/basic 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_MRYIK2/union-info/methods/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_MRYIK2/union-info/methods/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_MRYIK2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_MRYIK2/union-info/methods/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_MRYIK2/union-info/methods/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_MRYIK2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_MRYIK2/union-info/methods/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_MRYIK2/union-info/methods/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_MRYIK2/union-info/methods/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_MRYIK2/union-info/methods/.dirs/runtime 1366s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1366s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1366s ok 2 /union-info/methods 1366s # End of union-info tests 1366s ok - glib/union-info.test 1366s # Running test: glib/gdbus-bz627724.test 1366s TAP version 13 1366s # random seed: R02S1b16939a9710b871ef3d3f9433c863e2 1366s 1..1 1366s # Start of gdbus tests 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_B5PIK2/gdbus/bz627724/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_B5PIK2/gdbus/bz627724/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_B5PIK2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_B5PIK2/gdbus/bz627724/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_B5PIK2/gdbus/bz627724/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_B5PIK2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_B5PIK2/gdbus/bz627724/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_B5PIK2/gdbus/bz627724/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_B5PIK2/gdbus/bz627724/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_B5PIK2/gdbus/bz627724/.dirs/runtime 1366s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s ok 1 /gdbus/bz627724 1366s # End of gdbus tests 1366s ok - glib/gdbus-bz627724.test 1366s # Running test: glib/contenttype.test 1366s TAP version 13 1366s # random seed: R02Sdefd5c59f0b0bab2a2afabf310b5fc5d 1366s 1..13 1366s # Start of contenttype tests 1366s ok 1 /contenttype/guess 1366s ok 2 /contenttype/guess_svg_from_data 1366s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1366s ok 4 /contenttype/unknown 1366s ok 5 /contenttype/subtype 1366s ok 6 /contenttype/list 1366s ok 7 /contenttype/executable 1366s ok 8 /contenttype/description 1366s ok 9 /contenttype/icon 1366s ok 10 /contenttype/symbolic-icon 1366s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1366s ok 11 /contenttype/tree 1366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1366s ok 12 /contenttype/tree_invalid_encoding 1366s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1366s ok 13 /contenttype/test_type_is_a_special_case 1366s # End of contenttype tests 1366s ok - glib/contenttype.test 1366s # Running test: glib/slist.test 1366s TAP version 13 1366s # random seed: R02Sc8e6c0606131ac259176232591c5b0ac 1366s 1..14 1366s # Start of slist tests 1366s ok 1 /slist/sort 1366s ok 2 /slist/sort-with-data 1366s ok 3 /slist/insert-sorted 1366s ok 4 /slist/insert-sorted-with-data 1366s ok 5 /slist/reverse 1366s ok 6 /slist/nth 1366s ok 7 /slist/remove 1366s ok 8 /slist/remove-all 1366s ok 9 /slist/insert 1366s ok 10 /slist/position 1366s ok 11 /slist/concat 1366s ok 12 /slist/copy 1366s # Start of sort tests 1366s ok 13 /slist/sort/stable 1366s # End of sort tests 1366s # Start of copy tests 1366s ok 14 /slist/copy/deep 1366s # End of copy tests 1366s # End of slist tests 1366s ok - glib/slist.test 1366s # Running test: glib/mem-overflow.test 1366s TAP version 13 1366s # random seed: R02Sa554617dbcfb56306e4ce4369d62f94a 1366s 1..2 1366s # Start of mem tests 1366s ok 1 /mem/overflow 1366s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1366s ok 2 /mem/empty-alloc 1366s # Start of overflow tests 1366s # Start of subprocess tests 1366s # End of subprocess tests 1366s # End of overflow tests 1366s # Start of empty-alloc tests 1366s # End of empty-alloc tests 1366s # End of mem tests 1366s ok - glib/mem-overflow.test 1366s # Running test: glib/markup-escape.test 1366s TAP version 13 1366s # random seed: R02Sb563c372ced4d3d1ce5f80ef63e482b7 1366s 1..41 1366s # Start of markup tests 1366s ok 1 /markup/format 1366s # Start of escape-text tests 1366s ok 2 /markup/escape-text/0 1366s ok 3 /markup/escape-text/1 1366s ok 4 /markup/escape-text/2 1366s ok 5 /markup/escape-text/3 1366s ok 6 /markup/escape-text/4 1366s ok 7 /markup/escape-text/5 1366s ok 8 /markup/escape-text/6 1366s ok 9 /markup/escape-text/7 1366s ok 10 /markup/escape-text/8 1366s ok 11 /markup/escape-text/9 1366s ok 12 /markup/escape-text/10 1366s ok 13 /markup/escape-text/11 1366s ok 14 /markup/escape-text/12 1366s ok 15 /markup/escape-text/13 1366s ok 16 /markup/escape-text/14 1366s ok 17 /markup/escape-text/15 1366s ok 18 /markup/escape-text/16 1366s ok 19 /markup/escape-text/17 1366s ok 20 /markup/escape-text/18 1366s ok 21 /markup/escape-text/19 1366s ok 22 /markup/escape-text/20 1366s ok 23 /markup/escape-text/21 1366s ok 24 /markup/escape-text/22 1366s # End of escape-text tests 1366s # Start of escape-unichar tests 1366s ok 25 /markup/escape-unichar/0 1366s ok 26 /markup/escape-unichar/1 1366s ok 27 /markup/escape-unichar/2 1366s ok 28 /markup/escape-unichar/3 1366s ok 29 /markup/escape-unichar/4 1366s ok 30 /markup/escape-unichar/5 1366s ok 31 /markup/escape-unichar/6 1366s ok 32 /markup/escape-unichar/7 1366s ok 33 /markup/escape-unichar/8 1366s ok 34 /markup/escape-unichar/9 1366s ok 35 /markup/escape-unichar/10 1366s ok 36 /markup/escape-unichar/11 1366s ok 37 /markup/escape-unichar/12 1366s ok 38 /markup/escape-unichar/13 1366s ok 39 /markup/escape-unichar/14 1366s ok 40 /markup/escape-unichar/15 1366s ok 41 /markup/escape-unichar/16 1366s # End of escape-unichar tests 1366s # End of markup tests 1366s ok - glib/markup-escape.test 1366s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1366s TAP version 13 1366s # random seed: R02S1d2f693ec063aa5fd4fb95ae15ffd515 1366s 1..8 1366s # Start of gdbus tests 1366s # Start of codegen tests 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/annotations/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/annotations/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/annotations/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/annotations/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/annotations/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/annotations/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/annotations/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/annotations/.dirs/runtime 1366s ok 1 /gdbus/codegen/annotations 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/interface_stability/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/interface_stability/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/interface_stability/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/interface_stability/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/interface_stability/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/interface_stability/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/interface_stability/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/interface_stability/.dirs/runtime 1366s ok 2 /gdbus/codegen/interface_stability 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/object-manager/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/object-manager/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/object-manager/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/object-manager/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/object-manager/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/object-manager/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/object-manager/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/object-manager/.dirs/runtime 1366s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1366s ok 3 /gdbus/codegen/object-manager 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/property-naming/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/property-naming/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/property-naming/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/property-naming/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/property-naming/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/property-naming/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/property-naming/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/property-naming/.dirs/runtime 1366s ok 4 /gdbus/codegen/property-naming 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/autocleanups/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/autocleanups/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/autocleanups/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/autocleanups/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/autocleanups/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/autocleanups/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/autocleanups/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/autocleanups/.dirs/runtime 1366s ok 5 /gdbus/codegen/autocleanups 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/deprecations/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/deprecations/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/deprecations/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/deprecations/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/deprecations/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/deprecations/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/deprecations/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/deprecations/.dirs/runtime 1366s ok 6 /gdbus/codegen/deprecations 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/standalone-interface-info/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/standalone-interface-info/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/standalone-interface-info/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/standalone-interface-info/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1366s ok 7 /gdbus/codegen/standalone-interface-info 1366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/unix-fd-list/.dirs/home 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/unix-fd-list/.dirs/cache 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/unix-fd-list/.dirs/config 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/unix-fd-list/.dirs/data 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/unix-fd-list/.dirs/state 1366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_36MLK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1366s ok 8 /gdbus/codegen/unix-fd-list 1366s # End of codegen tests 1366s # End of gdbus tests 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1366s ok - glib/gdbus-test-codegen-min-required-2-64.test 1366s # Running test: glib/onceinit.test 1366s TAP version 13 1366s # random seed: R02S7bda387759292dda2f217e45c1078944 1366s 1..1 1366s # Start of thread tests 1366s ok 1 /thread/onceinit 1366s # End of thread tests 1366s ok - glib/onceinit.test 1366s # Running test: glib/asyncqueue.test 1366s TAP version 13 1366s # random seed: R02S56f0a1ed335731e64c659101ff425b25 1366s 1..7 1366s # Start of asyncqueue tests 1366s ok 1 /asyncqueue/basics 1366s ok 2 /asyncqueue/sort 1366s ok 3 /asyncqueue/destroy 1367s ok 4 /asyncqueue/threads 1367s ok 5 /asyncqueue/timed 1367s ok 6 /asyncqueue/remove 1367s ok 7 /asyncqueue/push_front 1367s # End of asyncqueue tests 1367s ok - glib/asyncqueue.test 1367s # Running test: glib/module-test-plugin.test 1367s TAP version 13 1367s # random seed: R02Se2c3989272563c7bc8f3b786855a0690 1367s 1..2 1367s # Start of module tests 1367s ok 1 /module/basics 1367s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1367s ok 2 /module/invalid-libtool-archive 1367s # End of module tests 1367s ok - glib/module-test-plugin.test 1367s # Running test: glib/vfs.test 1367s TAP version 13 1367s # random seed: R02S35f79efc9a9e4fbc09c023a69e0a381b 1367s 1..3 1367s # Start of gvfs tests 1367s ok 1 /gvfs/local 1367s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1367s ok 2 /gvfs/register-scheme 1367s # Start of resource tests 1367s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1367s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1367s ok 3 /gvfs/resource/malformed-escaping 1367s # End of resource tests 1367s # End of gvfs tests 1367s ok - glib/vfs.test 1367s # Running test: glib/messages-low-memory.py.test 1367s TAP version 13 1367s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1367s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1367s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1367s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1367s # Return code: -6 1367s # Output: 1367s # Error: GLib-Message: 11:47:13.464: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1367s # GLib-Message: 11:47:13.464: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1367s # ../../../glib/gprintf.c:350: failed to allocate memory 1367s 1..1 1367s ok - glib/messages-low-memory.py.test 1367s # Running test: glib/collate.test 1367s TAP version 13 1367s # random seed: R02S918fa7b264a42603486fa777ffc58fbc 1367s 1..9 1367s # Start of unicode tests 1367s # Start of collate tests 1367s ok 1 /unicode/collate/0 1367s ok 2 /unicode/collate/1 1367s ok 3 /unicode/collate/2 1367s # End of collate tests 1367s # Start of collate-key tests 1367s ok 4 /unicode/collate-key/0 1367s ok 5 /unicode/collate-key/1 1367s ok 6 /unicode/collate-key/2 1367s # End of collate-key tests 1367s # Start of collate-filename tests 1367s ok 7 /unicode/collate-filename/0 1367s ok 8 /unicode/collate-filename/1 1367s ok 9 /unicode/collate-filename/2 1367s # End of collate-filename tests 1367s # End of unicode tests 1367s ok - glib/collate.test 1367s # Running test: glib/module-test-library.test 1367s TAP version 13 1367s # random seed: R02S9fc216fa752e984c6b26413b4868f2d1 1367s 1..2 1367s # Start of module tests 1367s ok 1 /module/basics 1367s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1367s ok 2 /module/invalid-libtool-archive 1367s # End of module tests 1367s ok - glib/module-test-library.test 1367s # Running test: glib/rcbox.test 1367s TAP version 13 1367s # random seed: R02S8ee5a8ad8d3cec8d9ed7ceaecda21329 1367s 1..8 1367s # Start of rcbox tests 1367s ok 1 /rcbox/new 1367s # global_point = 0xbb3947dbc8d0 1367s ok 2 /rcbox/release-full 1367s # global_point_a = 0xbb3947dbc8d0 1367s # global_point_b = 0xbb3947dbc890 1367s ok 3 /rcbox/dup 1367s ok 4 /rcbox/alignment 1367s # End of rcbox tests 1367s # Start of atomic-rcbox tests 1367s ok 5 /atomic-rcbox/new 1367s # global_point = 0xbb3947dbcaa0 1367s ok 6 /atomic-rcbox/release-full 1367s # global_point_a = 0xbb3947dbcaa0 1367s # global_point_b = 0xbb3947dbca60 1367s ok 7 /atomic-rcbox/dup 1367s ok 8 /atomic-rcbox/alignment 1367s # End of atomic-rcbox tests 1367s ok - glib/rcbox.test 1367s # Running test: glib/relation.test 1367s TAP version 13 1367s # random seed: R02S4ff0627fa1cfd84a5ba7d2a9ac834a97 1367s 1..1 1367s # Start of glib tests 1367s ok 1 /glib/relation 1367s # End of glib tests 1367s ok - glib/relation.test 1367s # Running test: glib/dataset.test 1367s TAP version 13 1367s # random seed: R02Sae9dcc548e22dffa99172fd9dd6c2bda 1367s 1..14 1367s # Start of quark tests 1367s ok 1 /quark/basic 1367s ok 2 /quark/string 1367s # End of quark tests 1367s # Start of dataset tests 1367s ok 3 /dataset/basic 1367s ok 4 /dataset/id 1367s ok 5 /dataset/full 1367s ok 6 /dataset/foreach 1367s ok 7 /dataset/destroy 1367s # End of dataset tests 1367s # Start of datalist tests 1367s ok 8 /datalist/basic 1367s ok 9 /datalist/id 1367s ok 10 /datalist/recursive-clear 1367s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1367s ok 11 /datalist/id-remove-multiple 1367s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1367s ok 12 /datalist/id-remove-multiple-destroy-order 1367s ok 13 /datalist/update-atomic 1367s # Start of id-remove-multiple tests 1367s ok 14 /datalist/id-remove-multiple/resize 1367s # End of id-remove-multiple tests 1367s # End of datalist tests 1367s ok - glib/dataset.test 1367s # Running test: glib/sort.test 1367s TAP version 13 1367s # random seed: R02Se54b6373e450219f387e599e2e84e792 1367s 1..4 1367s # Start of sort tests 1367s ok 1 /sort/basic 1367s ok 2 /sort/zero-elements 1367s ok 3 /sort/stable 1367s ok 4 /sort/big 1367s # End of sort tests 1367s ok - glib/sort.test 1367s # Running test: glib/throws.test 1367s TAP version 13 1367s # random seed: R02Sd6ddc5dad6b77be09ca3f527464fcaf6 1367s 1..3 1367s # Start of throws tests 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_QELKK2/throws/invoke-gerror/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_QELKK2/throws/invoke-gerror/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_QELKK2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_QELKK2/throws/invoke-gerror/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_QELKK2/throws/invoke-gerror/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_QELKK2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_QELKK2/throws/invoke-gerror/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_QELKK2/throws/invoke-gerror/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_QELKK2/throws/invoke-gerror/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_QELKK2/throws/invoke-gerror/.dirs/runtime 1367s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1367s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1367s ok 1 /throws/invoke-gerror 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_QELKK2/throws/vfunc-can-throw-gerror/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_QELKK2/throws/vfunc-can-throw-gerror/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_QELKK2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_QELKK2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_QELKK2/throws/vfunc-can-throw-gerror/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_QELKK2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_QELKK2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_QELKK2/throws/vfunc-can-throw-gerror/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_QELKK2/throws/vfunc-can-throw-gerror/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_QELKK2/throws/vfunc-can-throw-gerror/.dirs/runtime 1367s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1367s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1367s ok 2 /throws/vfunc-can-throw-gerror 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_QELKK2/throws/callback-can-throw-gerror/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_QELKK2/throws/callback-can-throw-gerror/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_QELKK2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_QELKK2/throws/callback-can-throw-gerror/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_QELKK2/throws/callback-can-throw-gerror/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_QELKK2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_QELKK2/throws/callback-can-throw-gerror/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_QELKK2/throws/callback-can-throw-gerror/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_QELKK2/throws/callback-can-throw-gerror/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_QELKK2/throws/callback-can-throw-gerror/.dirs/runtime 1367s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1367s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1367s ok 3 /throws/callback-can-throw-gerror 1367s # End of throws tests 1367s ok - glib/throws.test 1367s # Running test: glib/sandbox.test 1367s TAP version 13 1367s # random seed: R02S0a8681e4d862c3cdc080c32f874d34bb 1367s 1..4 1367s # Start of sandbox tests 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_EOVIK2/sandbox/none/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_EOVIK2/sandbox/none/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_EOVIK2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_EOVIK2/sandbox/none/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_EOVIK2/sandbox/none/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_EOVIK2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_EOVIK2/sandbox/none/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_EOVIK2/sandbox/none/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_EOVIK2/sandbox/none/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_EOVIK2/sandbox/none/.dirs/runtime 1367s ok 1 /sandbox/none 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_EOVIK2/sandbox/snap/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_EOVIK2/sandbox/snap/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_EOVIK2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_EOVIK2/sandbox/snap/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_EOVIK2/sandbox/snap/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_EOVIK2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_EOVIK2/sandbox/snap/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_EOVIK2/sandbox/snap/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_EOVIK2/sandbox/snap/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_EOVIK2/sandbox/snap/.dirs/runtime 1367s # Created snap.yaml in /tmp/test_sandbox_EOVIK2/snap/current/meta/snap.yaml 1367s ok 2 /sandbox/snap 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_EOVIK2/sandbox/classic-snap/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_EOVIK2/sandbox/classic-snap/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_EOVIK2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_EOVIK2/sandbox/classic-snap/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_EOVIK2/sandbox/classic-snap/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_EOVIK2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_EOVIK2/sandbox/classic-snap/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_EOVIK2/sandbox/classic-snap/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_EOVIK2/sandbox/classic-snap/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_EOVIK2/sandbox/classic-snap/.dirs/runtime 1367s # Created snap.yaml in /tmp/test_sandbox_EOVIK2/snap/current/meta/snap.yaml 1367s ok 3 /sandbox/classic-snap 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_EOVIK2/sandbox/flatpak/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_EOVIK2/sandbox/flatpak/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_EOVIK2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_EOVIK2/sandbox/flatpak/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_EOVIK2/sandbox/flatpak/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_EOVIK2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_EOVIK2/sandbox/flatpak/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_EOVIK2/sandbox/flatpak/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_EOVIK2/sandbox/flatpak/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_EOVIK2/sandbox/flatpak/.dirs/runtime 1367s # Creating .flatpak-info in /tmp/test_sandbox_EOVIK2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1367s ok 4 /sandbox/flatpak 1367s # End of sandbox tests 1367s ok - glib/sandbox.test 1367s # Running test: glib/node.test 1367s TAP version 13 1367s # random seed: R02S9c9420b91fb9925f8ce0b48d11c2a401 1367s 1..6 1367s # Start of node tests 1367s ok 1 /node/allocation 1367s ok 2 /node/construction 1367s ok 3 /node/traversal 1367s ok 4 /node/misc 1367s ok 5 /node/unlink 1367s ok 6 /node/copy 1367s # End of node tests 1367s ok - glib/node.test 1367s # Running test: glib/simple-async-result.test 1367s TAP version 13 1367s # random seed: R02Sfb0335562cc91c62eb26d0319f5c9037 1367s 1..2 1367s # Start of gio tests 1367s # Start of simple-async-result tests 1367s ok 1 /gio/simple-async-result/test 1367s # GLib-GIO-DEBUG: GTask 0xc86540e426f0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1367s ok 2 /gio/simple-async-result/valid 1367s # End of simple-async-result tests 1367s # End of gio tests 1367s ok - glib/simple-async-result.test 1367s # Running test: glib/date.test 1367s TAP version 13 1367s # random seed: R02S9767ec0ba8a6e600f2cb16e67b7000d2 1367s 1..121 1367s # Start of date tests 1367s ok 1 /date/basic 1367s ok 2 /date/empty 1367s ok 3 /date/dmy 1367s ok 4 /date/julian 1367s ok 5 /date/compare 1367s ok 6 /date/dates 1367s ok 7 /date/strftime 1367s ok 8 /date/two-digit-years 1367s ok 9 /date/parse 1367s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1367s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1367s ok 11 /date/month_substring 1367s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1367s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1367s ok 13 /date/clamp 1367s ok 14 /date/order 1367s ok 15 /date/copy 1367s # Vector 0: 0000-00-00, invalid 1367s # Vector 1: 0001-01-01, valid 1367s # Vector 2: 0000-01-01, invalid 1367s # Vector 3: 2000-02-30, invalid 1367s # Vector 4: 2000-02-29, valid 1367s # Vector 5: 2001-02-29, invalid 1367s # Vector 6: 65535-01-01, valid 1367s ok 16 /date/valid-dmy 1367s # Start of parse tests 1367s # Test 0 1367s # Test 1 1367s ok 17 /date/parse/invalid 1367s # End of parse tests 1367s # Start of year tests 1367s ok 18 /date/year/1 1367s ok 19 /date/year/2 1367s ok 20 /date/year/3 1367s ok 21 /date/year/4 1367s ok 22 /date/year/5 1367s ok 23 /date/year/6 1367s ok 24 /date/year/7 1367s ok 25 /date/year/8 1367s ok 26 /date/year/9 1367s ok 27 /date/year/10 1367s ok 28 /date/year/11 1367s ok 29 /date/year/12 1367s ok 30 /date/year/13 1367s ok 31 /date/year/14 1367s ok 32 /date/year/98 1367s ok 33 /date/year/99 1367s ok 34 /date/year/100 1367s ok 35 /date/year/101 1367s ok 36 /date/year/102 1367s ok 37 /date/year/103 1367s ok 38 /date/year/397 1367s ok 39 /date/year/398 1367s ok 40 /date/year/399 1367s ok 41 /date/year/400 1367s ok 42 /date/year/401 1367s ok 43 /date/year/402 1367s ok 44 /date/year/403 1367s ok 45 /date/year/404 1367s ok 46 /date/year/405 1367s ok 47 /date/year/406 1367s ok 48 /date/year/1598 1367s ok 49 /date/year/1599 1367s ok 50 /date/year/1600 1367s ok 51 /date/year/1601 1367s ok 52 /date/year/1602 1367s ok 53 /date/year/1650 1367s ok 54 /date/year/1651 1367s ok 55 /date/year/1897 1367s ok 56 /date/year/1898 1367s ok 57 /date/year/1899 1367s ok 58 /date/year/1900 1367s ok 59 /date/year/1901 1367s ok 60 /date/year/1902 1367s ok 61 /date/year/1903 1367s ok 62 /date/year/1961 1367s ok 63 /date/year/1962 1367s ok 64 /date/year/1963 1367s ok 65 /date/year/1964 1367s ok 66 /date/year/1965 1367s ok 67 /date/year/1967 1367s ok 68 /date/year/1968 1367s ok 69 /date/year/1969 1367s ok 70 /date/year/1970 1367s ok 71 /date/year/1971 1367s ok 72 /date/year/1972 1367s ok 73 /date/year/1973 1367s ok 74 /date/year/1974 1367s ok 75 /date/year/1975 1367s ok 76 /date/year/1976 1367s ok 77 /date/year/1977 1367s ok 78 /date/year/1978 1367s ok 79 /date/year/1979 1367s ok 80 /date/year/1980 1367s ok 81 /date/year/1981 1367s ok 82 /date/year/1982 1367s ok 83 /date/year/1983 1367s ok 84 /date/year/1984 1367s ok 85 /date/year/1985 1367s ok 86 /date/year/1986 1367s ok 87 /date/year/1987 1367s ok 88 /date/year/1988 1367s ok 89 /date/year/1989 1367s ok 90 /date/year/1990 1367s ok 91 /date/year/1991 1367s ok 92 /date/year/1992 1367s ok 93 /date/year/1993 1367s ok 94 /date/year/1994 1367s ok 95 /date/year/1995 1367s ok 96 /date/year/1996 1367s ok 97 /date/year/1997 1367s ok 98 /date/year/1998 1368s ok 99 /date/year/1999 1368s ok 100 /date/year/2000 1368s ok 101 /date/year/2001 1368s ok 102 /date/year/2002 1368s ok 103 /date/year/2003 1368s ok 104 /date/year/2004 1368s ok 105 /date/year/2005 1368s ok 106 /date/year/2006 1368s ok 107 /date/year/2007 1368s ok 108 /date/year/2008 1368s ok 109 /date/year/2009 1368s ok 110 /date/year/2010 1368s ok 111 /date/year/2011 1368s ok 112 /date/year/2012 1368s ok 113 /date/year/3000 1368s ok 114 /date/year/3001 1368s ok 115 /date/year/3002 1368s ok 116 /date/year/3998 1368s ok 117 /date/year/3999 1368s ok 118 /date/year/4000 1368s ok 119 /date/year/4001 1368s ok 120 /date/year/4002 1368s ok 121 /date/year/4003 1368s # End of year tests 1368s # End of date tests 1368s ok - glib/date.test 1368s # Running test: glib/gdbus-proxy-threads.test 1368s TAP version 13 1368s # random seed: R02S10373c3a0768bd7137a5d3519ad53451 1368s 1..1 1368s # Start of gdbus tests 1368s # Start of proxy tests 1368s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_161TK2/gdbus/proxy/vs-threads/.dirs/home 1368s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_161TK2/gdbus/proxy/vs-threads/.dirs/cache 1368s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_161TK2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_161TK2/gdbus/proxy/vs-threads/.dirs/system-config2 1368s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_161TK2/gdbus/proxy/vs-threads/.dirs/config 1368s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_161TK2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_161TK2/gdbus/proxy/vs-threads/.dirs/system-data2 1368s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_161TK2/gdbus/proxy/vs-threads/.dirs/data 1368s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_161TK2/gdbus/proxy/vs-threads/.dirs/state 1368s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_161TK2/gdbus/proxy/vs-threads/.dirs/runtime 1368s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1369s # Executing: glib/gdbus-proxy-threads.test 1372s ok 1 /gdbus/proxy/vs-threads 1372s # slow test /gdbus/proxy/vs-threads executed in 4.34 secs 1372s # End of proxy tests 1372s # End of gdbus tests 1372s ok - glib/gdbus-proxy-threads.test 1372s cleaning up pid 2562 1372s # Running test: glib/test-printf.test 1372s TAP version 13 1372s # random seed: R02S29a49e7c7c402ac58714bd25df44b77c 1372s 1..22 1372s # Start of snprintf tests 1372s ok 1 /snprintf/retval-and-trunc 1372s ok 2 /snprintf/%d 1372s ok 3 /snprintf/%d-invalid 1372s ok 4 /snprintf/%o 1372s ok 5 /snprintf/%u 1372s ok 6 /snprintf/%x 1372s ok 7 /snprintf/%X 1372s ok 8 /snprintf/%f 1372s ok 9 /snprintf/%e 1372s ok 10 /snprintf/%c 1372s ok 11 /snprintf/%s 1372s ok 12 /snprintf/%n 1372s ok 13 /snprintf/test-percent 1372s ok 14 /snprintf/test-positional-params 1372s ok 15 /snprintf/test-64bit 1372s # End of snprintf tests 1372s # Start of printf tests 1372s ok 16 /printf/test-percent 1372s ok 17 /printf/test-positional-params 1372s ok 18 /printf/test-64bit 1372s # Start of test-64bit tests 1372s # Start of subprocess tests 1372s # End of subprocess tests 1372s # End of test-64bit tests 1372s # End of printf tests 1372s # Start of sprintf tests 1372s ok 19 /sprintf/test-positional-params 1372s ok 20 /sprintf/upper-bound 1372s # End of sprintf tests 1372s # Start of vasprintf tests 1372s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1372s ok 21 /vasprintf/invalid-format-placeholder 1372s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1372s ok 22 /vasprintf/invalid-wide-string 1372s # End of vasprintf tests 1372s ok - glib/test-printf.test 1372s # Running test: glib/utils-c-99.test 1372s TAP version 13 1372s # random seed: R02Se7c3395c58f7615a3d703d6f3094814a 1372s 1..40 1372s # Start of utils tests 1372s ok 1 /utils/language-names 1372s ok 2 /utils/locale-variants 1372s ok 3 /utils/version 1372s ok 4 /utils/appname 1372s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1372s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1372s ok 5 /utils/prgname-thread-safety 1372s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1372s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1372s ok 6 /utils/tmpdir 1372s ok 7 /utils/basic_bits 1372s ok 8 /utils/bits 1372s ok 9 /utils/swap 1372s ok 10 /utils/find-program 1372s ok 11 /utils/find-program-for-path 1372s ok 12 /utils/debug 1372s ok 13 /utils/codeset 1372s ok 14 /utils/codeset2 1372s ok 15 /utils/console-charset 1372s ok 16 /utils/gettext 1372s ok 17 /utils/username 1372s ok 18 /utils/realname 1372s ok 19 /utils/hostname 1372s ok 20 /utils/xdgdirs 1372s ok 21 /utils/specialdir 1372s # NAME: Ubuntu 1372s ok 22 /utils/os-info 1372s ok 23 /utils/clear-pointer 1372s ok 24 /utils/clear-pointer-cast 1372s ok 25 /utils/take-pointer 1372s ok 26 /utils/clear-source 1372s ok 27 /utils/misc-mem 1372s # /utils/aligned-mem summary: Aligned memory allocator 1372s # Alignment must not be zero 1372s # Alignment must be a power of two 1372s # Alignment must be a multiple of sizeof(void*) 1372s ok 28 /utils/aligned-mem 1372s # /utils/free-sized summary: Check that g_free_sized() works 1372s ok 29 /utils/free-sized 1372s ok 30 /utils/nullify 1372s ok 31 /utils/atexit 1372s ok 32 /utils/check-setuid 1372s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1372s ok 33 /utils/int-limits 1372s ok 34 /utils/clear-list 1372s ok 35 /utils/clear-slist 1372s # Start of specialdir tests 1372s ok 36 /utils/specialdir/desktop 1372s # End of specialdir tests 1372s # Start of clear-pointer tests 1372s ok 37 /utils/clear-pointer/side-effects 1372s # End of clear-pointer tests 1372s # Start of aligned-mem tests 1372s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1372s ok 38 /utils/aligned-mem/alignment 1372s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1372s ok 39 /utils/aligned-mem/zeroed 1372s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1372s ok 40 /utils/aligned-mem/free-sized 1372s # Start of subprocess tests 1372s # End of subprocess tests 1372s # End of aligned-mem tests 1372s # End of utils tests 1372s ok - glib/utils-c-99.test 1372s # Running test: glib/overflow-fallback.test 1372s TAP version 13 1372s # random seed: R02Sd823e763bcb40b40c1ba4cc0d8b121c9 1372s 1..6 1372s # Start of glib tests 1372s # Start of checked-math tests 1372s ok 1 /glib/checked-math/guint-add 1372s ok 2 /glib/checked-math/guint-mul 1372s ok 3 /glib/checked-math/guint64-add 1372s ok 4 /glib/checked-math/guint64-mul 1372s ok 5 /glib/checked-math/gsize-add 1372s ok 6 /glib/checked-math/gsize-mul 1372s # End of checked-math tests 1372s # End of glib tests 1372s ok - glib/overflow-fallback.test 1372s # Running test: glib/resources.test 1372s TAP version 13 1372s # random seed: R02Sffeeb5470579787e9dc8cf04165f694e 1372s 1..17 1372s # Start of resource tests 1372s ok 1 /resource/file 1372s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1372s ok 2 /resource/file-path 1372s ok 3 /resource/data 1372s ok 4 /resource/data_unaligned 1372s ok 5 /resource/data-corrupt 1372s ok 6 /resource/data-empty 1372s ok 7 /resource/registered 1372s ok 8 /resource/manual 1372s ok 9 /resource/manual2 1372s ok 10 /resource/automatic 1372s ok 11 /resource/module 1372s ok 12 /resource/binary-linked 1372s ok 13 /resource/64k 1372s GLib-GIO-Message: 11:47:18.528: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1372s ok 14 /resource/overlay 1372s ok 15 /resource/digits 1372s # Start of uri tests 1372s ok 16 /resource/uri/query-info 1372s ok 17 /resource/uri/file 1372s # End of uri tests 1372s # End of resource tests 1372s ok - glib/resources.test 1372s # Running test: glib/convert.test 1372s TAP version 13 1372s # random seed: R02S9c35222b00170287efdbfc47bf0c67cb 1372s 1..14 1372s # Start of conversion tests 1372s ok 1 /conversion/no-conv 1372s ok 2 /conversion/iconv-state 1372s ok 3 /conversion/illegal-sequence 1372s ok 4 /conversion/byte-order 1372s ok 5 /conversion/unicode 1372s ok 6 /conversion/filename-utf8 1372s ok 7 /conversion/filename-display 1372s ok 8 /conversion/convert-embedded-nul 1372s # Start of locale-to-utf8 tests 1372s ok 9 /conversion/locale-to-utf8/embedded-nul 1372s # Start of embedded-nul tests 1372s # Start of subprocess tests 1372s # End of subprocess tests 1372s # End of embedded-nul tests 1372s # End of locale-to-utf8 tests 1372s # Start of locale-from-utf8 tests 1372s ok 10 /conversion/locale-from-utf8/embedded-nul 1372s # Start of embedded-nul tests 1372s # Start of subprocess tests 1372s # End of subprocess tests 1372s # End of embedded-nul tests 1372s # End of locale-from-utf8 tests 1372s # Start of filename-to-utf8 tests 1372s ok 11 /conversion/filename-to-utf8/embedded-nul 1372s # Start of embedded-nul tests 1372s # Start of subprocess tests 1372s # End of subprocess tests 1372s # End of embedded-nul tests 1372s # End of filename-to-utf8 tests 1372s # Start of filename-from-utf8 tests 1372s ok 12 /conversion/filename-from-utf8/embedded-nul 1372s # Start of embedded-nul tests 1372s # Start of subprocess tests 1372s # End of subprocess tests 1372s # End of embedded-nul tests 1372s # End of filename-from-utf8 tests 1372s # Start of filename-from-uri tests 1372s ok 13 /conversion/filename-from-uri/query-is-ignored 1372s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1372s # End of filename-from-uri tests 1372s # End of conversion tests 1372s ok - glib/convert.test 1372s # Running test: glib/cond.test 1372s TAP version 13 1372s # random seed: R02Sb5a1a2121e368237c8c3665e706b697e 1372s 1..4 1372s # Start of thread tests 1372s ok 1 /thread/cond1 1372s ok 2 /thread/cond2 1372s # Start of cond tests 1373s ok 3 /thread/cond/wait-until 1373s # slow test /thread/cond/wait-until executed in 1.02 secs 1373s # Start of wait-until tests 1373s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1373s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1374s # Executing: glib/cond.test 1374s ok 4 /thread/cond/wait-until/contended-and-interrupted 1374s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1374s # End of wait-until tests 1374s # End of cond tests 1374s # End of thread tests 1374s ok - glib/cond.test 1374s # Running test: glib/completion.test 1374s TAP version 13 1374s # random seed: R02Sce475472709a5d454267a05445399704 1374s 1..1 1374s # Start of completion tests 1374s ok 1 /completion/test-completion 1374s # End of completion tests 1374s ok - glib/completion.test 1374s # Running test: glib/objects-refcount2.test 1374s TAP version 13 1374s # random seed: R02S2fd1b70fb7ce702f3df786aec563b089 1374s 1..1 1374s # Start of gobject tests 1374s # Start of refcount tests 1374s # init 0xb3bf0e437750 1374s # 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # Executing: glib/objects-refcount2.test 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # Executing: glib/objects-refcount2.test 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1387s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1388s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # Executing: glib/objects-refcount2.test 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1389s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1390s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1391s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # . 1392s # dispose 0xb3bf0e437750! 1392s # 1392s ok 1 /gobject/refcount/object-advanced 1392s # slow test /gobject/refcount/object-advanced executed in 18.09 secs 1392s # End of refcount tests 1392s # End of gobject tests 1392s ok - glib/objects-refcount2.test 1392s # Running test: glib/unix-fd.test 1392s TAP version 13 1392s # random seed: R02S3516a5c9baac2e1bf82ee907735d5311 1392s 1..2 1392s # Start of unix-fd tests 1392s ok 1 /unix-fd/fd-list 1392s ok 2 /unix-fd/scm 1392s # End of unix-fd tests 1392s ok - glib/unix-fd.test 1392s # Running test: glib/deprecated-properties.test 1392s TAP version 13 1392s # random seed: R02S4a440b9ed8d54c042b75a04d5be8e6b4 1392s 1..3 1392s # Start of deprecated-properties tests 1392s ok 1 /deprecated-properties/construct 1392s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1392s ok 2 /deprecated-properties/default-construct 1392s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1392s ok 3 /deprecated-properties/set 1392s # End of deprecated-properties tests 1392s ok - glib/deprecated-properties.test 1392s # Running test: glib/utils-c-17.test 1392s TAP version 13 1392s # random seed: R02S0a6ce457221f3e0aa81ecf3b02babfac 1392s 1..40 1392s # Start of utils tests 1392s ok 1 /utils/language-names 1392s ok 2 /utils/locale-variants 1392s ok 3 /utils/version 1392s ok 4 /utils/appname 1392s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1392s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1392s ok 5 /utils/prgname-thread-safety 1392s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1392s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1392s ok 6 /utils/tmpdir 1392s ok 7 /utils/basic_bits 1392s ok 8 /utils/bits 1392s ok 9 /utils/swap 1392s ok 10 /utils/find-program 1392s ok 11 /utils/find-program-for-path 1392s ok 12 /utils/debug 1392s ok 13 /utils/codeset 1392s ok 14 /utils/codeset2 1392s ok 15 /utils/console-charset 1392s ok 16 /utils/gettext 1392s ok 17 /utils/username 1392s ok 18 /utils/realname 1392s ok 19 /utils/hostname 1392s ok 20 /utils/xdgdirs 1392s ok 21 /utils/specialdir 1392s # NAME: Ubuntu 1392s ok 22 /utils/os-info 1392s ok 23 /utils/clear-pointer 1392s ok 24 /utils/clear-pointer-cast 1392s ok 25 /utils/take-pointer 1392s ok 26 /utils/clear-source 1392s ok 27 /utils/misc-mem 1392s # /utils/aligned-mem summary: Aligned memory allocator 1392s # Alignment must not be zero 1392s # Alignment must be a power of two 1392s # Alignment must be a multiple of sizeof(void*) 1392s ok 28 /utils/aligned-mem 1392s # /utils/free-sized summary: Check that g_free_sized() works 1392s ok 29 /utils/free-sized 1392s ok 30 /utils/nullify 1392s ok 31 /utils/atexit 1392s ok 32 /utils/check-setuid 1392s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1392s ok 33 /utils/int-limits 1392s ok 34 /utils/clear-list 1392s ok 35 /utils/clear-slist 1392s # Start of specialdir tests 1392s ok 36 /utils/specialdir/desktop 1392s # End of specialdir tests 1392s # Start of clear-pointer tests 1392s ok 37 /utils/clear-pointer/side-effects 1392s # End of clear-pointer tests 1392s # Start of aligned-mem tests 1392s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1392s ok 38 /utils/aligned-mem/alignment 1392s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1392s ok 39 /utils/aligned-mem/zeroed 1392s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1392s ok 40 /utils/aligned-mem/free-sized 1392s # Start of subprocess tests 1392s # End of subprocess tests 1392s # End of aligned-mem tests 1392s # End of utils tests 1392s ok - glib/utils-c-17.test 1392s # Running test: glib/contexts.test 1392s TAP version 13 1392s # random seed: R02S9387077938375f414f8fff089633ffc4 1392s 1..5 1392s # Start of gio tests 1392s # Start of contexts tests 1392s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1392s ok 1 /gio/contexts/thread-independence 1392s ok 2 /gio/contexts/context-independence 1392s # Start of context-specific tests 1392s ok 3 /gio/contexts/context-specific/identity 1393s ok 4 /gio/contexts/context-specific/emit 1393s ok 5 /gio/contexts/context-specific/emit-and-unref 1393s # End of context-specific tests 1393s # End of contexts tests 1393s # End of gio tests 1393s ok - glib/contexts.test 1393s # Running test: glib/memory-monitor-portal.test 1393s TAP version 13 1393s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1393s 1..1 1393s ok - glib/memory-monitor-portal.test 1393s # Running test: glib/override.test 1393s TAP version 13 1393s # random seed: R02S5c8ce2acb222bd5e45365cbc4079776c 1393s 1..1 1393s # Start of gobject tests 1393s # *** emitting foo on a TestA instance 1393s # Expecting: TestA::foo,TestI::foo 1393s # Got: TestA::foo,TestI::foo 1393s # *** emitting bar on a TestA instance 1393s # Expecting: TestA::bar 1393s # Got: TestA::bar 1393s # *** emitting baz on a TestA instance 1393s # Expecting: TestA::baz 1393s # Got: TestA::baz 1393s # *** emitting foo on a TestB instance 1393s # Expecting: TestB::foo,TestA::foo,TestI::foo 1393s # Got: TestB::foo,TestA::foo,TestI::foo 1393s # *** emitting bar on a TestB instance 1393s # Expecting: TestB::bar,TestA::bar 1393s # Got: TestB::bar,TestA::bar 1393s # *** emitting baz on a TestB instance 1393s # Expecting: TestB::baz,TestA::baz 1393s # Got: TestB::baz,TestA::baz 1393s # *** emitting foo on a TestC instance 1393s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1393s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1393s # *** emitting bar on a TestC instance 1393s # Expecting: TestC::bar,TestB::bar,TestA::bar 1393s # Got: TestC::bar,TestB::bar,TestA::bar 1393s # *** emitting baz on a TestC instance 1393s # Expecting: TestC::baz,TestB::baz,TestA::baz 1393s # Got: TestC::baz,TestB::baz,TestA::baz 1393s ok 1 /gobject/override 1393s # End of gobject tests 1393s ok - glib/override.test 1393s # Running test: glib/gdbus-proxy-well-known-name.test 1393s TAP version 13 1393s # random seed: R02S6b3281bcc8dc37717ad891a51173f7bb 1393s 1..1 1393s # Start of gdbus tests 1393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_731NK2/gdbus/proxy-well-known-name/.dirs/home 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_731NK2/gdbus/proxy-well-known-name/.dirs/cache 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_731NK2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_731NK2/gdbus/proxy-well-known-name/.dirs/system-config2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_731NK2/gdbus/proxy-well-known-name/.dirs/config 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_731NK2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_731NK2/gdbus/proxy-well-known-name/.dirs/system-data2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_731NK2/gdbus/proxy-well-known-name/.dirs/data 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_731NK2/gdbus/proxy-well-known-name/.dirs/state 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_731NK2/gdbus/proxy-well-known-name/.dirs/runtime 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1393s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1393s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1393s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1393s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1393s ok 1 /gdbus/proxy-well-known-name 1393s # End of gdbus tests 1393s ok - glib/gdbus-proxy-well-known-name.test 1393s # Running test: glib/gdbus-connection-loss.test 1393s TAP version 13 1393s # random seed: R02S100ddde4e040b125ef34f826e8c88f77 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s 1..1 1394s # Start of gdbus tests 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_SOJTK2/gdbus/connection-loss/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_SOJTK2/gdbus/connection-loss/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_SOJTK2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_SOJTK2/gdbus/connection-loss/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_SOJTK2/gdbus/connection-loss/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_SOJTK2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_SOJTK2/gdbus/connection-loss/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_SOJTK2/gdbus/connection-loss/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_SOJTK2/gdbus/connection-loss/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_SOJTK2/gdbus/connection-loss/.dirs/runtime 1394s ok 1 /gdbus/connection-loss 1394s # End of gdbus tests 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s ok - glib/gdbus-connection-loss.test 1394s # Running test: glib/gdbus-test-codegen-old.test 1394s TAP version 13 1394s # random seed: R02S8bc6fc87aa899603d18bbe7098fd5b56 1394s 1..8 1394s # Start of gdbus tests 1394s # Start of codegen tests 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/annotations/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/annotations/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/annotations/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/annotations/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/annotations/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/annotations/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/annotations/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/annotations/.dirs/runtime 1394s ok 1 /gdbus/codegen/annotations 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/interface_stability/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/interface_stability/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/interface_stability/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/interface_stability/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/interface_stability/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/interface_stability/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/interface_stability/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/interface_stability/.dirs/runtime 1394s ok 2 /gdbus/codegen/interface_stability 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/object-manager/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/object-manager/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/object-manager/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/object-manager/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/object-manager/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/object-manager/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/object-manager/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/object-manager/.dirs/runtime 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s ok 3 /gdbus/codegen/object-manager 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/property-naming/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/property-naming/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/property-naming/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/property-naming/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/property-naming/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/property-naming/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/property-naming/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/property-naming/.dirs/runtime 1394s ok 4 /gdbus/codegen/property-naming 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/autocleanups/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/autocleanups/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/autocleanups/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/autocleanups/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/autocleanups/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/autocleanups/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/autocleanups/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/autocleanups/.dirs/runtime 1394s ok 5 /gdbus/codegen/autocleanups 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/deprecations/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/deprecations/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/deprecations/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/deprecations/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/deprecations/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/deprecations/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/deprecations/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/deprecations/.dirs/runtime 1394s ok 6 /gdbus/codegen/deprecations 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/standalone-interface-info/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/standalone-interface-info/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/standalone-interface-info/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/standalone-interface-info/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1394s ok 7 /gdbus/codegen/standalone-interface-info 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/unix-fd-list/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/unix-fd-list/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/unix-fd-list/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/unix-fd-list/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/unix-fd-list/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_A80UK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1394s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1394s ok 8 /gdbus/codegen/unix-fd-list 1394s # End of codegen tests 1394s # End of gdbus tests 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s ok - glib/gdbus-test-codegen-old.test 1394s # Running test: glib/bookmarkfile.test 1394s TAP version 13 1394s # random seed: R02S333c0622a00f4bb4c5a77aa617a2f54d 1394s 1..96 1394s # Start of bookmarks tests 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/load-from-data-dirs/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/load-from-data-dirs/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/load-from-data-dirs/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/load-from-data-dirs/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/load-from-data-dirs/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/load-from-data-dirs/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/load-from-data-dirs/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/load-from-data-dirs/.dirs/runtime 1394s ok 1 /bookmarks/load-from-data-dirs 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/to-file/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/to-file/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/to-file/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/to-file/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/to-file/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/to-file/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/to-file/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/to-file/.dirs/runtime 1394s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_UFOWK2/bookmarkfile-test-PANWK2.xbel 1394s # Roundtrip from a valid bookmark file 1394s ok 2 /bookmarks/to-file 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/move-item/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/move-item/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/move-item/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/move-item/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/move-item/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/move-item/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/move-item/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/move-item/.dirs/runtime 1394s ok 3 /bookmarks/move-item 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/corner-cases/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/corner-cases/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/corner-cases/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/corner-cases/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/corner-cases/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/corner-cases/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/corner-cases/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/corner-cases/.dirs/runtime 1394s ok 4 /bookmarks/corner-cases 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/misc/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/misc/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/misc/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/misc/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/misc/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/misc/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/misc/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/misc/.dirs/runtime 1394s ok 5 /bookmarks/misc 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/deprecated/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/deprecated/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/deprecated/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/deprecated/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/deprecated/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/deprecated/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/deprecated/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/deprecated/.dirs/runtime 1394s ok 6 /bookmarks/deprecated 1394s # Start of parse tests 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-18.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-18.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-18.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-18.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-18.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 1394s ok 7 /bookmarks/parse/fail-18.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-26.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-26.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-26.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-26.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-26.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 1394s ok 8 /bookmarks/parse/fail-26.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-36.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-36.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-36.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-36.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-36.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 1394s ok 9 /bookmarks/parse/fail-36.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-14.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-14.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-14.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-14.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-14.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 1394s ok 10 /bookmarks/parse/fail-14.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-03.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-03.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-03.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-03.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-03.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 1394s ok 11 /bookmarks/parse/fail-03.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-32.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-32.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-32.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-32.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-32.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 1394s ok 12 /bookmarks/parse/fail-32.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-01.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-01.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-01.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-01.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-01.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 1394s ok 13 /bookmarks/parse/valid-01.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-02.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-02.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-02.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-02.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-02.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 1394s ok 14 /bookmarks/parse/valid-02.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-13.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-13.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-13.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-13.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-13.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 1394s ok 15 /bookmarks/parse/fail-13.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-27.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-27.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-27.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-27.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-27.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 1394s ok 16 /bookmarks/parse/fail-27.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-40.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-40.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-40.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-40.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-40.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 1394s ok 17 /bookmarks/parse/fail-40.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-01.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-01.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-01.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-01.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-01.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 1394s ok 18 /bookmarks/parse/fail-01.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-30.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-30.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-30.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-30.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-30.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 1394s ok 19 /bookmarks/parse/fail-30.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-28.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-28.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-28.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-28.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-28.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 1394s ok 20 /bookmarks/parse/fail-28.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-07.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-07.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-07.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-07.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-07.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 1394s ok 21 /bookmarks/parse/fail-07.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-25.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-25.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-25.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-25.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-25.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 1394s ok 22 /bookmarks/parse/fail-25.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-24.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-24.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-24.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-24.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-24.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 1394s ok 23 /bookmarks/parse/fail-24.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-09.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-09.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-09.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-09.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-09.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 1394s ok 24 /bookmarks/parse/fail-09.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-37.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-37.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-37.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-37.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-37.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 1394s ok 25 /bookmarks/parse/fail-37.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-20.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-20.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-20.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-20.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-20.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 1394s ok 26 /bookmarks/parse/fail-20.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-39.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-39.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-39.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-39.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-39.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 1394s ok 27 /bookmarks/parse/fail-39.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-19.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-19.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-19.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-19.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-19.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 1394s ok 28 /bookmarks/parse/fail-19.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-08.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-08.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-08.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-08.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-08.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 1394s ok 29 /bookmarks/parse/fail-08.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-05.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-05.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-05.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-05.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-05.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 1394s ok 30 /bookmarks/parse/fail-05.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-10.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-10.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-10.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-10.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-10.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 1394s ok 31 /bookmarks/parse/fail-10.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-16.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-16.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-16.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-16.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-16.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 1394s ok 32 /bookmarks/parse/fail-16.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-35.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-35.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-35.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-35.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-35.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 1394s ok 33 /bookmarks/parse/fail-35.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-17.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-17.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-17.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-17.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-17.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 1394s ok 34 /bookmarks/parse/fail-17.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-42.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-42.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-42.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-42.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-42.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 1394s ok 35 /bookmarks/parse/fail-42.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-02.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-02.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-02.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-02.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-02.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 1394s ok 36 /bookmarks/parse/fail-02.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-23.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-23.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-23.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-23.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-23.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 1394s ok 37 /bookmarks/parse/fail-23.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-41.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-41.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-41.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-41.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-41.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 1394s ok 38 /bookmarks/parse/fail-41.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-29.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-29.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-29.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-29.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-29.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 1394s ok 39 /bookmarks/parse/fail-29.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-34.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-34.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-34.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-34.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-34.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 1394s ok 40 /bookmarks/parse/fail-34.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-06.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-06.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-06.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-06.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-06.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 1394s ok 41 /bookmarks/parse/fail-06.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-21.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-21.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-21.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-21.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-21.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 1394s ok 42 /bookmarks/parse/fail-21.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-04.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-04.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-04.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-04.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-04.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 1394s ok 43 /bookmarks/parse/fail-04.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-12.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-12.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-12.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-12.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-12.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 1394s ok 44 /bookmarks/parse/fail-12.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-31.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-31.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-31.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-31.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-31.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 1394s ok 45 /bookmarks/parse/fail-31.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-03.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-03.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-03.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-03.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-03.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 1394s ok 46 /bookmarks/parse/valid-03.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-33.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-33.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-33.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-33.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-33.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 1394s ok 47 /bookmarks/parse/fail-33.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-38.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-38.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-38.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-38.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-38.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 1394s ok 48 /bookmarks/parse/fail-38.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-15.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-15.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-15.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-15.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-15.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 1394s ok 49 /bookmarks/parse/fail-15.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-11.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-11.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-11.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-11.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-11.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 1394s ok 50 /bookmarks/parse/fail-11.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-22.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-22.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-22.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-22.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-22.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 1394s ok 51 /bookmarks/parse/fail-22.xbel 1394s # End of parse tests 1394s # Start of copy tests 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-18.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-18.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-18.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-18.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-18.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 1394s ok 52 /bookmarks/copy/fail-18.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-26.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-26.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-26.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-26.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-26.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 1394s ok 53 /bookmarks/copy/fail-26.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-36.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-36.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-36.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-36.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-36.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 1394s ok 54 /bookmarks/copy/fail-36.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-14.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-14.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-14.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-14.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-14.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 1394s ok 55 /bookmarks/copy/fail-14.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-03.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-03.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-03.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-03.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-03.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 1394s ok 56 /bookmarks/copy/fail-03.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-32.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-32.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-32.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-32.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-32.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 1394s ok 57 /bookmarks/copy/fail-32.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-01.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-01.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-01.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-01.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-01.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 1394s ok 58 /bookmarks/copy/valid-01.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-02.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-02.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-02.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-02.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-02.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 1394s ok 59 /bookmarks/copy/valid-02.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-13.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-13.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-13.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-13.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-13.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 1394s ok 60 /bookmarks/copy/fail-13.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-27.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-27.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-27.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-27.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-27.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 1394s ok 61 /bookmarks/copy/fail-27.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-40.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-40.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-40.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-40.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-40.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 1394s ok 62 /bookmarks/copy/fail-40.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-01.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-01.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-01.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-01.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-01.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 1394s ok 63 /bookmarks/copy/fail-01.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-30.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-30.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-30.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-30.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-30.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 1394s ok 64 /bookmarks/copy/fail-30.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-28.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-28.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-28.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-28.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-28.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 1394s ok 65 /bookmarks/copy/fail-28.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-07.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-07.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-07.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-07.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-07.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 1394s ok 66 /bookmarks/copy/fail-07.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-25.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-25.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-25.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-25.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-25.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 1394s ok 67 /bookmarks/copy/fail-25.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-24.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-24.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-24.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-24.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-24.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 1394s ok 68 /bookmarks/copy/fail-24.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-09.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-09.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-09.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-09.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-09.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 1394s ok 69 /bookmarks/copy/fail-09.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-37.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-37.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-37.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-37.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-37.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 1394s ok 70 /bookmarks/copy/fail-37.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-20.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-20.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-20.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-20.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-20.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 1394s ok 71 /bookmarks/copy/fail-20.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-39.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-39.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-39.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-39.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-39.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 1394s ok 72 /bookmarks/copy/fail-39.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-19.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-19.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-19.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-19.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-19.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 1394s ok 73 /bookmarks/copy/fail-19.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-08.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-08.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-08.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-08.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-08.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 1394s ok 74 /bookmarks/copy/fail-08.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-05.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-05.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-05.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-05.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-05.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 1394s ok 75 /bookmarks/copy/fail-05.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-10.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-10.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-10.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-10.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-10.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 1394s ok 76 /bookmarks/copy/fail-10.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-16.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-16.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-16.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-16.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-16.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 1394s ok 77 /bookmarks/copy/fail-16.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-35.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-35.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-35.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-35.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-35.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 1394s ok 78 /bookmarks/copy/fail-35.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-17.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-17.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-17.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-17.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-17.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 1394s ok 79 /bookmarks/copy/fail-17.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-42.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-42.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-42.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-42.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-42.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 1394s ok 80 /bookmarks/copy/fail-42.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-02.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-02.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-02.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-02.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-02.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 1394s ok 81 /bookmarks/copy/fail-02.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-23.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-23.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-23.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-23.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-23.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 1394s ok 82 /bookmarks/copy/fail-23.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-41.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-41.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-41.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-41.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-41.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 1394s ok 83 /bookmarks/copy/fail-41.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-29.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-29.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-29.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-29.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-29.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 1394s ok 84 /bookmarks/copy/fail-29.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-34.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-34.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-34.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-34.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-34.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 1394s ok 85 /bookmarks/copy/fail-34.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-06.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-06.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-06.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-06.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-06.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 1394s ok 86 /bookmarks/copy/fail-06.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-21.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-21.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-21.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-21.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-21.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 1394s ok 87 /bookmarks/copy/fail-21.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-04.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-04.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-04.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-04.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-04.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 1394s ok 88 /bookmarks/copy/fail-04.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-12.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-12.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-12.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-12.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-12.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 1394s ok 89 /bookmarks/copy/fail-12.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-31.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-31.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-31.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-31.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-31.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 1394s ok 90 /bookmarks/copy/fail-31.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-03.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-03.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-03.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-03.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-03.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 1394s ok 91 /bookmarks/copy/valid-03.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-33.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-33.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-33.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-33.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-33.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 1394s ok 92 /bookmarks/copy/fail-33.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-38.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-38.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-38.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-38.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-38.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 1394s ok 93 /bookmarks/copy/fail-38.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-15.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-15.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-15.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-15.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-15.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 1394s ok 94 /bookmarks/copy/fail-15.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-11.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-11.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-11.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-11.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-11.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 1394s ok 95 /bookmarks/copy/fail-11.xbel 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-22.xbel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-22.xbel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-22.xbel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-22.xbel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-22.xbel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_UFOWK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 1394s ok 96 /bookmarks/copy/fail-22.xbel 1394s # End of copy tests 1394s # End of bookmarks tests 1394s ok - glib/bookmarkfile.test 1394s # Running test: glib/pathbuf.test 1394s TAP version 13 1394s # random seed: R02Sa339413f59c257b639fe94fab1f1a87b 1394s 1..3 1394s # Start of pathbuf tests 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/init/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/init/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_F9E1K2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_F9E1K2/pathbuf/init/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/init/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_F9E1K2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_F9E1K2/pathbuf/init/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/init/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/init/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_F9E1K2/pathbuf/init/.dirs/runtime 1394s # Initializing empty path buf 1394s # Initializing with empty path 1394s # Initializing with full path 1394s # Initializing with no path 1394s # Allocating GPathBuf on the heap 1394s ok 1 /pathbuf/init 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/push-pop/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/push-pop/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_F9E1K2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_F9E1K2/pathbuf/push-pop/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/push-pop/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_F9E1K2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_F9E1K2/pathbuf/push-pop/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/push-pop/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/push-pop/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_F9E1K2/pathbuf/push-pop/.dirs/runtime 1394s # Pushing relative path component 1394s # Pushing absolute path component 1394s # Popping a path component 1394s # Can't pop the last element of a path buffer 1394s ok 2 /pathbuf/push-pop 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/filename-extension/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/filename-extension/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_F9E1K2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_F9E1K2/pathbuf/filename-extension/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/filename-extension/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_F9E1K2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_F9E1K2/pathbuf/filename-extension/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/filename-extension/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_F9E1K2/pathbuf/filename-extension/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_F9E1K2/pathbuf/filename-extension/.dirs/runtime 1394s ok 3 /pathbuf/filename-extension 1394s # End of pathbuf tests 1394s ok - glib/pathbuf.test 1394s # Running test: glib/credentials.test 1394s TAP version 13 1394s # random seed: R02S82c595f29e0b7041db87249a06ee9801 1394s 1..1 1394s # Start of credentials tests 1394s # GCredentials:linux-ucred:pid=2718,uid=1000,gid=1000 1394s # GCredentials:linux-ucred:pid=2718,uid=0,gid=1000 1394s ok 1 /credentials/basic 1394s # End of credentials tests 1394s ok - glib/credentials.test 1394s # Running test: glib/macros-c-17.test 1394s TAP version 13 1394s # random seed: R02S1558b0736e837acefcabbe46182a314e 1394s 1..4 1394s # Start of C tests 1394s ok 1 /C/standard-17 1394s # End of C tests 1394s # Start of alignof tests 1394s ok 2 /alignof/fallback 1394s # End of alignof tests 1394s # Start of assert tests 1394s ok 3 /assert/static 1394s # End of assert tests 1394s # Start of struct tests 1394s ok 4 /struct/sizeof_member 1394s # End of struct tests 1394s ok - glib/macros-c-17.test 1394s # Running test: glib/markup-subparser.test 1394s TAP version 13 1394s # random seed: R02S67d4efdb5dcfd0389864ef2c66368c49 1394s 1..14 1394s # Start of glib tests 1394s # Start of markup tests 1394s # Start of subparser tests 1394s # Start of success tests 1394s ok 1 /glib/markup/subparser/success/0 1394s ok 2 /glib/markup/subparser/success/1 1394s ok 3 /glib/markup/subparser/success/2 1394s ok 4 /glib/markup/subparser/success/3 1394s ok 5 /glib/markup/subparser/success/4 1394s ok 6 /glib/markup/subparser/success/5 1394s ok 7 /glib/markup/subparser/success/6 1394s # End of success tests 1394s # Start of failure tests 1394s ok 8 /glib/markup/subparser/failure/0 1394s ok 9 /glib/markup/subparser/failure/1 1394s ok 10 /glib/markup/subparser/failure/2 1394s ok 11 /glib/markup/subparser/failure/3 1394s ok 12 /glib/markup/subparser/failure/4 1394s ok 13 /glib/markup/subparser/failure/5 1394s ok 14 /glib/markup/subparser/failure/6 1394s # End of failure tests 1394s # End of subparser tests 1394s # End of markup tests 1394s # End of glib tests 1394s ok - glib/markup-subparser.test 1394s # Running test: glib/init.test 1394s TAP version 13 1394s # random seed: R02S47eee5069c430efaab826e9af1739833 1394s 1..2 1394s # Start of thread tests 1394s # Start of deprecated tests 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_AJM0K2/thread/deprecated/init/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_AJM0K2/thread/deprecated/init/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_AJM0K2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_AJM0K2/thread/deprecated/init/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_AJM0K2/thread/deprecated/init/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_AJM0K2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_AJM0K2/thread/deprecated/init/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_AJM0K2/thread/deprecated/init/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_AJM0K2/thread/deprecated/init/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_AJM0K2/thread/deprecated/init/.dirs/runtime 1394s ok 1 /thread/deprecated/init 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_AJM0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_AJM0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_AJM0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_AJM0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_AJM0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_AJM0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_AJM0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_AJM0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_AJM0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_AJM0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1394s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1394s # End of deprecated tests 1394s # End of thread tests 1394s ok - glib/init.test 1394s # Running test: glib/deftype.test 1394s ok - glib/deftype.test 1394s # Running test: glib/properties-introspection.test 1394s TAP version 13 1394s # random seed: R02Scfb8024b1ee5c580545ef30dc7f9daea 1394s 1..2 1394s # Start of properties tests 1394s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1394s ok 1 /properties/introspection 1394s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1394s ok 2 /properties/collision 1394s # End of properties tests 1394s ok - glib/properties-introspection.test 1394s # Running test: glib/notify-init.test 1394s TAP version 13 1394s # random seed: R02S3298d28c15705d91a688097c55b41e0d 1394s 1..1 1394s # Start of properties tests 1394s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1394s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1394s ok 1 /properties/notify-in-init 1394s # End of properties tests 1394s ok - glib/notify-init.test 1394s # Running test: glib/properties-refcount4.test 1394s # Executing: glib/properties-refcount4.test 1394s TAP version 13 1394s # random seed: R02S07e1dff8df838af6d4fb51760c23c4a5 1394s 1..1 1394s # Start of gobject tests 1394s # Start of refcount tests 1394s ok 1 /gobject/refcount/properties-4 1394s # End of refcount tests 1394s # End of gobject tests 1394s ok - glib/properties-refcount4.test 1394s # Running test: glib/codegen.py.test 1394s TAP version 13 1394s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1394s # tmpdir: /tmp/tmprx7i5v_0 1394s # codegen: /usr/bin/gdbus-codegen 1394s # /tmp/tmprx7i5v_0/tmpxn62ds35.xml: 1394s # 1394s # 1394s # 1394s # 1394s # 1394s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprx7i5v_0/tmpxn62ds35.xml', '--output', '-', '--header'] 1394s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1394s # Output: /* 1394s # * This file is generated by gdbus-codegen, do not modify it. 1394s # * 1394s # * The license of this code is the same as for the D-Bus interface description 1394s # * it was derived from. Note that it links to GLib, so must comply with the 1394s # * LGPL linking clauses. 1394s # */ 1394s # 1394s # #ifndef __STDOUT__ 1394s # #define __STDOUT__ 1394s # 1394s # #include 1394s # 1394s # G_BEGIN_DECLS 1394s # 1394s # 1394s # /* ------------------------------------------------------------------------ */ 1394s # /* Declarations for org.project.UsefulInterface */ 1394s # 1394s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1394s # 1394s # struct _OrgProjectUsefulInterface; 1394s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1394s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1394s # 1394s # struct _OrgProjectUsefulInterfaceIface 1394s # { 1394s # GTypeInterface parent_iface; 1394s # 1394s # gboolean (*handle_useful_method) ( 1394s # OrgProjectUsefulInterface *object, 1394s # GDBusMethodInvocation *invocation); 1394s # 1394s # }; 1394s # 1394s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1394s # 1394s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1394s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1394s # 1394s # 1394s # /* D-Bus method call completion functions: */ 1394s # void org_project_useful_interface_complete_useful_method ( 1394s # OrgProjectUsefulInterface *object, 1394s # GDBusMethodInvocation *invocation); 1394s # 1394s # 1394s # 1394s # /* D-Bus method calls: */ 1394s # void org_project_useful_interface_call_useful_method ( 1394s # OrgProjectUsefulInterface *proxy, 1394s # GCancellable *cancellable, 1394s # GAsyncReadyCallback callback, 1394s # gpointer user_data); 1394s # 1394s # gboolean org_project_useful_interface_call_useful_method_finish ( 1394s # OrgProjectUsefulInterface *proxy, 1394s # GAsyncResult *res, 1394s # GError **error); 1394s # 1394s # gboolean org_project_useful_interface_call_useful_method_sync ( 1394s # OrgProjectUsefulInterface *proxy, 1394s # GCancellable *cancellable, 1394s # GError **error); 1394s # 1394s # 1394s # 1394s # /* ---- */ 1394s # 1394s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1394s # 1394s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1394s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1394s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1394s # 1394s # struct _OrgProjectUsefulInterfaceProxy 1394s # { 1394s # /*< private >*/ 1394s # GDBusProxy parent_instance; 1394s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1394s # }; 1394s # 1394s # struct _OrgProjectUsefulInterfaceProxyClass 1394s # { 1394s # GDBusProxyClass parent_class; 1394s # }; 1394s # 1394s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1394s # 1394s # #if GLIB_CHECK_VERSION(2, 44, 0) 1394s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1394s # #endif 1394s # 1394s # void org_project_useful_interface_proxy_new ( 1394s # GDBusConnection *connection, 1394s # GDBusProxyFlags flags, 1394s # const gchar *name, 1394s # const gchar *object_path, 1394s # GCancellable *cancellable, 1394s # GAsyncReadyCallback callback, 1394s # gpointer user_data); 1394s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1394s # GAsyncResult *res, 1394s # GError **error); 1394s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1394s # GDBusConnection *connection, 1394s # GDBusProxyFlags flags, 1394s # const gchar *name, 1394s # const gchar *object_path, 1394s # GCancellable *cancellable, 1394s # GError **error); 1394s # 1394s # void org_project_useful_interface_proxy_new_for_bus ( 1394s # GBusType bus_type, 1394s # GDBusProxyFlags flags, 1394s # const gchar *name, 1394s # const gchar *object_path, 1394s # GCancellable *cancellable, 1394s # GAsyncReadyCallback callback, 1394s # gpointer user_data); 1394s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1394s # GAsyncResult *res, 1394s # GError **error); 1394s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1394s # GBusType bus_type, 1394s # GDBusProxyFlags flags, 1394s # const gchar *name, 1394s # const gchar *object_path, 1394s # GCancellable *cancellable, 1394s # GError **error); 1394s # 1394s # 1394s # /* ---- */ 1394s # 1394s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1394s # 1394s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1394s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1394s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1394s # 1394s # struct _OrgProjectUsefulInterfaceSkeleton 1394s # { 1394s # /*< private >*/ 1394s # GDBusInterfaceSkeleton parent_instance; 1394s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1394s # }; 1394s # 1394s # struct _OrgProjectUsefulInterfaceSkeletonClass 1394s # { 1394s # GDBusInterfaceSkeletonClass parent_class; 1394s # }; 1394s # 1394s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1394s # 1394s # #if GLIB_CHECK_VERSION(2, 44, 0) 1394s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1394s # #endif 1394s # 1394s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1394s # 1394s # 1394s # G_END_DECLS 1394s # 1394s # #endif /* __STDOUT__ */ 1394s # /tmp/tmprx7i5v_0/tmplsianok1.xml: 1394s # 1394s # 1394s # 1394s # 1394s # 1394s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprx7i5v_0/tmplsianok1.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1394s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1394s # Output: /* 1394s # * This file is generated by gdbus-codegen, do not modify it. 1394s # * 1394s # * The license of this code is the same as for the D-Bus interface description 1394s # * it was derived from. Note that it links to GLib, so must comply with the 1394s # * LGPL linking clauses. 1394s # */ 1394s # 1394s # #ifndef __STDOUT__ 1394s # #define __STDOUT__ 1394s # 1394s # #include 1394s # 1394s # G_BEGIN_DECLS 1394s # 1394s # 1394s # /* ------------------------------------------------------------------------ */ 1394s # /* Declarations for org.project.UsefulInterface */ 1394s # 1394s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1394s # 1394s # struct _OrgProjectUsefulInterface; 1394s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1394s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1394s # 1394s # struct _OrgProjectUsefulInterfaceIface 1394s # { 1394s # GTypeInterface parent_iface; 1394s # 1394s # gboolean (*handle_useful_method) ( 1394s # OrgProjectUsefulInterface *object, 1394s # GDBusMethodInvocation *invocation); 1394s # 1394s # }; 1394s # 1394s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1394s # 1394s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1394s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1394s # 1394s # 1394s # /* D-Bus method call completion functions: */ 1394s # void org_project_useful_interface_complete_useful_method ( 1394s # OrgProjectUsefulInterface *object, 1394s # GDBusMethodInvocation *invocation); 1394s # 1394s # 1394s # 1394s # /* D-Bus method calls: */ 1394s # void org_project_useful_interface_call_useful_method ( 1394s # OrgProjectUsefulInterface *proxy, 1394s # GCancellable *cancellable, 1394s # GAsyncReadyCallback callback, 1394s # gpointer user_data); 1394s # 1394s # gboolean org_project_useful_interface_call_useful_method_finish ( 1394s # OrgProjectUsefulInterface *proxy, 1394s # GAsyncResult *res, 1394s # GError **error); 1394s # 1394s # gboolean org_project_useful_interface_call_useful_method_sync ( 1394s # OrgProjectUsefulInterface *proxy, 1394s # GCancellable *cancellable, 1394s # GError **error); 1394s # 1394s # 1394s # 1394s # /* ---- */ 1394s # 1394s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1394s # 1394s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1394s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1394s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1394s # 1394s # struct _OrgProjectUsefulInterfaceProxy 1394s # { 1394s # /*< private >*/ 1394s # GDBusProxy parent_instance; 1394s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1394s # }; 1394s # 1394s # struct _OrgProjectUsefulInterfaceProxyClass 1394s # { 1394s # GDBusProxyClass parent_class; 1394s # }; 1394s # 1394s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1394s # 1394s # #if GLIB_CHECK_VERSION(2, 44, 0) 1394s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1394s # #endif 1394s # 1394s # void org_project_useful_interface_proxy_new ( 1394s # GDBusConnection *connection, 1394s # GDBusProxyFlags flags, 1394s # const gchar *name, 1394s # const gchar *object_path, 1394s # GCancellable *cancellable, 1394s # GAsyncReadyCallback callback, 1394s # gpointer user_data); 1394s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1394s # GAsyncResult *res, 1394s # GError **error); 1394s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1394s # GDBusConnection *connection, 1394s # GDBusProxyFlags flags, 1394s # const gchar *name, 1394s # const gchar *object_path, 1394s # GCancellable *cancellable, 1394s # GError **error); 1394s # 1394s # void org_project_useful_interface_proxy_new_for_bus ( 1394s # GBusType bus_type, 1394s # GDBusProxyFlags flags, 1394s # const gchar *name, 1394s # const gchar *object_path, 1394s # GCancellable *cancellable, 1394s # GAsyncReadyCallback callback, 1394s # gpointer user_data); 1394s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1394s # GAsyncResult *res, 1394s # GError **error); 1394s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1394s # GBusType bus_type, 1394s # GDBusProxyFlags flags, 1394s # const gchar *name, 1394s # const gchar *object_path, 1394s # GCancellable *cancellable, 1394s # GError **error); 1394s # 1394s # 1394s # /* ---- */ 1394s # 1394s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1394s # 1394s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1394s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1394s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1394s # 1394s # struct _OrgProjectUsefulInterfaceSkeleton 1394s # { 1394s # /*< private >*/ 1394s # GDBusInterfaceSkeleton parent_instance; 1394s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1394s # }; 1394s # 1394s # struct _OrgProjectUsefulInterfaceSkeletonClass 1394s # { 1394s # GDBusInterfaceSkeletonClass parent_class; 1394s # }; 1394s # 1394s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1394s # 1394s # #if GLIB_CHECK_VERSION(2, 44, 0) 1394s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1394s # #endif 1394s # 1394s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1394s # 1394s # 1394s # G_END_DECLS 1394s # 1394s # #endif /* __STDOUT__ */ 1394s # /tmp/tmprx7i5v_0/tmpsweate29.xml: 1394s # 1394s # 1394s # 1394s # 1394s # 1394s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprx7i5v_0/tmpsweate29.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1394s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1394s # Output: /* 1394s # * This file is generated by gdbus-codegen, do not modify it. 1394s # * 1394s # * The license of this code is the same as for the D-Bus interface description 1394s # * it was derived from. Note that it links to GLib, so must comply with the 1394s # * LGPL linking clauses. 1394s # */ 1394s # 1394s # #ifndef __STDOUT__ 1394s # #define __STDOUT__ 1394s # 1394s # #include 1394s # 1394s # G_BEGIN_DECLS 1394s # 1394s # 1394s # /* ------------------------------------------------------------------------ */ 1394s # /* Declarations for org.project.UsefulInterface */ 1394s # 1394s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1394s # 1394s # struct _OrgProjectUsefulInterface; 1394s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1394s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1394s # 1394s # struct _OrgProjectUsefulInterfaceIface 1394s # { 1394s # GTypeInterface parent_iface; 1394s # 1394s # gboolean (*handle_useful_method) ( 1394s # OrgProjectUsefulInterface *object, 1394s # GDBusMethodInvocation *invocation); 1394s # 1394s # }; 1394s # 1394s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1394s # 1394s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1394s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1394s # 1394s # 1394s # /* D-Bus method call completion functions: */ 1394s # void org_project_useful_interface_complete_useful_method ( 1394s # OrgProjectUsefulInterface *object, 1394s # GDBusMethodInvocation *invocation); 1394s # 1394s # 1394s # 1394s # /* D-Bus method calls: */ 1394s # void org_project_useful_interface_call_useful_method ( 1394s # OrgProjectUsefulInterface *proxy, 1394s # GDBusCallFlags call_flags, 1394s # gint timeout_msec, 1394s # GCancellable *cancellable, 1394s # GAsyncReadyCallback callback, 1394s # gpointer user_data); 1394s # 1394s # gboolean org_project_useful_interface_call_useful_method_finish ( 1394s # OrgProjectUsefulInterface *proxy, 1394s # GAsyncResult *res, 1394s # GError **error); 1394s # 1394s # gboolean org_project_useful_interface_call_useful_method_sync ( 1394s # OrgProjectUsefulInterface *proxy, 1394s # GDBusCallFlags call_flags, 1394s # gint timeout_msec, 1394s # GCancellable *cancellable, 1394s # GError **error); 1394s # 1394s # 1394s # 1394s # /* ---- */ 1394s # 1394s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1394s # 1394s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1394s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1394s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1394s # 1394s # struct _OrgProjectUsefulInterfaceProxy 1394s # { 1394s # /*< private >*/ 1394s # GDBusProxy parent_instance; 1394s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1394s # }; 1394s # 1394s # struct _OrgProjectUsefulInterfaceProxyClass 1394s # { 1394s # GDBusProxyClass parent_class; 1394s # }; 1394s # 1394s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1394s # 1394s # #if GLIB_CHECK_VERSION(2, 44, 0) 1394s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1394s # #endif 1394s # 1394s # void org_project_useful_interface_proxy_new ( 1394s # GDBusConnection *connection, 1394s # GDBusProxyFlags flags, 1394s # const gchar *name, 1394s # const gchar *object_path, 1394s # GCancellable *cancellable, 1394s # GAsyncReadyCallback callback, 1394s # gpointer user_data); 1394s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1394s # GAsyncResult *res, 1394s # GError **error); 1394s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1394s # GDBusConnection *connection, 1394s # GDBusProxyFlags flags, 1394s # const gchar *name, 1394s # const gchar *object_path, 1394s # GCancellable *cancellable, 1394s # GError **error); 1394s # 1394s # void org_project_useful_interface_proxy_new_for_bus ( 1394s # GBusType bus_type, 1394s # GDBusProxyFlags flags, 1394s # const gchar *name, 1394s # const gchar *object_path, 1394s # GCancellable *cancellable, 1394s # GAsyncReadyCallback callback, 1394s # gpointer user_data); 1394s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1394s # GAsyncResult *res, 1394s # GError **error); 1394s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1394s # GBusType bus_type, 1394s # GDBusProxyFlags flags, 1394s # const gchar *name, 1394s # const gchar *object_path, 1394s # GCancellable *cancellable, 1394s # GError **error); 1394s # 1394s # 1394s # /* ---- */ 1394s # 1394s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1394s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1394s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1394s # 1394s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1394s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1394s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1394s # 1394s # struct _OrgProjectUsefulInterfaceSkeleton 1394s # { 1394s # /*< private >*/ 1394s # GDBusInterfaceSkeleton parent_instance; 1394s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1394s # }; 1394s # 1394s # struct _OrgProjectUsefulInterfaceSkeletonClass 1394s # { 1394s # GDBusInterfaceSkeletonClass parent_class; 1394s # }; 1394s # 1394s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1394s # 1394s # #if GLIB_CHECK_VERSION(2, 44, 0) 1394s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1394s # #endif 1394s # 1394s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1394s # 1394s # 1394s # G_END_DECLS 1394s # 1394s # #endif /* __STDOUT__ */ 1396s ok 2 __main__.TestCodegen.test_dbus_types 1396s # tmpdir: /tmp/tmp2ft849y3 1396s # codegen: /usr/bin/gdbus-codegen 1396s # /tmp/tmp2ft849y3/tmpd6g74rf0.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmpd6g74rf0.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # /tmp/tmp2ft849y3/tmp9a7wlb07.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmp9a7wlb07.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # /tmp/tmp2ft849y3/tmpjor4j1za.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmpjor4j1za.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # /tmp/tmp2ft849y3/tmpb32wm70g.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmpb32wm70g.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # /tmp/tmp2ft849y3/tmpp06yb243.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmpp06yb243.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # /tmp/tmp2ft849y3/tmpr0ylquqi.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmpr0ylquqi.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # /tmp/tmp2ft849y3/tmpqcpi3iiu.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmpqcpi3iiu.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # /tmp/tmp2ft849y3/tmpwnf9ov2_.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmpwnf9ov2_.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # /tmp/tmp2ft849y3/tmp0xcbajoo.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmp0xcbajoo.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # /tmp/tmp2ft849y3/tmpk2jryy3p.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmpk2jryy3p.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # /tmp/tmp2ft849y3/tmpxzaapxxl.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmpxzaapxxl.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # /tmp/tmp2ft849y3/tmpznv5x1he.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmpznv5x1he.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # /tmp/tmp2ft849y3/tmp_jc8vit0.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmp_jc8vit0.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # /tmp/tmp2ft849y3/tmpf4aa88hm.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmpf4aa88hm.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # Output: /* 1396s # * This file is generated by gdbus-codegen, do not modify it. 1396s # * 1396s # * The license of this code is the same as for the D-Bus interface description 1396s # * it was derived from. Note that it links to GLib, so must comply with the 1396s # * LGPL linking clauses. 1396s # */ 1396s # 1396s # #ifdef HAVE_CONFIG_H 1396s # # include "config.h" 1396s # #endif 1396s # 1396s # #include 1396s # #ifdef G_OS_UNIX 1396s # # include 1396s # #endif 1396s # 1396s # #ifdef G_ENABLE_DEBUG 1396s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1396s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1396s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1396s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1396s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1396s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1396s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1396s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1396s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1396s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1396s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1396s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1396s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1396s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1396s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1396s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1396s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1396s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1396s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1396s # #else /* !G_ENABLE_DEBUG */ 1396s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1396s # * Do not access GValues directly in your code. Instead, use the 1396s # * g_value_get_*() functions 1396s # */ 1396s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1396s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1396s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1396s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1396s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1396s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1396s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1396s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1396s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1396s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1396s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1396s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1396s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1396s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1396s # #endif /* !G_ENABLE_DEBUG */ 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusArgInfo parent_struct; 1396s # gboolean use_gvariant; 1396s # } _ExtendedGDBusArgInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusMethodInfo parent_struct; 1396s # const gchar *signal_name; 1396s # gboolean pass_fdlist; 1396s # } _ExtendedGDBusMethodInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusSignalInfo parent_struct; 1396s # const gchar *signal_name; 1396s # } _ExtendedGDBusSignalInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusPropertyInfo parent_struct; 1396s # const gchar *hyphen_name; 1396s # guint use_gvariant : 1; 1396s # guint emits_changed_signal : 1; 1396s # } _ExtendedGDBusPropertyInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusInterfaceInfo parent_struct; 1396s # const gchar *hyphen_name; 1396s # } _ExtendedGDBusInterfaceInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info; 1396s # guint prop_id; 1396s # GValue orig_value; /* the value before the change */ 1396s # } ChangedProperty; 1396s # 1396s # static void 1396s # _changed_property_free (ChangedProperty *data) 1396s # { 1396s # g_value_unset (&data->orig_value); 1396s # g_free (data); 1396s # } 1396s # 1396s # static gboolean 1396s # _g_strv_equal0 (gchar **a, gchar **b) 1396s # { 1396s # gboolean ret = FALSE; 1396s # guint n; 1396s # if (a == NULL && b == NULL) 1396s # { 1396s # ret = TRUE; 1396s # goto out; 1396s # } 1396s # if (a == NULL || b == NULL) 1396s # goto out; 1396s # if (g_strv_length (a) != g_strv_length (b)) 1396s # goto out; 1396s # for (n = 0; a[n] != NULL; n++) 1396s # if (g_strcmp0 (a[n], b[n]) != 0) 1396s # goto out; 1396s # ret = TRUE; 1396s # out: 1396s # return ret; 1396s # } 1396s # 1396s # static gboolean 1396s # _g_variant_equal0 (GVariant *a, GVariant *b) 1396s # { 1396s # gboolean ret = FALSE; 1396s # if (a == NULL && b == NULL) 1396s # { 1396s # ret = TRUE; 1396s # goto out; 1396s # } 1396s # if (a == NULL || b == NULL) 1396s # goto out; 1396s # ret = g_variant_equal (a, b); 1396s # out: 1396s # return ret; 1396s # } 1396s # 1396s # G_GNUC_UNUSED static gboolean 1396s # _g_value_equal (const GValue *a, const GValue *b) 1396s # { 1396s # gboolean ret = FALSE; 1396s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1396s # switch (G_VALUE_TYPE (a)) 1396s # { 1396s # case G_TYPE_BOOLEAN: 1396s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1396s # break; 1396s # case G_TYPE_UCHAR: 1396s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1396s # break; 1396s # case G_TYPE_INT: 1396s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1396s # break; 1396s # case G_TYPE_UINT: 1396s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1396s # break; 1396s # case G_TYPE_INT64: 1396s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1396s # break; 1396s # case G_TYPE_UINT64: 1396s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1396s # break; 1396s # case G_TYPE_DOUBLE: 1396s # { 1396s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1396s # gdouble da = g_value_get_double (a); 1396s # gdouble db = g_value_get_double (b); 1396s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1396s # } 1396s # break; 1396s # case G_TYPE_STRING: 1396s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1396s # break; 1396s # case G_TYPE_VARIANT: 1396s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1396s # break; 1396s # default: 1396s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1396s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1396s # else 1396s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1396s # break; 1396s # } 1396s # return ret; 1396s # } 1396s # 1396s # /* ------------------------------------------------------------------------ 1396s # * Code for interface GoodTypes 1396s # * ------------------------------------------------------------------------ 1396s # */ 1396s # 1396s # /** 1396s # * SECTION:GoodTypes 1396s # * @title: GoodTypes 1396s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1396s # * 1396s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1396s # */ 1396s # 1396s # /* ---- Introspection data for GoodTypes ---- */ 1396s # 1396s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1396s # { 1396s # { 1396s # -1, 1396s # (gchar *) "GoodPropertyType", 1396s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1396s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1396s # NULL 1396s # }, 1396s # "good-property-type", 1396s # FALSE, 1396s # TRUE 1396s # }; 1396s # 1396s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1396s # { 1396s # &_good_types_property_info_good_property_type.parent_struct, 1396s # NULL 1396s # }; 1396s # 1396s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1396s # { 1396s # { 1396s # -1, 1396s # (gchar *) "GoodTypes", 1396s # NULL, 1396s # NULL, 1396s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1396s # NULL 1396s # }, 1396s # "good-types", 1396s # }; 1396s # 1396s # 1396s # /** 1396s # * good_types_interface_info: 1396s # * 1396s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1396s # * 1396s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1396s # */ 1396s # GDBusInterfaceInfo * 1396s # good_types_interface_info (void) 1396s # { 1396s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1396s # } 1396s # 1396s # /** 1396s # * good_types_override_properties: 1396s # * @klass: The class structure for a #GObject derived class. 1396s # * @property_id_begin: The property id to assign to the first overridden property. 1396s # * 1396s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1396s # * The properties are overridden in the order they are defined. 1396s # * 1396s # * Returns: The last property id. 1396s # */ 1396s # guint 1396s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1396s # { 1396s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1396s # return property_id_begin - 1; 1396s # } 1396s # 1396s # 1396s # 1396s # /** 1396s # * GoodTypes: 1396s # * 1396s # * Abstract interface type for the D-Bus interface GoodTypes. 1396s # */ 1396s # 1396s # /** 1396s # * GoodTypesIface: 1396s # * @parent_iface: The parent interface. 1396s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1396s # * 1396s # * Virtual table for the D-Bus interface GoodTypes. 1396s # */ 1396s # 1396s # typedef GoodTypesIface GoodTypesInterface; 1396s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1396s # 1396s # static void 1396s # good_types_default_init (GoodTypesIface *iface) 1396s # { 1396s # /* GObject properties for D-Bus properties: */ 1396s # /** 1396s # * GoodTypes:good-property-type: 1396s # * 1396s # * Represents the D-Bus property "GoodPropertyType". 1396s # * 1396s # * 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. 1396s # */ 1396s # g_object_interface_install_property (iface, 1396s # 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)); 1396s # } 1396s # 1396s # /** 1396s # * good_types_get_good_property_type: (skip) 1396s # * @object: A GoodTypes. 1396s # * 1396s # * Gets the value of the "GoodPropertyType" D-Bus property. 1396s # * 1396s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1396s # * 1396s # * 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. 1396s # * 1396s # * 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. 1396s # */ 1396s # GVariant * 1396s # good_types_get_good_property_type (GoodTypes *object) 1396s # { 1396s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1396s # 1396s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1396s # } 1396s # 1396s # /** 1396s # * good_types_dup_good_property_type: (skip) 1396s # * @object: A GoodTypes. 1396s # * 1396s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1396s # * 1396s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1396s # * 1396s # * 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(). 1396s # */ 1396s # GVariant * 1396s # good_types_dup_good_property_type (GoodTypes *object) 1396s # { 1396s # GVariant *value; 1396s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1396s # return value; 1396s # } 1396s # 1396s # /** 1396s # * good_types_set_good_property_type: (skip) 1396s # * @object: A GoodTypes. 1396s # * @value: The value to set. 1396s # * 1396s # * Sets the "GoodPropertyType" D-Bus property to @value. 1396s # * 1396s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1396s # */ 1396s # void 1396s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1396s # { 1396s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1396s # } 1396s # 1396s # /* ------------------------------------------------------------------------ */ 1396s # 1396s # /** 1396s # * GoodTypesProxy: 1396s # * 1396s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1396s # */ 1396s # 1396s # /** 1396s # * GoodTypesProxyClass: 1396s # * @parent_class: The parent class. 1396s # * 1396s # * Class structure for GoodTypesProxy. 1396s # */ 1396s # 1396s # struct _GoodTypesProxyPrivate 1396s # { 1396s # GData *qdata; 1396s # }; 1396s # 1396s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1396s # 1396s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1396s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1396s # G_ADD_PRIVATE (GoodTypesProxy) 1396s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1396s # 1396s # #else 1396s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1396s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1396s # 1396s # #endif 1396s # static void 1396s # good_types_proxy_finalize (GObject *object) 1396s # { 1396s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1396s # g_datalist_clear (&proxy->priv->qdata); 1396s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_get_property (GObject *object, 1396s # guint prop_id, 1396s # GValue *value, 1396s # GParamSpec *pspec G_GNUC_UNUSED) 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info; 1396s # GVariant *variant; 1396s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1396s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1396s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1396s # if (info->use_gvariant) 1396s # { 1396s # g_value_set_variant (value, variant); 1396s # } 1396s # else 1396s # { 1396s # if (variant != NULL) 1396s # g_dbus_gvariant_to_gvalue (variant, value); 1396s # } 1396s # if (variant != NULL) 1396s # g_variant_unref (variant); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1396s # GAsyncResult *res, 1396s # gpointer user_data) 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info = user_data; 1396s # GError *error; 1396s # GVariant *_ret; 1396s # error = NULL; 1396s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1396s # if (!_ret) 1396s # { 1396s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1396s # info->parent_struct.name, 1396s # error->message, g_quark_to_string (error->domain), error->code); 1396s # g_error_free (error); 1396s # } 1396s # else 1396s # { 1396s # g_variant_unref (_ret); 1396s # } 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_set_property (GObject *object, 1396s # guint prop_id, 1396s # const GValue *value, 1396s # GParamSpec *pspec G_GNUC_UNUSED) 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info; 1396s # GVariant *variant; 1396s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1396s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1396s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1396s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1396s # "org.freedesktop.DBus.Properties.Set", 1396s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1396s # G_DBUS_CALL_FLAGS_NONE, 1396s # -1, 1396s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1396s # g_variant_unref (variant); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_g_signal (GDBusProxy *proxy, 1396s # const gchar *sender_name G_GNUC_UNUSED, 1396s # const gchar *signal_name, 1396s # GVariant *parameters) 1396s # { 1396s # _ExtendedGDBusSignalInfo *info; 1396s # GVariantIter iter; 1396s # GVariant *child; 1396s # GValue *paramv; 1396s # gsize num_params; 1396s # gsize n; 1396s # guint signal_id; 1396s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1396s # if (info == NULL) 1396s # return; 1396s # num_params = g_variant_n_children (parameters); 1396s # paramv = g_new0 (GValue, num_params + 1); 1396s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1396s # g_value_set_object (¶mv[0], proxy); 1396s # g_variant_iter_init (&iter, parameters); 1396s # n = 1; 1396s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1396s # { 1396s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1396s # if (arg_info->use_gvariant) 1396s # { 1396s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1396s # g_value_set_variant (¶mv[n], child); 1396s # n++; 1396s # } 1396s # else 1396s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1396s # g_variant_unref (child); 1396s # } 1396s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1396s # g_signal_emitv (paramv, signal_id, 0, NULL); 1396s # for (n = 0; n < num_params + 1; n++) 1396s # g_value_unset (¶mv[n]); 1396s # g_free (paramv); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1396s # GVariant *changed_properties, 1396s # const gchar *const *invalidated_properties) 1396s # { 1396s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1396s # guint n; 1396s # const gchar *key; 1396s # GVariantIter *iter; 1396s # _ExtendedGDBusPropertyInfo *info; 1396s # g_variant_get (changed_properties, "a{sv}", &iter); 1396s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1396s # { 1396s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1396s # g_datalist_remove_data (&proxy->priv->qdata, key); 1396s # if (info != NULL) 1396s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1396s # } 1396s # g_variant_iter_free (iter); 1396s # for (n = 0; invalidated_properties[n] != NULL; n++) 1396s # { 1396s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1396s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1396s # if (info != NULL) 1396s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1396s # } 1396s # } 1396s # 1396s # static GVariant * 1396s # good_types_proxy_get_good_property_type (GoodTypes *object) 1396s # { 1396s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1396s # GVariant *variant; 1396s # GVariant *value = NULL; 1396s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1396s # value = variant; 1396s # if (variant != NULL) 1396s # g_variant_unref (variant); 1396s # return value; 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_init (GoodTypesProxy *proxy) 1396s # { 1396s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1396s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1396s # #else 1396s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1396s # #endif 1396s # 1396s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1396s # { 1396s # GObjectClass *gobject_class; 1396s # GDBusProxyClass *proxy_class; 1396s # 1396s # gobject_class = G_OBJECT_CLASS (klass); 1396s # gobject_class->finalize = good_types_proxy_finalize; 1396s # gobject_class->get_property = good_types_proxy_get_property; 1396s # gobject_class->set_property = good_types_proxy_set_property; 1396s # 1396s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1396s # proxy_class->g_signal = good_types_proxy_g_signal; 1396s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1396s # 1396s # good_types_override_properties (gobject_class, 1); 1396s # 1396s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1396s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1396s # #endif 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_iface_init (GoodTypesIface *iface) 1396s # { 1396s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new: 1396s # * @connection: A #GDBusConnection. 1396s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1396s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1396s # * @object_path: An object path. 1396s # * @cancellable: (nullable): A #GCancellable or %NULL. 1396s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1396s # * @user_data: User data to pass to @callback. 1396s # * 1396s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1396s # * 1396s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1396s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1396s # * 1396s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1396s # */ 1396s # void 1396s # good_types_proxy_new ( 1396s # GDBusConnection *connection, 1396s # GDBusProxyFlags flags, 1396s # const gchar *name, 1396s # const gchar *object_path, 1396s # GCancellable *cancellable, 1396s # GAsyncReadyCallback callback, 1396s # gpointer user_data) 1396s # { 1396s # 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); 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new_finish: 1396s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1396s # * @error: Return location for error or %NULL 1396s # * 1396s # * Finishes an operation started with good_types_proxy_new(). 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1396s # */ 1396s # GoodTypes * 1396s # good_types_proxy_new_finish ( 1396s # GAsyncResult *res, 1396s # GError **error) 1396s # { 1396s # GObject *ret; 1396s # GObject *source_object; 1396s # source_object = g_async_result_get_source_object (res); 1396s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1396s # g_object_unref (source_object); 1396s # if (ret != NULL) 1396s # return GOOD_TYPES (ret); 1396s # else 1396s # return NULL; 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new_sync: 1396s # * @connection: A #GDBusConnection. 1396s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1396s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1396s # * @object_path: An object path. 1396s # * @cancellable: (nullable): A #GCancellable or %NULL. 1396s # * @error: Return location for error or %NULL 1396s # * 1396s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1396s # * 1396s # * The calling thread is blocked until a reply is received. 1396s # * 1396s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1396s # */ 1396s # GoodTypes * 1396s # good_types_proxy_new_sync ( 1396s # GDBusConnection *connection, 1396s # GDBusProxyFlags flags, 1396s # const gchar *name, 1396s # const gchar *object_path, 1396s # GCancellable *cancellable, 1396s # GError **error) 1396s # { 1396s # GInitable *ret; 1396s # 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); 1396s # if (ret != NULL) 1396s # return GOOD_TYPES (ret); 1396s # else 1396s # return NULL; 1396s # } 1396s # 1396s # 1396s # /** 1396s # * good_types_proxy_new_for_bus: 1396s # * @bus_type: A #GBusType. 1396s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1396s # * @name: A bus name (well-known or unique). 1396s # * @object_path: An object path. 1396s # * @cancellable: (nullable): A #GCancellable or %NULL. 1396s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1396s # * @user_data: User data to pass to @callback. 1396s # * 1396s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1396s # * 1396s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1396s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1396s # * 1396s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1396s # */ 1396s # void 1396s # good_types_proxy_new_for_bus ( 1396s # GBusType bus_type, 1396s # GDBusProxyFlags flags, 1396s # const gchar *name, 1396s # const gchar *object_path, 1396s # GCancellable *cancellable, 1396s # GAsyncReadyCallback callback, 1396s # gpointer user_data) 1396s # { 1396s # 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); 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new_for_bus_finish: 1396s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1396s # * @error: Return location for error or %NULL 1396s # * 1396s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1396s # */ 1396s # GoodTypes * 1396s # good_types_proxy_new_for_bus_finish ( 1396s # GAsyncResult *res, 1396s # GError **error) 1396s # { 1396s # GObject *ret; 1396s # GObject *source_object; 1396s # source_object = g_async_result_get_source_object (res); 1396s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1396s # g_object_unref (source_object); 1396s # if (ret != NULL) 1396s # return GOOD_TYPES (ret); 1396s # else 1396s # return NULL; 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new_for_bus_sync: 1396s # * @bus_type: A #GBusType. 1396s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1396s # * @name: A bus name (well-known or unique). 1396s # * @object_path: An object path. 1396s # * @cancellable: (nullable): A #GCancellable or %NULL. 1396s # * @error: Return location for error or %NULL 1396s # * 1396s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1396s # * 1396s # * The calling thread is blocked until a reply is received. 1396s # * 1396s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1396s # */ 1396s # GoodTypes * 1396s # good_types_proxy_new_for_bus_sync ( 1396s # GBusType bus_type, 1396s # GDBusProxyFlags flags, 1396s # const gchar *name, 1396s # const gchar *object_path, 1396s # GCancellable *cancellable, 1396s # GError **error) 1396s # { 1396s # GInitable *ret; 1396s # 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); 1396s # if (ret != NULL) 1396s # return GOOD_TYPES (ret); 1396s # else 1396s # return NULL; 1396s # } 1396s # 1396s # 1396s # /* ------------------------------------------------------------------------ */ 1396s # 1396s # /** 1396s # * GoodTypesSkeleton: 1396s # * 1396s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1396s # */ 1396s # 1396s # /** 1396s # * GoodTypesSkeletonClass: 1396s # * @parent_class: The parent class. 1396s # * 1396s # * Class structure for GoodTypesSkeleton. 1396s # */ 1396s # 1396s # struct _GoodTypesSkeletonPrivate 1396s # { 1396s # GValue *properties; 1396s # GList *changed_properties; 1396s # GSource *changed_properties_idle_source; 1396s # GMainContext *context; 1396s # GMutex lock; 1396s # }; 1396s # 1396s # static void 1396s # _good_types_skeleton_handle_method_call ( 1396s # GDBusConnection *connection G_GNUC_UNUSED, 1396s # const gchar *sender G_GNUC_UNUSED, 1396s # const gchar *object_path G_GNUC_UNUSED, 1396s # const gchar *interface_name, 1396s # const gchar *method_name, 1396s # GVariant *parameters, 1396s # GDBusMethodInvocation *invocation, 1396s # gpointer user_data) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1396s # _ExtendedGDBusMethodInfo *info; 1396s # GVariantIter iter; 1396s # GVariant *child; 1396s # GValue *paramv; 1396s # gsize num_params; 1396s # guint num_extra; 1396s # gsize n; 1396s # guint signal_id; 1396s # GValue return_value = G_VALUE_INIT; 1396s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1396s # g_assert (info != NULL); 1396s # num_params = g_variant_n_children (parameters); 1396s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1396s # n = 0; 1396s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1396s # g_value_set_object (¶mv[n++], skeleton); 1396s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1396s # g_value_set_object (¶mv[n++], invocation); 1396s # if (info->pass_fdlist) 1396s # { 1396s # #ifdef G_OS_UNIX 1396s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1396s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1396s # #else 1396s # g_assert_not_reached (); 1396s # #endif 1396s # } 1396s # g_variant_iter_init (&iter, parameters); 1396s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1396s # { 1396s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1396s # if (arg_info->use_gvariant) 1396s # { 1396s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1396s # g_value_set_variant (¶mv[n], child); 1396s # n++; 1396s # } 1396s # else 1396s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1396s # g_variant_unref (child); 1396s # } 1396s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1396s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1396s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1396s # if (!g_value_get_boolean (&return_value)) 1396s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1396s # g_value_unset (&return_value); 1396s # for (n = 0; n < num_params + num_extra; n++) 1396s # g_value_unset (¶mv[n]); 1396s # g_free (paramv); 1396s # } 1396s # 1396s # static GVariant * 1396s # _good_types_skeleton_handle_get_property ( 1396s # GDBusConnection *connection G_GNUC_UNUSED, 1396s # const gchar *sender G_GNUC_UNUSED, 1396s # const gchar *object_path G_GNUC_UNUSED, 1396s # const gchar *interface_name G_GNUC_UNUSED, 1396s # const gchar *property_name, 1396s # GError **error, 1396s # gpointer user_data) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1396s # GValue value = G_VALUE_INIT; 1396s # GParamSpec *pspec; 1396s # _ExtendedGDBusPropertyInfo *info; 1396s # GVariant *ret; 1396s # ret = NULL; 1396s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1396s # g_assert (info != NULL); 1396s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1396s # if (pspec == NULL) 1396s # { 1396s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1396s # } 1396s # else 1396s # { 1396s # g_value_init (&value, pspec->value_type); 1396s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1396s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1396s # g_value_unset (&value); 1396s # } 1396s # return ret; 1396s # } 1396s # 1396s # static gboolean 1396s # _good_types_skeleton_handle_set_property ( 1396s # GDBusConnection *connection G_GNUC_UNUSED, 1396s # const gchar *sender G_GNUC_UNUSED, 1396s # const gchar *object_path G_GNUC_UNUSED, 1396s # const gchar *interface_name G_GNUC_UNUSED, 1396s # const gchar *property_name, 1396s # GVariant *variant, 1396s # GError **error, 1396s # gpointer user_data) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1396s # GValue value = G_VALUE_INIT; 1396s # GParamSpec *pspec; 1396s # _ExtendedGDBusPropertyInfo *info; 1396s # gboolean ret; 1396s # ret = FALSE; 1396s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1396s # g_assert (info != NULL); 1396s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1396s # if (pspec == NULL) 1396s # { 1396s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1396s # } 1396s # else 1396s # { 1396s # if (info->use_gvariant) 1396s # g_value_set_variant (&value, variant); 1396s # else 1396s # g_dbus_gvariant_to_gvalue (variant, &value); 1396s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1396s # g_value_unset (&value); 1396s # ret = TRUE; 1396s # } 1396s # return ret; 1396s # } 1396s # 1396s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1396s # { 1396s # _good_types_skeleton_handle_method_call, 1396s # _good_types_skeleton_handle_get_property, 1396s # _good_types_skeleton_handle_set_property, 1396s # {NULL} 1396s # }; 1396s # 1396s # static GDBusInterfaceInfo * 1396s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1396s # { 1396s # return good_types_interface_info (); 1396s # } 1396s # 1396s # static GDBusInterfaceVTable * 1396s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1396s # { 1396s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1396s # } 1396s # 1396s # static GVariant * 1396s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1396s # 1396s # GVariantBuilder builder; 1396s # guint n; 1396s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1396s # if (_good_types_interface_info.parent_struct.properties == NULL) 1396s # goto out; 1396s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1396s # { 1396s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1396s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1396s # { 1396s # GVariant *value; 1396s # 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); 1396s # if (value != NULL) 1396s # { 1396s # g_variant_take_ref (value); 1396s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1396s # g_variant_unref (value); 1396s # } 1396s # } 1396s # } 1396s # out: 1396s # return g_variant_builder_end (&builder); 1396s # } 1396s # 1396s # static gboolean _good_types_emit_changed (gpointer user_data); 1396s # 1396s # static void 1396s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1396s # gboolean emit_changed = FALSE; 1396s # 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # if (skeleton->priv->changed_properties_idle_source != NULL) 1396s # { 1396s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1396s # skeleton->priv->changed_properties_idle_source = NULL; 1396s # emit_changed = TRUE; 1396s # } 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # 1396s # if (emit_changed) 1396s # _good_types_emit_changed (skeleton); 1396s # } 1396s # 1396s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1396s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1396s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1396s # G_ADD_PRIVATE (GoodTypesSkeleton) 1396s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1396s # 1396s # #else 1396s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1396s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1396s # 1396s # #endif 1396s # static void 1396s # good_types_skeleton_finalize (GObject *object) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # guint n; 1396s # for (n = 0; n < 1; n++) 1396s # g_value_unset (&skeleton->priv->properties[n]); 1396s # g_free (skeleton->priv->properties); 1396s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1396s # if (skeleton->priv->changed_properties_idle_source != NULL) 1396s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1396s # g_main_context_unref (skeleton->priv->context); 1396s # g_mutex_clear (&skeleton->priv->lock); 1396s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_get_property (GObject *object, 1396s # guint prop_id, 1396s # GValue *value, 1396s # GParamSpec *pspec G_GNUC_UNUSED) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # } 1396s # 1396s # static gboolean 1396s # _good_types_emit_changed (gpointer user_data) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1396s # GList *l; 1396s # GVariantBuilder builder; 1396s # GVariantBuilder invalidated_builder; 1396s # guint num_changes; 1396s # 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1396s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1396s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1396s # { 1396s # ChangedProperty *cp = l->data; 1396s # GVariant *variant; 1396s # const GValue *cur_value; 1396s # 1396s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1396s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1396s # { 1396s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1396s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1396s # g_variant_unref (variant); 1396s # num_changes++; 1396s # } 1396s # } 1396s # if (num_changes > 0) 1396s # { 1396s # GList *connections, *ll; 1396s # GVariant *signal_variant; 1396s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1396s # &builder, &invalidated_builder)); 1396s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1396s # for (ll = connections; ll != NULL; ll = ll->next) 1396s # { 1396s # GDBusConnection *connection = ll->data; 1396s # 1396s # g_dbus_connection_emit_signal (connection, 1396s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1396s # "org.freedesktop.DBus.Properties", 1396s # "PropertiesChanged", 1396s # signal_variant, 1396s # NULL); 1396s # } 1396s # g_variant_unref (signal_variant); 1396s # g_list_free_full (connections, g_object_unref); 1396s # } 1396s # else 1396s # { 1396s # g_variant_builder_clear (&builder); 1396s # g_variant_builder_clear (&invalidated_builder); 1396s # } 1396s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1396s # skeleton->priv->changed_properties = NULL; 1396s # skeleton->priv->changed_properties_idle_source = NULL; 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # return FALSE; 1396s # } 1396s # 1396s # static void 1396s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1396s # { 1396s # ChangedProperty *cp; 1396s # GList *l; 1396s # cp = NULL; 1396s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1396s # { 1396s # ChangedProperty *i_cp = l->data; 1396s # if (i_cp->info == info) 1396s # { 1396s # cp = i_cp; 1396s # break; 1396s # } 1396s # } 1396s # if (cp == NULL) 1396s # { 1396s # cp = g_new0 (ChangedProperty, 1); 1396s # cp->prop_id = prop_id; 1396s # cp->info = info; 1396s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1396s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1396s # g_value_copy (orig_value, &cp->orig_value); 1396s # } 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_notify (GObject *object, 1396s # GParamSpec *pspec G_GNUC_UNUSED) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # if (skeleton->priv->changed_properties != NULL && 1396s # skeleton->priv->changed_properties_idle_source == NULL) 1396s # { 1396s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1396s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1396s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1396s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1396s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1396s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1396s # } 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_set_property (GObject *object, 1396s # guint prop_id, 1396s # const GValue *value, 1396s # GParamSpec *pspec) 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info; 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1396s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # g_object_freeze_notify (object); 1396s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1396s # { 1396s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1396s # info->emits_changed_signal) 1396s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1396s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1396s # g_object_notify_by_pspec (object, pspec); 1396s # } 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # g_object_thaw_notify (object); 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1396s # { 1396s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1396s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1396s # #else 1396s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1396s # #endif 1396s # 1396s # g_mutex_init (&skeleton->priv->lock); 1396s # skeleton->priv->context = g_main_context_ref_thread_default (); 1396s # skeleton->priv->properties = g_new0 (GValue, 1); 1396s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1396s # } 1396s # 1396s # static GVariant * 1396s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # GVariant *value; 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # return value; 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1396s # { 1396s # GObjectClass *gobject_class; 1396s # GDBusInterfaceSkeletonClass *skeleton_class; 1396s # 1396s # gobject_class = G_OBJECT_CLASS (klass); 1396s # gobject_class->finalize = good_types_skeleton_finalize; 1396s # gobject_class->get_property = good_types_skeleton_get_property; 1396s # gobject_class->set_property = good_types_skeleton_set_property; 1396s # gobject_class->notify = good_types_skeleton_notify; 1396s # 1396s # 1396s # good_types_override_properties (gobject_class, 1); 1396s # 1396s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1396s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1396s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1396s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1396s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1396s # 1396s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1396s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1396s # #endif 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1396s # { 1396s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1396s # } 1396s # 1396s # /** 1396s # * good_types_skeleton_new: 1396s # * 1396s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1396s # */ 1396s # GoodTypes * 1396s # good_types_skeleton_new (void) 1396s # { 1396s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1396s # } 1396s # /tmp/tmp2ft849y3/tmpvej9vsl3.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmpvej9vsl3.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # Output: /* 1396s # * This file is generated by gdbus-codegen, do not modify it. 1396s # * 1396s # * The license of this code is the same as for the D-Bus interface description 1396s # * it was derived from. Note that it links to GLib, so must comply with the 1396s # * LGPL linking clauses. 1396s # */ 1396s # 1396s # #ifdef HAVE_CONFIG_H 1396s # # include "config.h" 1396s # #endif 1396s # 1396s # #include 1396s # #ifdef G_OS_UNIX 1396s # # include 1396s # #endif 1396s # 1396s # #ifdef G_ENABLE_DEBUG 1396s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1396s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1396s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1396s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1396s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1396s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1396s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1396s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1396s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1396s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1396s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1396s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1396s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1396s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1396s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1396s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1396s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1396s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1396s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1396s # #else /* !G_ENABLE_DEBUG */ 1396s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1396s # * Do not access GValues directly in your code. Instead, use the 1396s # * g_value_get_*() functions 1396s # */ 1396s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1396s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1396s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1396s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1396s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1396s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1396s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1396s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1396s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1396s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1396s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1396s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1396s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1396s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1396s # #endif /* !G_ENABLE_DEBUG */ 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusArgInfo parent_struct; 1396s # gboolean use_gvariant; 1396s # } _ExtendedGDBusArgInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusMethodInfo parent_struct; 1396s # const gchar *signal_name; 1396s # gboolean pass_fdlist; 1396s # } _ExtendedGDBusMethodInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusSignalInfo parent_struct; 1396s # const gchar *signal_name; 1396s # } _ExtendedGDBusSignalInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusPropertyInfo parent_struct; 1396s # const gchar *hyphen_name; 1396s # guint use_gvariant : 1; 1396s # guint emits_changed_signal : 1; 1396s # } _ExtendedGDBusPropertyInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusInterfaceInfo parent_struct; 1396s # const gchar *hyphen_name; 1396s # } _ExtendedGDBusInterfaceInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info; 1396s # guint prop_id; 1396s # GValue orig_value; /* the value before the change */ 1396s # } ChangedProperty; 1396s # 1396s # static void 1396s # _changed_property_free (ChangedProperty *data) 1396s # { 1396s # g_value_unset (&data->orig_value); 1396s # g_free (data); 1396s # } 1396s # 1396s # static gboolean 1396s # _g_strv_equal0 (gchar **a, gchar **b) 1396s # { 1396s # gboolean ret = FALSE; 1396s # guint n; 1396s # if (a == NULL && b == NULL) 1396s # { 1396s # ret = TRUE; 1396s # goto out; 1396s # } 1396s # if (a == NULL || b == NULL) 1396s # goto out; 1396s # if (g_strv_length (a) != g_strv_length (b)) 1396s # goto out; 1396s # for (n = 0; a[n] != NULL; n++) 1396s # if (g_strcmp0 (a[n], b[n]) != 0) 1396s # goto out; 1396s # ret = TRUE; 1396s # out: 1396s # return ret; 1396s # } 1396s # 1396s # static gboolean 1396s # _g_variant_equal0 (GVariant *a, GVariant *b) 1396s # { 1396s # gboolean ret = FALSE; 1396s # if (a == NULL && b == NULL) 1396s # { 1396s # ret = TRUE; 1396s # goto out; 1396s # } 1396s # if (a == NULL || b == NULL) 1396s # goto out; 1396s # ret = g_variant_equal (a, b); 1396s # out: 1396s # return ret; 1396s # } 1396s # 1396s # G_GNUC_UNUSED static gboolean 1396s # _g_value_equal (const GValue *a, const GValue *b) 1396s # { 1396s # gboolean ret = FALSE; 1396s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1396s # switch (G_VALUE_TYPE (a)) 1396s # { 1396s # case G_TYPE_BOOLEAN: 1396s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1396s # break; 1396s # case G_TYPE_UCHAR: 1396s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1396s # break; 1396s # case G_TYPE_INT: 1396s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1396s # break; 1396s # case G_TYPE_UINT: 1396s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1396s # break; 1396s # case G_TYPE_INT64: 1396s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1396s # break; 1396s # case G_TYPE_UINT64: 1396s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1396s # break; 1396s # case G_TYPE_DOUBLE: 1396s # { 1396s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1396s # gdouble da = g_value_get_double (a); 1396s # gdouble db = g_value_get_double (b); 1396s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1396s # } 1396s # break; 1396s # case G_TYPE_STRING: 1396s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1396s # break; 1396s # case G_TYPE_VARIANT: 1396s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1396s # break; 1396s # default: 1396s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1396s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1396s # else 1396s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1396s # break; 1396s # } 1396s # return ret; 1396s # } 1396s # 1396s # /* ------------------------------------------------------------------------ 1396s # * Code for interface GoodTypes 1396s # * ------------------------------------------------------------------------ 1396s # */ 1396s # 1396s # /** 1396s # * SECTION:GoodTypes 1396s # * @title: GoodTypes 1396s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1396s # * 1396s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1396s # */ 1396s # 1396s # /* ---- Introspection data for GoodTypes ---- */ 1396s # 1396s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1396s # { 1396s # { 1396s # -1, 1396s # (gchar *) "GoodPropertyType", 1396s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1396s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1396s # NULL 1396s # }, 1396s # "good-property-type", 1396s # FALSE, 1396s # TRUE 1396s # }; 1396s # 1396s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1396s # { 1396s # &_good_types_property_info_good_property_type.parent_struct, 1396s # NULL 1396s # }; 1396s # 1396s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1396s # { 1396s # { 1396s # -1, 1396s # (gchar *) "GoodTypes", 1396s # NULL, 1396s # NULL, 1396s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1396s # NULL 1396s # }, 1396s # "good-types", 1396s # }; 1396s # 1396s # 1396s # /** 1396s # * good_types_interface_info: 1396s # * 1396s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1396s # * 1396s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1396s # */ 1396s # GDBusInterfaceInfo * 1396s # good_types_interface_info (void) 1396s # { 1396s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1396s # } 1396s # 1396s # /** 1396s # * good_types_override_properties: 1396s # * @klass: The class structure for a #GObject derived class. 1396s # * @property_id_begin: The property id to assign to the first overridden property. 1396s # * 1396s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1396s # * The properties are overridden in the order they are defined. 1396s # * 1396s # * Returns: The last property id. 1396s # */ 1396s # guint 1396s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1396s # { 1396s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1396s # return property_id_begin - 1; 1396s # } 1396s # 1396s # 1396s # 1396s # /** 1396s # * GoodTypes: 1396s # * 1396s # * Abstract interface type for the D-Bus interface GoodTypes. 1396s # */ 1396s # 1396s # /** 1396s # * GoodTypesIface: 1396s # * @parent_iface: The parent interface. 1396s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1396s # * 1396s # * Virtual table for the D-Bus interface GoodTypes. 1396s # */ 1396s # 1396s # typedef GoodTypesIface GoodTypesInterface; 1396s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1396s # 1396s # static void 1396s # good_types_default_init (GoodTypesIface *iface) 1396s # { 1396s # /* GObject properties for D-Bus properties: */ 1396s # /** 1396s # * GoodTypes:good-property-type: 1396s # * 1396s # * Represents the D-Bus property "GoodPropertyType". 1396s # * 1396s # * 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. 1396s # */ 1396s # g_object_interface_install_property (iface, 1396s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1396s # } 1396s # 1396s # /** 1396s # * good_types_get_good_property_type: (skip) 1396s # * @object: A GoodTypes. 1396s # * 1396s # * Gets the value of the "GoodPropertyType" D-Bus property. 1396s # * 1396s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1396s # * 1396s # * 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. 1396s # * 1396s # * 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. 1396s # */ 1396s # GVariant * 1396s # good_types_get_good_property_type (GoodTypes *object) 1396s # { 1396s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1396s # 1396s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1396s # } 1396s # 1396s # /** 1396s # * good_types_dup_good_property_type: (skip) 1396s # * @object: A GoodTypes. 1396s # * 1396s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1396s # * 1396s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1396s # * 1396s # * 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(). 1396s # */ 1396s # GVariant * 1396s # good_types_dup_good_property_type (GoodTypes *object) 1396s # { 1396s # GVariant *value; 1396s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1396s # return value; 1396s # } 1396s # 1396s # /** 1396s # * good_types_set_good_property_type: (skip) 1396s # * @object: A GoodTypes. 1396s # * @value: The value to set. 1396s # * 1396s # * Sets the "GoodPropertyType" D-Bus property to @value. 1396s # * 1396s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1396s # */ 1396s # void 1396s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1396s # { 1396s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1396s # } 1396s # 1396s # /* ------------------------------------------------------------------------ */ 1396s # 1396s # /** 1396s # * GoodTypesProxy: 1396s # * 1396s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1396s # */ 1396s # 1396s # /** 1396s # * GoodTypesProxyClass: 1396s # * @parent_class: The parent class. 1396s # * 1396s # * Class structure for GoodTypesProxy. 1396s # */ 1396s # 1396s # struct _GoodTypesProxyPrivate 1396s # { 1396s # GData *qdata; 1396s # }; 1396s # 1396s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1396s # 1396s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1396s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1396s # G_ADD_PRIVATE (GoodTypesProxy) 1396s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1396s # 1396s # #else 1396s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1396s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1396s # 1396s # #endif 1396s # static void 1396s # good_types_proxy_finalize (GObject *object) 1396s # { 1396s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1396s # g_datalist_clear (&proxy->priv->qdata); 1396s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_get_property (GObject *object, 1396s # guint prop_id, 1396s # GValue *value, 1396s # GParamSpec *pspec G_GNUC_UNUSED) 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info; 1396s # GVariant *variant; 1396s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1396s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1396s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1396s # if (info->use_gvariant) 1396s # { 1396s # g_value_set_variant (value, variant); 1396s # } 1396s # else 1396s # { 1396s # if (variant != NULL) 1396s # g_dbus_gvariant_to_gvalue (variant, value); 1396s # } 1396s # if (variant != NULL) 1396s # g_variant_unref (variant); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1396s # GAsyncResult *res, 1396s # gpointer user_data) 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info = user_data; 1396s # GError *error; 1396s # GVariant *_ret; 1396s # error = NULL; 1396s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1396s # if (!_ret) 1396s # { 1396s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1396s # info->parent_struct.name, 1396s # error->message, g_quark_to_string (error->domain), error->code); 1396s # g_error_free (error); 1396s # } 1396s # else 1396s # { 1396s # g_variant_unref (_ret); 1396s # } 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_set_property (GObject *object, 1396s # guint prop_id, 1396s # const GValue *value, 1396s # GParamSpec *pspec G_GNUC_UNUSED) 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info; 1396s # GVariant *variant; 1396s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1396s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1396s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1396s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1396s # "org.freedesktop.DBus.Properties.Set", 1396s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1396s # G_DBUS_CALL_FLAGS_NONE, 1396s # -1, 1396s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1396s # g_variant_unref (variant); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_g_signal (GDBusProxy *proxy, 1396s # const gchar *sender_name G_GNUC_UNUSED, 1396s # const gchar *signal_name, 1396s # GVariant *parameters) 1396s # { 1396s # _ExtendedGDBusSignalInfo *info; 1396s # GVariantIter iter; 1396s # GVariant *child; 1396s # GValue *paramv; 1396s # gsize num_params; 1396s # gsize n; 1396s # guint signal_id; 1396s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1396s # if (info == NULL) 1396s # return; 1396s # num_params = g_variant_n_children (parameters); 1396s # paramv = g_new0 (GValue, num_params + 1); 1396s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1396s # g_value_set_object (¶mv[0], proxy); 1396s # g_variant_iter_init (&iter, parameters); 1396s # n = 1; 1396s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1396s # { 1396s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1396s # if (arg_info->use_gvariant) 1396s # { 1396s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1396s # g_value_set_variant (¶mv[n], child); 1396s # n++; 1396s # } 1396s # else 1396s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1396s # g_variant_unref (child); 1396s # } 1396s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1396s # g_signal_emitv (paramv, signal_id, 0, NULL); 1396s # for (n = 0; n < num_params + 1; n++) 1396s # g_value_unset (¶mv[n]); 1396s # g_free (paramv); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1396s # GVariant *changed_properties, 1396s # const gchar *const *invalidated_properties) 1396s # { 1396s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1396s # guint n; 1396s # const gchar *key; 1396s # GVariantIter *iter; 1396s # _ExtendedGDBusPropertyInfo *info; 1396s # g_variant_get (changed_properties, "a{sv}", &iter); 1396s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1396s # { 1396s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1396s # g_datalist_remove_data (&proxy->priv->qdata, key); 1396s # if (info != NULL) 1396s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1396s # } 1396s # g_variant_iter_free (iter); 1396s # for (n = 0; invalidated_properties[n] != NULL; n++) 1396s # { 1396s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1396s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1396s # if (info != NULL) 1396s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1396s # } 1396s # } 1396s # 1396s # static GVariant * 1396s # good_types_proxy_get_good_property_type (GoodTypes *object) 1396s # { 1396s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1396s # GVariant *variant; 1396s # GVariant *value = NULL; 1396s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1396s # value = variant; 1396s # if (variant != NULL) 1396s # g_variant_unref (variant); 1396s # return value; 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_init (GoodTypesProxy *proxy) 1396s # { 1396s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1396s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1396s # #else 1396s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1396s # #endif 1396s # 1396s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1396s # { 1396s # GObjectClass *gobject_class; 1396s # GDBusProxyClass *proxy_class; 1396s # 1396s # gobject_class = G_OBJECT_CLASS (klass); 1396s # gobject_class->finalize = good_types_proxy_finalize; 1396s # gobject_class->get_property = good_types_proxy_get_property; 1396s # gobject_class->set_property = good_types_proxy_set_property; 1396s # 1396s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1396s # proxy_class->g_signal = good_types_proxy_g_signal; 1396s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1396s # 1396s # good_types_override_properties (gobject_class, 1); 1396s # 1396s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1396s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1396s # #endif 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_iface_init (GoodTypesIface *iface) 1396s # { 1396s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new: 1396s # * @connection: A #GDBusConnection. 1396s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1396s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1396s # * @object_path: An object path. 1396s # * @cancellable: (nullable): A #GCancellable or %NULL. 1396s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1396s # * @user_data: User data to pass to @callback. 1396s # * 1396s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1396s # * 1396s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1396s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1396s # * 1396s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1396s # */ 1396s # void 1396s # good_types_proxy_new ( 1396s # GDBusConnection *connection, 1396s # GDBusProxyFlags flags, 1396s # const gchar *name, 1396s # const gchar *object_path, 1396s # GCancellable *cancellable, 1396s # GAsyncReadyCallback callback, 1396s # gpointer user_data) 1396s # { 1396s # 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); 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new_finish: 1396s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1396s # * @error: Return location for error or %NULL 1396s # * 1396s # * Finishes an operation started with good_types_proxy_new(). 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1396s # */ 1396s # GoodTypes * 1396s # good_types_proxy_new_finish ( 1396s # GAsyncResult *res, 1396s # GError **error) 1396s # { 1396s # GObject *ret; 1396s # GObject *source_object; 1396s # source_object = g_async_result_get_source_object (res); 1396s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1396s # g_object_unref (source_object); 1396s # if (ret != NULL) 1396s # return GOOD_TYPES (ret); 1396s # else 1396s # return NULL; 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new_sync: 1396s # * @connection: A #GDBusConnection. 1396s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1396s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1396s # * @object_path: An object path. 1396s # * @cancellable: (nullable): A #GCancellable or %NULL. 1396s # * @error: Return location for error or %NULL 1396s # * 1396s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1396s # * 1396s # * The calling thread is blocked until a reply is received. 1396s # * 1396s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1396s # */ 1396s # GoodTypes * 1396s # good_types_proxy_new_sync ( 1396s # GDBusConnection *connection, 1396s # GDBusProxyFlags flags, 1396s # const gchar *name, 1396s # const gchar *object_path, 1396s # GCancellable *cancellable, 1396s # GError **error) 1396s # { 1396s # GInitable *ret; 1396s # 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); 1396s # if (ret != NULL) 1396s # return GOOD_TYPES (ret); 1396s # else 1396s # return NULL; 1396s # } 1396s # 1396s # 1396s # /** 1396s # * good_types_proxy_new_for_bus: 1396s # * @bus_type: A #GBusType. 1396s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1396s # * @name: A bus name (well-known or unique). 1396s # * @object_path: An object path. 1396s # * @cancellable: (nullable): A #GCancellable or %NULL. 1396s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1396s # * @user_data: User data to pass to @callback. 1396s # * 1396s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1396s # * 1396s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1396s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1396s # * 1396s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1396s # */ 1396s # void 1396s # good_types_proxy_new_for_bus ( 1396s # GBusType bus_type, 1396s # GDBusProxyFlags flags, 1396s # const gchar *name, 1396s # const gchar *object_path, 1396s # GCancellable *cancellable, 1396s # GAsyncReadyCallback callback, 1396s # gpointer user_data) 1396s # { 1396s # 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); 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new_for_bus_finish: 1396s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1396s # * @error: Return location for error or %NULL 1396s # * 1396s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1396s # */ 1396s # GoodTypes * 1396s # good_types_proxy_new_for_bus_finish ( 1396s # GAsyncResult *res, 1396s # GError **error) 1396s # { 1396s # GObject *ret; 1396s # GObject *source_object; 1396s # source_object = g_async_result_get_source_object (res); 1396s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1396s # g_object_unref (source_object); 1396s # if (ret != NULL) 1396s # return GOOD_TYPES (ret); 1396s # else 1396s # return NULL; 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new_for_bus_sync: 1396s # * @bus_type: A #GBusType. 1396s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1396s # * @name: A bus name (well-known or unique). 1396s # * @object_path: An object path. 1396s # * @cancellable: (nullable): A #GCancellable or %NULL. 1396s # * @error: Return location for error or %NULL 1396s # * 1396s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1396s # * 1396s # * The calling thread is blocked until a reply is received. 1396s # * 1396s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1396s # */ 1396s # GoodTypes * 1396s # good_types_proxy_new_for_bus_sync ( 1396s # GBusType bus_type, 1396s # GDBusProxyFlags flags, 1396s # const gchar *name, 1396s # const gchar *object_path, 1396s # GCancellable *cancellable, 1396s # GError **error) 1396s # { 1396s # GInitable *ret; 1396s # 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); 1396s # if (ret != NULL) 1396s # return GOOD_TYPES (ret); 1396s # else 1396s # return NULL; 1396s # } 1396s # 1396s # 1396s # /* ------------------------------------------------------------------------ */ 1396s # 1396s # /** 1396s # * GoodTypesSkeleton: 1396s # * 1396s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1396s # */ 1396s # 1396s # /** 1396s # * GoodTypesSkeletonClass: 1396s # * @parent_class: The parent class. 1396s # * 1396s # * Class structure for GoodTypesSkeleton. 1396s # */ 1396s # 1396s # struct _GoodTypesSkeletonPrivate 1396s # { 1396s # GValue *properties; 1396s # GList *changed_properties; 1396s # GSource *changed_properties_idle_source; 1396s # GMainContext *context; 1396s # GMutex lock; 1396s # }; 1396s # 1396s # static void 1396s # _good_types_skeleton_handle_method_call ( 1396s # GDBusConnection *connection G_GNUC_UNUSED, 1396s # const gchar *sender G_GNUC_UNUSED, 1396s # const gchar *object_path G_GNUC_UNUSED, 1396s # const gchar *interface_name, 1396s # const gchar *method_name, 1396s # GVariant *parameters, 1396s # GDBusMethodInvocation *invocation, 1396s # gpointer user_data) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1396s # _ExtendedGDBusMethodInfo *info; 1396s # GVariantIter iter; 1396s # GVariant *child; 1396s # GValue *paramv; 1396s # gsize num_params; 1396s # guint num_extra; 1396s # gsize n; 1396s # guint signal_id; 1396s # GValue return_value = G_VALUE_INIT; 1396s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1396s # g_assert (info != NULL); 1396s # num_params = g_variant_n_children (parameters); 1396s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1396s # n = 0; 1396s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1396s # g_value_set_object (¶mv[n++], skeleton); 1396s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1396s # g_value_set_object (¶mv[n++], invocation); 1396s # if (info->pass_fdlist) 1396s # { 1396s # #ifdef G_OS_UNIX 1396s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1396s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1396s # #else 1396s # g_assert_not_reached (); 1396s # #endif 1396s # } 1396s # g_variant_iter_init (&iter, parameters); 1396s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1396s # { 1396s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1396s # if (arg_info->use_gvariant) 1396s # { 1396s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1396s # g_value_set_variant (¶mv[n], child); 1396s # n++; 1396s # } 1396s # else 1396s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1396s # g_variant_unref (child); 1396s # } 1396s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1396s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1396s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1396s # if (!g_value_get_boolean (&return_value)) 1396s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1396s # g_value_unset (&return_value); 1396s # for (n = 0; n < num_params + num_extra; n++) 1396s # g_value_unset (¶mv[n]); 1396s # g_free (paramv); 1396s # } 1396s # 1396s # static GVariant * 1396s # _good_types_skeleton_handle_get_property ( 1396s # GDBusConnection *connection G_GNUC_UNUSED, 1396s # const gchar *sender G_GNUC_UNUSED, 1396s # const gchar *object_path G_GNUC_UNUSED, 1396s # const gchar *interface_name G_GNUC_UNUSED, 1396s # const gchar *property_name, 1396s # GError **error, 1396s # gpointer user_data) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1396s # GValue value = G_VALUE_INIT; 1396s # GParamSpec *pspec; 1396s # _ExtendedGDBusPropertyInfo *info; 1396s # GVariant *ret; 1396s # ret = NULL; 1396s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1396s # g_assert (info != NULL); 1396s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1396s # if (pspec == NULL) 1396s # { 1396s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1396s # } 1396s # else 1396s # { 1396s # g_value_init (&value, pspec->value_type); 1396s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1396s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1396s # g_value_unset (&value); 1396s # } 1396s # return ret; 1396s # } 1396s # 1396s # static gboolean 1396s # _good_types_skeleton_handle_set_property ( 1396s # GDBusConnection *connection G_GNUC_UNUSED, 1396s # const gchar *sender G_GNUC_UNUSED, 1396s # const gchar *object_path G_GNUC_UNUSED, 1396s # const gchar *interface_name G_GNUC_UNUSED, 1396s # const gchar *property_name, 1396s # GVariant *variant, 1396s # GError **error, 1396s # gpointer user_data) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1396s # GValue value = G_VALUE_INIT; 1396s # GParamSpec *pspec; 1396s # _ExtendedGDBusPropertyInfo *info; 1396s # gboolean ret; 1396s # ret = FALSE; 1396s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1396s # g_assert (info != NULL); 1396s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1396s # if (pspec == NULL) 1396s # { 1396s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1396s # } 1396s # else 1396s # { 1396s # if (info->use_gvariant) 1396s # g_value_set_variant (&value, variant); 1396s # else 1396s # g_dbus_gvariant_to_gvalue (variant, &value); 1396s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1396s # g_value_unset (&value); 1396s # ret = TRUE; 1396s # } 1396s # return ret; 1396s # } 1396s # 1396s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1396s # { 1396s # _good_types_skeleton_handle_method_call, 1396s # _good_types_skeleton_handle_get_property, 1396s # _good_types_skeleton_handle_set_property, 1396s # {NULL} 1396s # }; 1396s # 1396s # static GDBusInterfaceInfo * 1396s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1396s # { 1396s # return good_types_interface_info (); 1396s # } 1396s # 1396s # static GDBusInterfaceVTable * 1396s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1396s # { 1396s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1396s # } 1396s # 1396s # static GVariant * 1396s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1396s # 1396s # GVariantBuilder builder; 1396s # guint n; 1396s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1396s # if (_good_types_interface_info.parent_struct.properties == NULL) 1396s # goto out; 1396s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1396s # { 1396s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1396s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1396s # { 1396s # GVariant *value; 1396s # 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); 1396s # if (value != NULL) 1396s # { 1396s # g_variant_take_ref (value); 1396s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1396s # g_variant_unref (value); 1396s # } 1396s # } 1396s # } 1396s # out: 1396s # return g_variant_builder_end (&builder); 1396s # } 1396s # 1396s # static gboolean _good_types_emit_changed (gpointer user_data); 1396s # 1396s # static void 1396s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1396s # gboolean emit_changed = FALSE; 1396s # 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # if (skeleton->priv->changed_properties_idle_source != NULL) 1396s # { 1396s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1396s # skeleton->priv->changed_properties_idle_source = NULL; 1396s # emit_changed = TRUE; 1396s # } 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # 1396s # if (emit_changed) 1396s # _good_types_emit_changed (skeleton); 1396s # } 1396s # 1396s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1396s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1396s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1396s # G_ADD_PRIVATE (GoodTypesSkeleton) 1396s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1396s # 1396s # #else 1396s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1396s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1396s # 1396s # #endif 1396s # static void 1396s # good_types_skeleton_finalize (GObject *object) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # guint n; 1396s # for (n = 0; n < 1; n++) 1396s # g_value_unset (&skeleton->priv->properties[n]); 1396s # g_free (skeleton->priv->properties); 1396s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1396s # if (skeleton->priv->changed_properties_idle_source != NULL) 1396s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1396s # g_main_context_unref (skeleton->priv->context); 1396s # g_mutex_clear (&skeleton->priv->lock); 1396s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_get_property (GObject *object, 1396s # guint prop_id, 1396s # GValue *value, 1396s # GParamSpec *pspec G_GNUC_UNUSED) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # } 1396s # 1396s # static gboolean 1396s # _good_types_emit_changed (gpointer user_data) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1396s # GList *l; 1396s # GVariantBuilder builder; 1396s # GVariantBuilder invalidated_builder; 1396s # guint num_changes; 1396s # 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1396s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1396s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1396s # { 1396s # ChangedProperty *cp = l->data; 1396s # GVariant *variant; 1396s # const GValue *cur_value; 1396s # 1396s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1396s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1396s # { 1396s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1396s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1396s # g_variant_unref (variant); 1396s # num_changes++; 1396s # } 1396s # } 1396s # if (num_changes > 0) 1396s # { 1396s # GList *connections, *ll; 1396s # GVariant *signal_variant; 1396s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1396s # &builder, &invalidated_builder)); 1396s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1396s # for (ll = connections; ll != NULL; ll = ll->next) 1396s # { 1396s # GDBusConnection *connection = ll->data; 1396s # 1396s # g_dbus_connection_emit_signal (connection, 1396s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1396s # "org.freedesktop.DBus.Properties", 1396s # "PropertiesChanged", 1396s # signal_variant, 1396s # NULL); 1396s # } 1396s # g_variant_unref (signal_variant); 1396s # g_list_free_full (connections, g_object_unref); 1396s # } 1396s # else 1396s # { 1396s # g_variant_builder_clear (&builder); 1396s # g_variant_builder_clear (&invalidated_builder); 1396s # } 1396s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1396s # skeleton->priv->changed_properties = NULL; 1396s # skeleton->priv->changed_properties_idle_source = NULL; 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # return FALSE; 1396s # } 1396s # 1396s # static void 1396s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1396s # { 1396s # ChangedProperty *cp; 1396s # GList *l; 1396s # cp = NULL; 1396s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1396s # { 1396s # ChangedProperty *i_cp = l->data; 1396s # if (i_cp->info == info) 1396s # { 1396s # cp = i_cp; 1396s # break; 1396s # } 1396s # } 1396s # if (cp == NULL) 1396s # { 1396s # cp = g_new0 (ChangedProperty, 1); 1396s # cp->prop_id = prop_id; 1396s # cp->info = info; 1396s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1396s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1396s # g_value_copy (orig_value, &cp->orig_value); 1396s # } 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_notify (GObject *object, 1396s # GParamSpec *pspec G_GNUC_UNUSED) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # if (skeleton->priv->changed_properties != NULL && 1396s # skeleton->priv->changed_properties_idle_source == NULL) 1396s # { 1396s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1396s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1396s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1396s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1396s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1396s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1396s # } 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_set_property (GObject *object, 1396s # guint prop_id, 1396s # const GValue *value, 1396s # GParamSpec *pspec) 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info; 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1396s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # g_object_freeze_notify (object); 1396s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1396s # { 1396s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1396s # info->emits_changed_signal) 1396s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1396s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1396s # g_object_notify_by_pspec (object, pspec); 1396s # } 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # g_object_thaw_notify (object); 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1396s # { 1396s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1396s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1396s # #else 1396s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1396s # #endif 1396s # 1396s # g_mutex_init (&skeleton->priv->lock); 1396s # skeleton->priv->context = g_main_context_ref_thread_default (); 1396s # skeleton->priv->properties = g_new0 (GValue, 1); 1396s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1396s # } 1396s # 1396s # static GVariant * 1396s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # GVariant *value; 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # return value; 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1396s # { 1396s # GObjectClass *gobject_class; 1396s # GDBusInterfaceSkeletonClass *skeleton_class; 1396s # 1396s # gobject_class = G_OBJECT_CLASS (klass); 1396s # gobject_class->finalize = good_types_skeleton_finalize; 1396s # gobject_class->get_property = good_types_skeleton_get_property; 1396s # gobject_class->set_property = good_types_skeleton_set_property; 1396s # gobject_class->notify = good_types_skeleton_notify; 1396s # 1396s # 1396s # good_types_override_properties (gobject_class, 1); 1396s # 1396s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1396s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1396s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1396s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1396s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1396s # 1396s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1396s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1396s # #endif 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1396s # { 1396s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1396s # } 1396s # 1396s # /** 1396s # * good_types_skeleton_new: 1396s # * 1396s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1396s # */ 1396s # GoodTypes * 1396s # good_types_skeleton_new (void) 1396s # { 1396s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1396s # } 1396s # /tmp/tmp2ft849y3/tmpyqokje0v.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ft849y3/tmpyqokje0v.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # Output: /* 1396s # * This file is generated by gdbus-codegen, do not modify it. 1396s # * 1396s # * The license of this code is the same as for the D-Bus interface description 1396s # * it was derived from. Note that it links to GLib, so must comply with the 1396s # * LGPL linking clauses. 1396s # */ 1396s # 1396s # #ifdef HAVE_CONFIG_H 1396s # # include "config.h" 1396s # #endif 1396s # 1396s # #include 1396s # #ifdef G_OS_UNIX 1396s # # include 1396s # #endif 1396s # 1396s # #ifdef G_ENABLE_DEBUG 1396s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1396s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1396s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1396s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1396s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1396s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1396s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1396s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1396s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1396s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1396s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1396s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1396s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1396s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1396s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1396s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1396s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1396s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1396s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1396s # #else /* !G_ENABLE_DEBUG */ 1396s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1396s # * Do not access GValues directly in your code. Instead, use the 1396s # * g_value_get_*() functions 1396s # */ 1396s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1396s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1396s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1396s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1396s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1396s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1396s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1396s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1396s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1396s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1396s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1396s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1396s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1396s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1396s # #endif /* !G_ENABLE_DEBUG */ 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusArgInfo parent_struct; 1396s # gboolean use_gvariant; 1396s # } _ExtendedGDBusArgInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusMethodInfo parent_struct; 1396s # const gchar *signal_name; 1396s # gboolean pass_fdlist; 1396s # } _ExtendedGDBusMethodInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusSignalInfo parent_struct; 1396s # const gchar *signal_name; 1396s # } _ExtendedGDBusSignalInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusPropertyInfo parent_struct; 1396s # const gchar *hyphen_name; 1396s # guint use_gvariant : 1; 1396s # guint emits_changed_signal : 1; 1396s # } _ExtendedGDBusPropertyInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusInterfaceInfo parent_struct; 1396s # const gchar *hyphen_name; 1396s # } _ExtendedGDBusInterfaceInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info; 1396s # guint prop_id; 1396s # GValue orig_value; /* the value before the change */ 1396s # } ChangedProperty; 1396s # 1396s # static void 1396s # _changed_property_free (ChangedProperty *data) 1396s # { 1396s # g_value_unset (&data->orig_value); 1396s # g_free (data); 1396s # } 1396s # 1396s # static gboolean 1396s # _g_strv_equal0 (gchar **a, gchar **b) 1396s # { 1396s # gboolean ret = FALSE; 1396s # guint n; 1396s # if (a == NULL && b == NULL) 1396s # { 1396s # ret = TRUE; 1396s # goto out; 1396s # } 1396s # if (a == NULL || b == NULL) 1396s # goto out; 1396s # if (g_strv_length (a) != g_strv_length (b)) 1396s # goto out; 1396s # for (n = 0; a[n] != NULL; n++) 1396s # if (g_strcmp0 (a[n], b[n]) != 0) 1396s # goto out; 1396s # ret = TRUE; 1396s # out: 1396s # return ret; 1396s # } 1396s # 1396s # static gboolean 1396s # _g_variant_equal0 (GVariant *a, GVariant *b) 1396s # { 1396s # gboolean ret = FALSE; 1396s # if (a == NULL && b == NULL) 1396s # { 1396s # ret = TRUE; 1396s # goto out; 1396s # } 1396s # if (a == NULL || b == NULL) 1396s # goto out; 1396s # ret = g_variant_equal (a, b); 1396s # out: 1396s # return ret; 1396s # } 1396s # 1396s # G_GNUC_UNUSED static gboolean 1396s # _g_value_equal (const GValue *a, const GValue *b) 1396s # { 1396s # gboolean ret = FALSE; 1396s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1396s # switch (G_VALUE_TYPE (a)) 1396s # { 1396s # case G_TYPE_BOOLEAN: 1396s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1396s # break; 1396s # case G_TYPE_UCHAR: 1396s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1396s # break; 1396s # case G_TYPE_INT: 1396s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1396s # break; 1396s # case G_TYPE_UINT: 1396s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1396s # break; 1396s # case G_TYPE_INT64: 1396s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1396s # break; 1396s # case G_TYPE_UINT64: 1396s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1396s # break; 1396s # case G_TYPE_DOUBLE: 1396s # { 1396s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1396s # gdouble da = g_value_get_double (a); 1396s # gdouble db = g_value_get_double (b); 1396s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1396s # } 1396s # break; 1396s # case G_TYPE_STRING: 1396s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1396s # break; 1396s # case G_TYPE_VARIANT: 1396s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1396s # break; 1396s # default: 1396s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1396s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1396s # else 1396s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1396s # break; 1396s # } 1396s # return ret; 1396s # } 1396s # 1396s # /* ------------------------------------------------------------------------ 1396s # * Code for interface GoodTypes 1396s # * ------------------------------------------------------------------------ 1396s # */ 1396s # 1396s # /** 1396s # * SECTION:GoodTypes 1396s # * @title: GoodTypes 1396s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1396s # * 1396s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1396s # */ 1396s # 1396s # /* ---- Introspection data for GoodTypes ---- */ 1396s # 1396s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1396s # { 1396s # { 1396s # -1, 1396s # (gchar *) "GoodPropertyType", 1396s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1396s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1396s # NULL 1396s # }, 1396s # "good-property-type", 1396s # FALSE, 1396s # TRUE 1396s # }; 1396s # 1396s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1396s # { 1396s # &_good_types_property_info_good_property_type.parent_struct, 1396s # NULL 1396s # }; 1396s # 1396s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1396s # { 1396s # { 1396s # -1, 1396s # (gchar *) "GoodTypes", 1396s # NULL, 1396s # NULL, 1396s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1396s # NULL 1396s # }, 1396s # "good-types", 1396s # }; 1396s # 1396s # 1396s # /** 1396s # * good_types_interface_info: 1396s # * 1396s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1396s # * 1396s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1396s # */ 1396s # GDBusInterfaceInfo * 1396s # good_types_interface_info (void) 1396s # { 1396s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1396s # } 1396s # 1396s # /** 1396s # * good_types_override_properties: 1396s # * @klass: The class structure for a #GObject derived class. 1396s # * @property_id_begin: The property id to assign to the first overridden property. 1396s # * 1396s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1396s # * The properties are overridden in the order they are defined. 1396s # * 1396s # * Returns: The last property id. 1396s # */ 1396s # guint 1396s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1396s # { 1396s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1396s # return property_id_begin - 1; 1396s # } 1396s # 1396s # 1396s # 1396s # /** 1396s # * GoodTypes: 1396s # * 1396s # * Abstract interface type for the D-Bus interface GoodTypes. 1396s # */ 1396s # 1396s # /** 1396s # * GoodTypesIface: 1396s # * @parent_iface: The parent interface. 1396s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1396s # * 1396s # * Virtual table for the D-Bus interface GoodTypes. 1396s # */ 1396s # 1396s # typedef GoodTypesIface GoodTypesInterface; 1396s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1396s # 1396s # static void 1396s # good_types_default_init (GoodTypesIface *iface) 1396s # { 1396s # /* GObject properties for D-Bus properties: */ 1396s # /** 1396s # * GoodTypes:good-property-type: 1396s # * 1396s # * Represents the D-Bus property "GoodPropertyType". 1396s # * 1396s # * 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. 1396s # */ 1396s # g_object_interface_install_property (iface, 1396s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1396s # } 1396s # 1396s # /** 1396s # * good_types_get_good_property_type: (skip) 1396s # * @object: A GoodTypes. 1396s # * 1396s # * Gets the value of the "GoodPropertyType" D-Bus property. 1396s # * 1396s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1396s # * 1396s # * 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. 1396s # * 1396s # * 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. 1396s # */ 1396s # GVariant * 1396s # good_types_get_good_property_type (GoodTypes *object) 1396s # { 1396s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1396s # 1396s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1396s # } 1396s # 1396s # /** 1396s # * good_types_dup_good_property_type: (skip) 1396s # * @object: A GoodTypes. 1396s # * 1396s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1396s # * 1396s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1396s # * 1396s # * 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(). 1396s # */ 1396s # GVariant * 1396s # good_types_dup_good_property_type (GoodTypes *object) 1396s # { 1396s # GVariant *value; 1396s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1396s # return value; 1396s # } 1396s # 1396s # /** 1396s # * good_types_set_good_property_type: (skip) 1396s # * @object: A GoodTypes. 1396s # * @value: The value to set. 1396s # * 1396s # * Sets the "GoodPropertyType" D-Bus property to @value. 1396s # * 1396s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1396s # */ 1396s # void 1396s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1396s # { 1396s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1396s # } 1396s # 1396s # /* ------------------------------------------------------------------------ */ 1396s # 1396s # /** 1396s # * GoodTypesProxy: 1396s # * 1396s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1396s # */ 1396s # 1396s # /** 1396s # * GoodTypesProxyClass: 1396s # * @parent_class: The parent class. 1396s # * 1396s # * Class structure for GoodTypesProxy. 1396s # */ 1396s # 1396s # struct _GoodTypesProxyPrivate 1396s # { 1396s # GData *qdata; 1396s # }; 1396s # 1396s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1396s # 1396s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1396s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1396s # G_ADD_PRIVATE (GoodTypesProxy) 1396s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1396s # 1396s # #else 1396s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1396s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1396s # 1396s # #endif 1396s # static void 1396s # good_types_proxy_finalize (GObject *object) 1396s # { 1396s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1396s # g_datalist_clear (&proxy->priv->qdata); 1396s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_get_property (GObject *object, 1396s # guint prop_id, 1396s # GValue *value, 1396s # GParamSpec *pspec G_GNUC_UNUSED) 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info; 1396s # GVariant *variant; 1396s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1396s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1396s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1396s # if (info->use_gvariant) 1396s # { 1396s # g_value_set_variant (value, variant); 1396s # } 1396s # else 1396s # { 1396s # if (variant != NULL) 1396s # g_dbus_gvariant_to_gvalue (variant, value); 1396s # } 1396s # if (variant != NULL) 1396s # g_variant_unref (variant); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1396s # GAsyncResult *res, 1396s # gpointer user_data) 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info = user_data; 1396s # GError *error; 1396s # GVariant *_ret; 1396s # error = NULL; 1396s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1396s # if (!_ret) 1396s # { 1396s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1396s # info->parent_struct.name, 1396s # error->message, g_quark_to_string (error->domain), error->code); 1396s # g_error_free (error); 1396s # } 1396s # else 1396s # { 1396s # g_variant_unref (_ret); 1396s # } 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_set_property (GObject *object, 1396s # guint prop_id, 1396s # const GValue *value, 1396s # GParamSpec *pspec G_GNUC_UNUSED) 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info; 1396s # GVariant *variant; 1396s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1396s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1396s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1396s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1396s # "org.freedesktop.DBus.Properties.Set", 1396s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1396s # G_DBUS_CALL_FLAGS_NONE, 1396s # -1, 1396s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1396s # g_variant_unref (variant); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_g_signal (GDBusProxy *proxy, 1396s # const gchar *sender_name G_GNUC_UNUSED, 1396s # const gchar *signal_name, 1396s # GVariant *parameters) 1396s # { 1396s # _ExtendedGDBusSignalInfo *info; 1396s # GVariantIter iter; 1396s # GVariant *child; 1396s # GValue *paramv; 1396s # gsize num_params; 1396s # gsize n; 1396s # guint signal_id; 1396s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1396s # if (info == NULL) 1396s # return; 1396s # num_params = g_variant_n_children (parameters); 1396s # paramv = g_new0 (GValue, num_params + 1); 1396s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1396s # g_value_set_object (¶mv[0], proxy); 1396s # g_variant_iter_init (&iter, parameters); 1396s # n = 1; 1396s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1396s # { 1396s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1396s # if (arg_info->use_gvariant) 1396s # { 1396s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1396s # g_value_set_variant (¶mv[n], child); 1396s # n++; 1396s # } 1396s # else 1396s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1396s # g_variant_unref (child); 1396s # } 1396s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1396s # g_signal_emitv (paramv, signal_id, 0, NULL); 1396s # for (n = 0; n < num_params + 1; n++) 1396s # g_value_unset (¶mv[n]); 1396s # g_free (paramv); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1396s # GVariant *changed_properties, 1396s # const gchar *const *invalidated_properties) 1396s # { 1396s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1396s # guint n; 1396s # const gchar *key; 1396s # GVariantIter *iter; 1396s # _ExtendedGDBusPropertyInfo *info; 1396s # g_variant_get (changed_properties, "a{sv}", &iter); 1396s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1396s # { 1396s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1396s # g_datalist_remove_data (&proxy->priv->qdata, key); 1396s # if (info != NULL) 1396s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1396s # } 1396s # g_variant_iter_free (iter); 1396s # for (n = 0; invalidated_properties[n] != NULL; n++) 1396s # { 1396s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1396s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1396s # if (info != NULL) 1396s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1396s # } 1396s # } 1396s # 1396s # static GVariant * 1396s # good_types_proxy_get_good_property_type (GoodTypes *object) 1396s # { 1396s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1396s # GVariant *variant; 1396s # GVariant *value = NULL; 1396s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1396s # value = variant; 1396s # if (variant != NULL) 1396s # g_variant_unref (variant); 1396s # return value; 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_init (GoodTypesProxy *proxy) 1396s # { 1396s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1396s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1396s # #else 1396s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1396s # #endif 1396s # 1396s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1396s # { 1396s # GObjectClass *gobject_class; 1396s # GDBusProxyClass *proxy_class; 1396s # 1396s # gobject_class = G_OBJECT_CLASS (klass); 1396s # gobject_class->finalize = good_types_proxy_finalize; 1396s # gobject_class->get_property = good_types_proxy_get_property; 1396s # gobject_class->set_property = good_types_proxy_set_property; 1396s # 1396s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1396s # proxy_class->g_signal = good_types_proxy_g_signal; 1396s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1396s # 1396s # good_types_override_properties (gobject_class, 1); 1396s # 1396s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1396s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1396s # #endif 1396s # } 1396s # 1396s # static void 1396s # good_types_proxy_iface_init (GoodTypesIface *iface) 1396s # { 1396s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new: 1396s # * @connection: A #GDBusConnection. 1396s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1396s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1396s # * @object_path: An object path. 1396s # * @cancellable: (nullable): A #GCancellable or %NULL. 1396s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1396s # * @user_data: User data to pass to @callback. 1396s # * 1396s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1396s # * 1396s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1396s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1396s # * 1396s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1396s # */ 1396s # void 1396s # good_types_proxy_new ( 1396s # GDBusConnection *connection, 1396s # GDBusProxyFlags flags, 1396s # const gchar *name, 1396s # const gchar *object_path, 1396s # GCancellable *cancellable, 1396s # GAsyncReadyCallback callback, 1396s # gpointer user_data) 1396s # { 1396s # 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); 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new_finish: 1396s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1396s # * @error: Return location for error or %NULL 1396s # * 1396s # * Finishes an operation started with good_types_proxy_new(). 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1396s # */ 1396s # GoodTypes * 1396s # good_types_proxy_new_finish ( 1396s # GAsyncResult *res, 1396s # GError **error) 1396s # { 1396s # GObject *ret; 1396s # GObject *source_object; 1396s # source_object = g_async_result_get_source_object (res); 1396s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1396s # g_object_unref (source_object); 1396s # if (ret != NULL) 1396s # return GOOD_TYPES (ret); 1396s # else 1396s # return NULL; 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new_sync: 1396s # * @connection: A #GDBusConnection. 1396s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1396s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1396s # * @object_path: An object path. 1396s # * @cancellable: (nullable): A #GCancellable or %NULL. 1396s # * @error: Return location for error or %NULL 1396s # * 1396s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1396s # * 1396s # * The calling thread is blocked until a reply is received. 1396s # * 1396s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1396s # */ 1396s # GoodTypes * 1396s # good_types_proxy_new_sync ( 1396s # GDBusConnection *connection, 1396s # GDBusProxyFlags flags, 1396s # const gchar *name, 1396s # const gchar *object_path, 1396s # GCancellable *cancellable, 1396s # GError **error) 1396s # { 1396s # GInitable *ret; 1396s # 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); 1396s # if (ret != NULL) 1396s # return GOOD_TYPES (ret); 1396s # else 1396s # return NULL; 1396s # } 1396s # 1396s # 1396s # /** 1396s # * good_types_proxy_new_for_bus: 1396s # * @bus_type: A #GBusType. 1396s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1396s # * @name: A bus name (well-known or unique). 1396s # * @object_path: An object path. 1396s # * @cancellable: (nullable): A #GCancellable or %NULL. 1396s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1396s # * @user_data: User data to pass to @callback. 1396s # * 1396s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1396s # * 1396s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1396s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1396s # * 1396s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1396s # */ 1396s # void 1396s # good_types_proxy_new_for_bus ( 1396s # GBusType bus_type, 1396s # GDBusProxyFlags flags, 1396s # const gchar *name, 1396s # const gchar *object_path, 1396s # GCancellable *cancellable, 1396s # GAsyncReadyCallback callback, 1396s # gpointer user_data) 1396s # { 1396s # 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); 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new_for_bus_finish: 1396s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1396s # * @error: Return location for error or %NULL 1396s # * 1396s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1396s # */ 1396s # GoodTypes * 1396s # good_types_proxy_new_for_bus_finish ( 1396s # GAsyncResult *res, 1396s # GError **error) 1396s # { 1396s # GObject *ret; 1396s # GObject *source_object; 1396s # source_object = g_async_result_get_source_object (res); 1396s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1396s # g_object_unref (source_object); 1396s # if (ret != NULL) 1396s # return GOOD_TYPES (ret); 1396s # else 1396s # return NULL; 1396s # } 1396s # 1396s # /** 1396s # * good_types_proxy_new_for_bus_sync: 1396s # * @bus_type: A #GBusType. 1396s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1396s # * @name: A bus name (well-known or unique). 1396s # * @object_path: An object path. 1396s # * @cancellable: (nullable): A #GCancellable or %NULL. 1396s # * @error: Return location for error or %NULL 1396s # * 1396s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1396s # * 1396s # * The calling thread is blocked until a reply is received. 1396s # * 1396s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1396s # */ 1396s # GoodTypes * 1396s # good_types_proxy_new_for_bus_sync ( 1396s # GBusType bus_type, 1396s # GDBusProxyFlags flags, 1396s # const gchar *name, 1396s # const gchar *object_path, 1396s # GCancellable *cancellable, 1396s # GError **error) 1396s # { 1396s # GInitable *ret; 1396s # 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); 1396s # if (ret != NULL) 1396s # return GOOD_TYPES (ret); 1396s # else 1396s # return NULL; 1396s # } 1396s # 1396s # 1396s # /* ------------------------------------------------------------------------ */ 1396s # 1396s # /** 1396s # * GoodTypesSkeleton: 1396s # * 1396s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1396s # */ 1396s # 1396s # /** 1396s # * GoodTypesSkeletonClass: 1396s # * @parent_class: The parent class. 1396s # * 1396s # * Class structure for GoodTypesSkeleton. 1396s # */ 1396s # 1396s # struct _GoodTypesSkeletonPrivate 1396s # { 1396s # GValue *properties; 1396s # GList *changed_properties; 1396s # GSource *changed_properties_idle_source; 1396s # GMainContext *context; 1396s # GMutex lock; 1396s # }; 1396s # 1396s # static void 1396s # _good_types_skeleton_handle_method_call ( 1396s # GDBusConnection *connection G_GNUC_UNUSED, 1396s # const gchar *sender G_GNUC_UNUSED, 1396s # const gchar *object_path G_GNUC_UNUSED, 1396s # const gchar *interface_name, 1396s # const gchar *method_name, 1396s # GVariant *parameters, 1396s # GDBusMethodInvocation *invocation, 1396s # gpointer user_data) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1396s # _ExtendedGDBusMethodInfo *info; 1396s # GVariantIter iter; 1396s # GVariant *child; 1396s # GValue *paramv; 1396s # gsize num_params; 1396s # guint num_extra; 1396s # gsize n; 1396s # guint signal_id; 1396s # GValue return_value = G_VALUE_INIT; 1396s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1396s # g_assert (info != NULL); 1396s # num_params = g_variant_n_children (parameters); 1396s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1396s # n = 0; 1396s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1396s # g_value_set_object (¶mv[n++], skeleton); 1396s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1396s # g_value_set_object (¶mv[n++], invocation); 1396s # if (info->pass_fdlist) 1396s # { 1396s # #ifdef G_OS_UNIX 1396s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1396s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1396s # #else 1396s # g_assert_not_reached (); 1396s # #endif 1396s # } 1396s # g_variant_iter_init (&iter, parameters); 1396s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1396s # { 1396s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1396s # if (arg_info->use_gvariant) 1396s # { 1396s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1396s # g_value_set_variant (¶mv[n], child); 1396s # n++; 1396s # } 1396s # else 1396s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1396s # g_variant_unref (child); 1396s # } 1396s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1396s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1396s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1396s # if (!g_value_get_boolean (&return_value)) 1396s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1396s # g_value_unset (&return_value); 1396s # for (n = 0; n < num_params + num_extra; n++) 1396s # g_value_unset (¶mv[n]); 1396s # g_free (paramv); 1396s # } 1396s # 1396s # static GVariant * 1396s # _good_types_skeleton_handle_get_property ( 1396s # GDBusConnection *connection G_GNUC_UNUSED, 1396s # const gchar *sender G_GNUC_UNUSED, 1396s # const gchar *object_path G_GNUC_UNUSED, 1396s # const gchar *interface_name G_GNUC_UNUSED, 1396s # const gchar *property_name, 1396s # GError **error, 1396s # gpointer user_data) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1396s # GValue value = G_VALUE_INIT; 1396s # GParamSpec *pspec; 1396s # _ExtendedGDBusPropertyInfo *info; 1396s # GVariant *ret; 1396s # ret = NULL; 1396s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1396s # g_assert (info != NULL); 1396s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1396s # if (pspec == NULL) 1396s # { 1396s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1396s # } 1396s # else 1396s # { 1396s # g_value_init (&value, pspec->value_type); 1396s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1396s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1396s # g_value_unset (&value); 1396s # } 1396s # return ret; 1396s # } 1396s # 1396s # static gboolean 1396s # _good_types_skeleton_handle_set_property ( 1396s # GDBusConnection *connection G_GNUC_UNUSED, 1396s # const gchar *sender G_GNUC_UNUSED, 1396s # const gchar *object_path G_GNUC_UNUSED, 1396s # const gchar *interface_name G_GNUC_UNUSED, 1396s # const gchar *property_name, 1396s # GVariant *variant, 1396s # GError **error, 1396s # gpointer user_data) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1396s # GValue value = G_VALUE_INIT; 1396s # GParamSpec *pspec; 1396s # _ExtendedGDBusPropertyInfo *info; 1396s # gboolean ret; 1396s # ret = FALSE; 1396s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1396s # g_assert (info != NULL); 1396s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1396s # if (pspec == NULL) 1396s # { 1396s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1396s # } 1396s # else 1396s # { 1396s # if (info->use_gvariant) 1396s # g_value_set_variant (&value, variant); 1396s # else 1396s # g_dbus_gvariant_to_gvalue (variant, &value); 1396s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1396s # g_value_unset (&value); 1396s # ret = TRUE; 1396s # } 1396s # return ret; 1396s # } 1396s # 1396s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1396s # { 1396s # _good_types_skeleton_handle_method_call, 1396s # _good_types_skeleton_handle_get_property, 1396s # _good_types_skeleton_handle_set_property, 1396s # {NULL} 1396s # }; 1396s # 1396s # static GDBusInterfaceInfo * 1396s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1396s # { 1396s # return good_types_interface_info (); 1396s # } 1396s # 1396s # static GDBusInterfaceVTable * 1396s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1396s # { 1396s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1396s # } 1396s # 1396s # static GVariant * 1396s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1396s # 1396s # GVariantBuilder builder; 1396s # guint n; 1396s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1396s # if (_good_types_interface_info.parent_struct.properties == NULL) 1396s # goto out; 1396s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1396s # { 1396s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1396s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1396s # { 1396s # GVariant *value; 1396s # 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); 1396s # if (value != NULL) 1396s # { 1396s # g_variant_take_ref (value); 1396s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1396s # g_variant_unref (value); 1396s # } 1396s # } 1396s # } 1396s # out: 1396s # return g_variant_builder_end (&builder); 1396s # } 1396s # 1396s # static gboolean _good_types_emit_changed (gpointer user_data); 1396s # 1396s # static void 1396s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1396s # gboolean emit_changed = FALSE; 1396s # 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # if (skeleton->priv->changed_properties_idle_source != NULL) 1396s # { 1396s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1396s # skeleton->priv->changed_properties_idle_source = NULL; 1396s # emit_changed = TRUE; 1396s # } 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # 1396s # if (emit_changed) 1396s # _good_types_emit_changed (skeleton); 1396s # } 1396s # 1396s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1396s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1396s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1396s # G_ADD_PRIVATE (GoodTypesSkeleton) 1396s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1396s # 1396s # #else 1396s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1396s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1396s # 1396s # #endif 1396s # static void 1396s # good_types_skeleton_finalize (GObject *object) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # guint n; 1396s # for (n = 0; n < 1; n++) 1396s # g_value_unset (&skeleton->priv->properties[n]); 1396s # g_free (skeleton->priv->properties); 1396s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1396s # if (skeleton->priv->changed_properties_idle_source != NULL) 1396s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1396s # g_main_context_unref (skeleton->priv->context); 1396s # g_mutex_clear (&skeleton->priv->lock); 1396s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_get_property (GObject *object, 1396s # guint prop_id, 1396s # GValue *value, 1396s # GParamSpec *pspec G_GNUC_UNUSED) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # } 1396s # 1396s # static gboolean 1396s # _good_types_emit_changed (gpointer user_data) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1396s # GList *l; 1396s # GVariantBuilder builder; 1396s # GVariantBuilder invalidated_builder; 1396s # guint num_changes; 1396s # 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1396s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1396s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1396s # { 1396s # ChangedProperty *cp = l->data; 1396s # GVariant *variant; 1396s # const GValue *cur_value; 1396s # 1396s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1396s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1396s # { 1396s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1396s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1396s # g_variant_unref (variant); 1396s # num_changes++; 1396s # } 1396s # } 1396s # if (num_changes > 0) 1396s # { 1396s # GList *connections, *ll; 1396s # GVariant *signal_variant; 1396s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1396s # &builder, &invalidated_builder)); 1396s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1396s # for (ll = connections; ll != NULL; ll = ll->next) 1396s # { 1396s # GDBusConnection *connection = ll->data; 1396s # 1396s # g_dbus_connection_emit_signal (connection, 1396s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1396s # "org.freedesktop.DBus.Properties", 1396s # "PropertiesChanged", 1396s # signal_variant, 1396s # NULL); 1396s # } 1396s # g_variant_unref (signal_variant); 1396s # g_list_free_full (connections, g_object_unref); 1396s # } 1396s # else 1396s # { 1396s # g_variant_builder_clear (&builder); 1396s # g_variant_builder_clear (&invalidated_builder); 1396s # } 1396s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1396s # skeleton->priv->changed_properties = NULL; 1396s # skeleton->priv->changed_properties_idle_source = NULL; 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # return FALSE; 1396s # } 1396s # 1396s # static void 1396s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1396s # { 1396s # ChangedProperty *cp; 1396s # GList *l; 1396s # cp = NULL; 1396s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1396s # { 1396s # ChangedProperty *i_cp = l->data; 1396s # if (i_cp->info == info) 1396s # { 1396s # cp = i_cp; 1396s # break; 1396s # } 1396s # } 1396s # if (cp == NULL) 1396s # { 1396s # cp = g_new0 (ChangedProperty, 1); 1396s # cp->prop_id = prop_id; 1396s # cp->info = info; 1396s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1396s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1396s # g_value_copy (orig_value, &cp->orig_value); 1396s # } 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_notify (GObject *object, 1396s # GParamSpec *pspec G_GNUC_UNUSED) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # if (skeleton->priv->changed_properties != NULL && 1396s # skeleton->priv->changed_properties_idle_source == NULL) 1396s # { 1396s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1396s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1396s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1396s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1396s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1396s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1396s # } 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_set_property (GObject *object, 1396s # guint prop_id, 1396s # const GValue *value, 1396s # GParamSpec *pspec) 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info; 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1396s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # g_object_freeze_notify (object); 1396s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1396s # { 1396s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1396s # info->emits_changed_signal) 1396s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1396s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1396s # g_object_notify_by_pspec (object, pspec); 1396s # } 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # g_object_thaw_notify (object); 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1396s # { 1396s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1396s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1396s # #else 1396s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1396s # #endif 1396s # 1396s # g_mutex_init (&skeleton->priv->lock); 1396s # skeleton->priv->context = g_main_context_ref_thread_default (); 1396s # skeleton->priv->properties = g_new0 (GValue, 1); 1396s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1396s # } 1396s # 1396s # static GVariant * 1396s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1396s # { 1396s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1396s # GVariant *value; 1396s # g_mutex_lock (&skeleton->priv->lock); 1396s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1396s # g_mutex_unlock (&skeleton->priv->lock); 1396s # return value; 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1396s # { 1396s # GObjectClass *gobject_class; 1396s # GDBusInterfaceSkeletonClass *skeleton_class; 1396s # 1396s # gobject_class = G_OBJECT_CLASS (klass); 1396s # gobject_class->finalize = good_types_skeleton_finalize; 1396s # gobject_class->get_property = good_types_skeleton_get_property; 1396s # gobject_class->set_property = good_types_skeleton_set_property; 1396s # gobject_class->notify = good_types_skeleton_notify; 1396s # 1396s # 1396s # good_types_override_properties (gobject_class, 1); 1396s # 1396s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1396s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1396s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1396s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1396s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1396s # 1396s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1396s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1396s # #endif 1396s # } 1396s # 1396s # static void 1396s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1396s # { 1396s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1396s # } 1396s # 1396s # /** 1396s # * good_types_skeleton_new: 1396s # * 1396s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1396s # * 1396s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1396s # */ 1396s # GoodTypes * 1396s # good_types_skeleton_new (void) 1396s # { 1396s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1396s # } 1396s ok 3 __main__.TestCodegen.test_empty_interface_body 1396s # tmpdir: /tmp/tmpmovvn_k3 1396s # codegen: /usr/bin/gdbus-codegen 1396s # /tmp/tmpmovvn_k3/tmphh6_vf51.xml: 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmovvn_k3/tmphh6_vf51.xml', '--output', '-', '--body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # Output: /* 1396s # * This file is generated by gdbus-codegen, do not modify it. 1396s # * 1396s # * The license of this code is the same as for the D-Bus interface description 1396s # * it was derived from. Note that it links to GLib, so must comply with the 1396s # * LGPL linking clauses. 1396s # */ 1396s # 1396s # #ifdef HAVE_CONFIG_H 1396s # # include "config.h" 1396s # #endif 1396s # 1396s # #include 1396s # #ifdef G_OS_UNIX 1396s # # include 1396s # #endif 1396s # 1396s # #ifdef G_ENABLE_DEBUG 1396s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1396s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1396s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1396s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1396s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1396s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1396s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1396s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1396s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1396s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1396s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1396s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1396s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1396s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1396s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1396s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1396s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1396s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1396s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1396s # #else /* !G_ENABLE_DEBUG */ 1396s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1396s # * Do not access GValues directly in your code. Instead, use the 1396s # * g_value_get_*() functions 1396s # */ 1396s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1396s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1396s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1396s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1396s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1396s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1396s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1396s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1396s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1396s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1396s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1396s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1396s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1396s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1396s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1396s # #endif /* !G_ENABLE_DEBUG */ 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusArgInfo parent_struct; 1396s # gboolean use_gvariant; 1396s # } _ExtendedGDBusArgInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusMethodInfo parent_struct; 1396s # const gchar *signal_name; 1396s # gboolean pass_fdlist; 1396s # } _ExtendedGDBusMethodInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusSignalInfo parent_struct; 1396s # const gchar *signal_name; 1396s # } _ExtendedGDBusSignalInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusPropertyInfo parent_struct; 1396s # const gchar *hyphen_name; 1396s # guint use_gvariant : 1; 1396s # guint emits_changed_signal : 1; 1396s # } _ExtendedGDBusPropertyInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # GDBusInterfaceInfo parent_struct; 1396s # const gchar *hyphen_name; 1396s # } _ExtendedGDBusInterfaceInfo; 1396s # 1396s # typedef struct 1396s # { 1396s # const _ExtendedGDBusPropertyInfo *info; 1396s # guint prop_id; 1396s # GValue orig_value; /* the value before the change */ 1396s # } ChangedProperty; 1396s # 1396s # static void 1396s # _changed_property_free (ChangedProperty *data) 1396s # { 1396s # g_value_unset (&data->orig_value); 1396s # g_free (data); 1396s # } 1396s # 1396s # static gboolean 1396s # _g_strv_equal0 (gchar **a, gchar **b) 1396s # { 1396s # gboolean ret = FALSE; 1396s # guint n; 1396s # if (a == NULL && b == NULL) 1396s # { 1396s # ret = TRUE; 1396s # goto out; 1396s # } 1396s # if (a == NULL || b == NULL) 1396s # goto out; 1396s # if (g_strv_length (a) != g_strv_length (b)) 1396s # goto out; 1396s # for (n = 0; a[n] != NULL; n++) 1396s # if (g_strcmp0 (a[n], b[n]) != 0) 1396s # goto out; 1396s # ret = TRUE; 1396s # out: 1396s # return ret; 1396s # } 1396s # 1396s # static gboolean 1396s # _g_variant_equal0 (GVariant *a, GVariant *b) 1396s # { 1396s # gboolean ret = FALSE; 1396s # if (a == NULL && b == NULL) 1396s # { 1396s # ret = TRUE; 1396s # goto out; 1396s # } 1396s # if (a == NULL || b == NULL) 1396s # goto out; 1396s # ret = g_variant_equal (a, b); 1396s # out: 1396s # return ret; 1396s # } 1396s # 1396s # G_GNUC_UNUSED static gboolean 1396s # _g_value_equal (const GValue *a, const GValue *b) 1396s # { 1396s # gboolean ret = FALSE; 1396s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1396s # switch (G_VALUE_TYPE (a)) 1396s # { 1396s # case G_TYPE_BOOLEAN: 1396s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1396s # break; 1396s # case G_TYPE_UCHAR: 1396s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1396s # break; 1396s # case G_TYPE_INT: 1396s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1396s # break; 1396s # case G_TYPE_UINT: 1396s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1396s # break; 1396s # case G_TYPE_INT64: 1396s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1396s # break; 1396s # case G_TYPE_UINT64: 1396s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1396s # break; 1396s # case G_TYPE_DOUBLE: 1396s # { 1396s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1396s # gdouble da = g_value_get_double (a); 1396s # gdouble db = g_value_get_double (b); 1396s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1396s # } 1396s # break; 1396s # case G_TYPE_STRING: 1396s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1396s # break; 1396s # case G_TYPE_VARIANT: 1396s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1396s # break; 1396s # default: 1396s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1396s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1396s # else 1396s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1396s # break; 1396s # } 1396s # return ret; 1396s # } 1396s ok 4 __main__.TestCodegen.test_empty_interface_header 1396s # tmpdir: /tmp/tmpo7_yulft 1396s # codegen: /usr/bin/gdbus-codegen 1396s # /tmp/tmpo7_yulft/tmpfib3c5lf.xml: 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo7_yulft/tmpfib3c5lf.xml', '--output', '-', '--header'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # Output: /* 1396s # * This file is generated by gdbus-codegen, do not modify it. 1396s # * 1396s # * The license of this code is the same as for the D-Bus interface description 1396s # * it was derived from. Note that it links to GLib, so must comply with the 1396s # * LGPL linking clauses. 1396s # */ 1396s # 1396s # #ifndef __STDOUT__ 1396s # #define __STDOUT__ 1396s # 1396s # #include 1396s # 1396s # G_BEGIN_DECLS 1396s # 1396s # 1396s # G_END_DECLS 1396s # 1396s # #endif /* __STDOUT__ */ 1396s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1396s # tmpdir: /tmp/tmpqyr05okp 1396s # codegen: /usr/bin/gdbus-codegen 1396s # /tmp/tmpqyr05okp/tmpsyzsfz9n.xml: 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqyr05okp/tmpsyzsfz9n.xml', '--output', '-', '--interface-info-body'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # Output: /* 1396s # * This file is generated by gdbus-codegen, do not modify it. 1396s # * 1396s # * The license of this code is the same as for the D-Bus interface description 1396s # * it was derived from. Note that it links to GLib, so must comply with the 1396s # * LGPL linking clauses. 1396s # */ 1396s # 1396s # #ifdef HAVE_CONFIG_H 1396s # # include "config.h" 1396s # #endif 1396s # 1396s # #include 1396s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1396s # tmpdir: /tmp/tmp1wo6yz0x 1396s # codegen: /usr/bin/gdbus-codegen 1396s # /tmp/tmp1wo6yz0x/tmpc9chawpj.xml: 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1wo6yz0x/tmpc9chawpj.xml', '--output', '-', '--interface-info-header'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # Output: /* 1396s # * This file is generated by gdbus-codegen, do not modify it. 1396s # * 1396s # * The license of this code is the same as for the D-Bus interface description 1396s # * it was derived from. Note that it links to GLib, so must comply with the 1396s # * LGPL linking clauses. 1396s # */ 1396s # 1396s # #ifndef __STDOUT__ 1396s # #define __STDOUT__ 1396s # 1396s # #include 1396s # 1396s # G_BEGIN_DECLS 1396s # 1396s # 1396s # G_END_DECLS 1396s # 1396s # #endif /* __STDOUT__ */ 1396s ok 7 __main__.TestCodegen.test_generate_docbook 1396s # tmpdir: /tmp/tmp27_ngbcn 1396s # codegen: /usr/bin/gdbus-codegen 1396s # /tmp/tmp27_ngbcn/tmpi_5lgkn_.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27_ngbcn/tmpi_5lgkn_.xml', '--generate-docbook', 'test'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # Output: 1396s ok 8 __main__.TestCodegen.test_generate_md 1396s # tmpdir: /tmp/tmpiiormgjl 1396s # codegen: /usr/bin/gdbus-codegen 1396s # /tmp/tmpiiormgjl/tmpnido0srs.xml: 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # 1396s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiiormgjl/tmpnido0srs.xml', '--generate-md', 'test'] 1396s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1396s # Output: 1397s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1397s # tmpdir: /tmp/tmpjnjgzxgz 1397s # codegen: /usr/bin/gdbus-codegen 1397s # /tmp/tmpjnjgzxgz/tmprgvjp6bm.xml: 1397s # 1397s # 1397s # 1397s # 1397s # 1397s # 1397s # 1397s # 1397s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjnjgzxgz/tmprgvjp6bm.xml', '--output', '-', '--body'] 1397s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1397s # Output: /* 1397s # * This file is generated by gdbus-codegen, do not modify it. 1397s # * 1397s # * The license of this code is the same as for the D-Bus interface description 1397s # * it was derived from. Note that it links to GLib, so must comply with the 1397s # * LGPL linking clauses. 1397s # */ 1397s # 1397s # #ifdef HAVE_CONFIG_H 1397s # # include "config.h" 1397s # #endif 1397s # 1397s # #include 1397s # #ifdef G_OS_UNIX 1397s # # include 1397s # #endif 1397s # 1397s # #ifdef G_ENABLE_DEBUG 1397s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1397s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1397s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1397s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1397s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1397s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1397s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1397s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1397s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1397s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1397s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1397s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1397s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1397s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1397s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1397s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1397s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1397s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1397s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1397s # #else /* !G_ENABLE_DEBUG */ 1397s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1397s # * Do not access GValues directly in your code. Instead, use the 1397s # * g_value_get_*() functions 1397s # */ 1397s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1397s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1397s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1397s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1397s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1397s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1397s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1397s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1397s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1397s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1397s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1397s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1397s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1397s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1397s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1397s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1397s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1397s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1397s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1397s # #endif /* !G_ENABLE_DEBUG */ 1397s # 1397s # typedef struct 1397s # { 1397s # GDBusArgInfo parent_struct; 1397s # gboolean use_gvariant; 1397s # } _ExtendedGDBusArgInfo; 1397s # 1397s # typedef struct 1397s # { 1397s # GDBusMethodInfo parent_struct; 1397s # const gchar *signal_name; 1397s # gboolean pass_fdlist; 1397s # } _ExtendedGDBusMethodInfo; 1397s # 1397s # typedef struct 1397s # { 1397s # GDBusSignalInfo parent_struct; 1397s # const gchar *signal_name; 1397s # } _ExtendedGDBusSignalInfo; 1397s # 1397s # typedef struct 1397s # { 1397s # GDBusPropertyInfo parent_struct; 1397s # const gchar *hyphen_name; 1397s # guint use_gvariant : 1; 1397s # guint emits_changed_signal : 1; 1397s # } _ExtendedGDBusPropertyInfo; 1397s # 1397s # typedef struct 1397s # { 1397s # GDBusInterfaceInfo parent_struct; 1397s # const gchar *hyphen_name; 1397s # } _ExtendedGDBusInterfaceInfo; 1397s # 1397s # typedef struct 1397s # { 1397s # const _ExtendedGDBusPropertyInfo *info; 1397s # guint prop_id; 1397s # GValue orig_value; /* the value before the change */ 1397s # } ChangedProperty; 1397s # 1397s # static void 1397s # _changed_property_free (ChangedProperty *data) 1397s # { 1397s # g_value_unset (&data->orig_value); 1397s # g_free (data); 1397s # } 1397s # 1397s # static gboolean 1397s # _g_strv_equal0 (gchar **a, gchar **b) 1397s # { 1397s # gboolean ret = FALSE; 1397s # guint n; 1397s # if (a == NULL && b == NULL) 1397s # { 1397s # ret = TRUE; 1397s # goto out; 1397s # } 1397s # if (a == NULL || b == NULL) 1397s # goto out; 1397s # if (g_strv_length (a) != g_strv_length (b)) 1397s # goto out; 1397s # for (n = 0; a[n] != NULL; n++) 1397s # if (g_strcmp0 (a[n], b[n]) != 0) 1397s # goto out; 1397s # ret = TRUE; 1397s # out: 1397s # return ret; 1397s # } 1397s # 1397s # static gboolean 1397s # _g_variant_equal0 (GVariant *a, GVariant *b) 1397s # { 1397s # gboolean ret = FALSE; 1397s # if (a == NULL && b == NULL) 1397s # { 1397s # ret = TRUE; 1397s # goto out; 1397s # } 1397s # if (a == NULL || b == NULL) 1397s # goto out; 1397s # ret = g_variant_equal (a, b); 1397s # out: 1397s # return ret; 1397s # } 1397s # 1397s # G_GNUC_UNUSED static gboolean 1397s # _g_value_equal (const GValue *a, const GValue *b) 1397s # { 1397s # gboolean ret = FALSE; 1397s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1397s # switch (G_VALUE_TYPE (a)) 1397s # { 1397s # case G_TYPE_BOOLEAN: 1397s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1397s # break; 1397s # case G_TYPE_UCHAR: 1397s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1397s # break; 1397s # case G_TYPE_INT: 1397s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1397s # break; 1397s # case G_TYPE_UINT: 1397s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1397s # break; 1397s # case G_TYPE_INT64: 1397s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1397s # break; 1397s # case G_TYPE_UINT64: 1397s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1397s # break; 1397s # case G_TYPE_DOUBLE: 1397s # { 1397s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1397s # gdouble da = g_value_get_double (a); 1397s # gdouble db = g_value_get_double (b); 1397s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1397s # } 1397s # break; 1397s # case G_TYPE_STRING: 1397s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1397s # break; 1397s # case G_TYPE_VARIANT: 1397s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1397s # break; 1397s # default: 1397s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1397s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1397s # else 1397s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1397s # break; 1397s # } 1397s # return ret; 1397s # } 1397s # 1397s # static void 1397s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1397s # GClosure *closure, 1397s # GValue *return_value, 1397s # unsigned int n_param_values, 1397s # const GValue *param_values, 1397s # void *invocation_hint G_GNUC_UNUSED, 1397s # void *marshal_data) 1397s # { 1397s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1397s # (void *data1, 1397s # GDBusMethodInvocation *arg_method_invocation, 1397s # void *data2); 1397s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1397s # GCClosure *cc = (GCClosure*) closure; 1397s # void *data1, *data2; 1397s # gboolean v_return; 1397s # 1397s # g_return_if_fail (return_value != NULL); 1397s # g_return_if_fail (n_param_values == 2); 1397s # 1397s # if (G_CCLOSURE_SWAP_DATA (closure)) 1397s # { 1397s # data1 = closure->data; 1397s # data2 = g_value_peek_pointer (param_values + 0); 1397s # } 1397s # else 1397s # { 1397s # data1 = g_value_peek_pointer (param_values + 0); 1397s # data2 = closure->data; 1397s # } 1397s # 1397s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1397s # (marshal_data ? marshal_data : cc->callback); 1397s # 1397s # v_return = 1397s # callback (data1, 1397s # g_marshal_value_peek_object (param_values + 1), 1397s # data2); 1397s # 1397s # g_value_set_boolean (return_value, v_return); 1397s # } 1397s # 1397s # /* ------------------------------------------------------------------------ 1397s # * Code for interface org.project.CallableIface 1397s # * ------------------------------------------------------------------------ 1397s # */ 1397s # 1397s # /** 1397s # * SECTION:OrgProjectCallableIface 1397s # * @title: OrgProjectCallableIface 1397s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1397s # * 1397s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1397s # */ 1397s # 1397s # /* ---- Introspection data for org.project.CallableIface ---- */ 1397s # 1397s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1397s # { 1397s # { 1397s # -1, 1397s # (gchar *) "SimpleMethod", 1397s # NULL, 1397s # NULL, 1397s # NULL 1397s # }, 1397s # "handle-simple-method", 1397s # FALSE 1397s # }; 1397s # 1397s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1397s # { 1397s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1397s # NULL 1397s # }; 1397s # 1397s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1397s # { 1397s # { 1397s # -1, 1397s # (gchar *) "org.project.CallableIface", 1397s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1397s # NULL, 1397s # NULL, 1397s # NULL 1397s # }, 1397s # "org-project-callable-iface", 1397s # }; 1397s # 1397s # 1397s # /** 1397s # * org_project_callable_iface_interface_info: 1397s # * 1397s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1397s # * 1397s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1397s # */ 1397s # GDBusInterfaceInfo * 1397s # org_project_callable_iface_interface_info (void) 1397s # { 1397s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1397s # } 1397s # 1397s # /** 1397s # * org_project_callable_iface_override_properties: 1397s # * @klass: The class structure for a #GObject derived class. 1397s # * @property_id_begin: The property id to assign to the first overridden property. 1397s # * 1397s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1397s # * The properties are overridden in the order they are defined. 1397s # * 1397s # * Returns: The last property id. 1397s # */ 1397s # guint 1397s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1397s # { 1397s # return property_id_begin - 1; 1397s # } 1397s # 1397s # 1397s # inline static void 1397s # org_project_callable_iface_method_marshal_simple_method ( 1397s # GClosure *closure, 1397s # GValue *return_value, 1397s # unsigned int n_param_values, 1397s # const GValue *param_values, 1397s # void *invocation_hint, 1397s # void *marshal_data) 1397s # { 1397s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1397s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1397s # } 1397s # 1397s # 1397s # /** 1397s # * OrgProjectCallableIface: 1397s # * 1397s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1397s # */ 1397s # 1397s # /** 1397s # * OrgProjectCallableIfaceIface: 1397s # * @parent_iface: The parent interface. 1397s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1397s # * 1397s # * Virtual table for the D-Bus interface org.project.CallableIface. 1397s # */ 1397s # 1397s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1397s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1397s # 1397s # static void 1397s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1397s # { 1397s # /* GObject signals for incoming D-Bus method calls: */ 1397s # /** 1397s # * OrgProjectCallableIface::handle-simple-method: 1397s # * @object: A #OrgProjectCallableIface. 1397s # * @invocation: A #GDBusMethodInvocation. 1397s # * 1397s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1397s # * 1397s # * 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. 1397s # * 1397s # * 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. 1397s # */ 1397s # g_signal_new ("handle-simple-method", 1397s # G_TYPE_FROM_INTERFACE (iface), 1397s # G_SIGNAL_RUN_LAST, 1397s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1397s # g_signal_accumulator_true_handled, 1397s # NULL, 1397s # org_project_callable_iface_method_marshal_simple_method, 1397s # G_TYPE_BOOLEAN, 1397s # 1, 1397s # G_TYPE_DBUS_METHOD_INVOCATION); 1397s # 1397s # } 1397s # 1397s # /** 1397s # * org_project_callable_iface_call_simple_method: 1397s # * @proxy: A #OrgProjectCallableIfaceProxy. 1397s # * @cancellable: (nullable): A #GCancellable or %NULL. 1397s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1397s # * @user_data: User data to pass to @callback. 1397s # * 1397s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1397s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1397s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1397s # * 1397s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1397s # */ 1397s # void 1397s # org_project_callable_iface_call_simple_method ( 1397s # OrgProjectCallableIface *proxy, 1397s # GCancellable *cancellable, 1397s # GAsyncReadyCallback callback, 1397s # gpointer user_data) 1397s # { 1397s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1397s # "SimpleMethod", 1397s # g_variant_new ("()"), 1397s # G_DBUS_CALL_FLAGS_NONE, 1397s # -1, 1397s # cancellable, 1397s # callback, 1397s # user_data); 1397s # } 1397s # 1397s # /** 1397s # * org_project_callable_iface_call_simple_method_finish: 1397s # * @proxy: A #OrgProjectCallableIfaceProxy. 1397s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1397s # * @error: Return location for error or %NULL. 1397s # * 1397s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1397s # * 1397s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1397s # */ 1397s # gboolean 1397s # org_project_callable_iface_call_simple_method_finish ( 1397s # OrgProjectCallableIface *proxy, 1397s # GAsyncResult *res, 1397s # GError **error) 1397s # { 1397s # GVariant *_ret; 1397s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1397s # if (_ret == NULL) 1397s # goto _out; 1397s # g_variant_get (_ret, 1397s # "()"); 1397s # g_variant_unref (_ret); 1397s # _out: 1397s # return _ret != NULL; 1397s # } 1397s # 1397s # /** 1397s # * org_project_callable_iface_call_simple_method_sync: 1397s # * @proxy: A #OrgProjectCallableIfaceProxy. 1397s # * @cancellable: (nullable): A #GCancellable or %NULL. 1397s # * @error: Return location for error or %NULL. 1397s # * 1397s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1397s # * 1397s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1397s # * 1397s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1397s # */ 1397s # gboolean 1397s # org_project_callable_iface_call_simple_method_sync ( 1397s # OrgProjectCallableIface *proxy, 1397s # GCancellable *cancellable, 1397s # GError **error) 1397s # { 1397s # GVariant *_ret; 1397s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1397s # "SimpleMethod", 1397s # g_variant_new ("()"), 1397s # G_DBUS_CALL_FLAGS_NONE, 1397s # -1, 1397s # cancellable, 1397s # error); 1397s # if (_ret == NULL) 1397s # goto _out; 1397s # g_variant_get (_ret, 1397s # "()"); 1397s # g_variant_unref (_ret); 1397s # _out: 1397s # return _ret != NULL; 1397s # } 1397s # 1397s # /** 1397s # * org_project_callable_iface_complete_simple_method: 1397s # * @object: A #OrgProjectCallableIface. 1397s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1397s # * 1397s # * 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. 1397s # * 1397s # * This method will free @invocation, you cannot use it afterwards. 1397s # */ 1397s # void 1397s # org_project_callable_iface_complete_simple_method ( 1397s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1397s # GDBusMethodInvocation *invocation) 1397s # { 1397s # g_dbus_method_invocation_return_value (invocation, 1397s # g_variant_new ("()")); 1397s # } 1397s # 1397s # /* ------------------------------------------------------------------------ */ 1397s # 1397s # /** 1397s # * OrgProjectCallableIfaceProxy: 1397s # * 1397s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1397s # */ 1397s # 1397s # /** 1397s # * OrgProjectCallableIfaceProxyClass: 1397s # * @parent_class: The parent class. 1397s # * 1397s # * Class structure for #OrgProjectCallableIfaceProxy. 1397s # */ 1397s # 1397s # struct _OrgProjectCallableIfaceProxyPrivate 1397s # { 1397s # GData *qdata; 1397s # }; 1397s # 1397s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1397s # 1397s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1397s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1397s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1397s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1397s # 1397s # #else 1397s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1397s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1397s # 1397s # #endif 1397s # static void 1397s # org_project_callable_iface_proxy_finalize (GObject *object) 1397s # { 1397s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1397s # g_datalist_clear (&proxy->priv->qdata); 1397s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1397s # } 1397s # 1397s # static void 1397s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1397s # guint prop_id G_GNUC_UNUSED, 1397s # GValue *value G_GNUC_UNUSED, 1397s # GParamSpec *pspec G_GNUC_UNUSED) 1397s # { 1397s # } 1397s # 1397s # static void 1397s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1397s # guint prop_id G_GNUC_UNUSED, 1397s # const GValue *value G_GNUC_UNUSED, 1397s # GParamSpec *pspec G_GNUC_UNUSED) 1397s # { 1397s # } 1397s # 1397s # static void 1397s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1397s # const gchar *sender_name G_GNUC_UNUSED, 1397s # const gchar *signal_name, 1397s # GVariant *parameters) 1397s # { 1397s # _ExtendedGDBusSignalInfo *info; 1397s # GVariantIter iter; 1397s # GVariant *child; 1397s # GValue *paramv; 1397s # gsize num_params; 1397s # gsize n; 1397s # guint signal_id; 1397s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1397s # if (info == NULL) 1397s # return; 1397s # num_params = g_variant_n_children (parameters); 1397s # paramv = g_new0 (GValue, num_params + 1); 1397s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1397s # g_value_set_object (¶mv[0], proxy); 1397s # g_variant_iter_init (&iter, parameters); 1397s # n = 1; 1397s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1397s # { 1397s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1397s # if (arg_info->use_gvariant) 1397s # { 1397s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1397s # g_value_set_variant (¶mv[n], child); 1397s # n++; 1397s # } 1397s # else 1397s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1397s # g_variant_unref (child); 1397s # } 1397s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1397s # g_signal_emitv (paramv, signal_id, 0, NULL); 1397s # for (n = 0; n < num_params + 1; n++) 1397s # g_value_unset (¶mv[n]); 1397s # g_free (paramv); 1397s # } 1397s # 1397s # static void 1397s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1397s # GVariant *changed_properties, 1397s # const gchar *const *invalidated_properties) 1397s # { 1397s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1397s # guint n; 1397s # const gchar *key; 1397s # GVariantIter *iter; 1397s # _ExtendedGDBusPropertyInfo *info; 1397s # g_variant_get (changed_properties, "a{sv}", &iter); 1397s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1397s # { 1397s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1397s # g_datalist_remove_data (&proxy->priv->qdata, key); 1397s # if (info != NULL) 1397s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1397s # } 1397s # g_variant_iter_free (iter); 1397s # for (n = 0; invalidated_properties[n] != NULL; n++) 1397s # { 1397s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1397s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1397s # if (info != NULL) 1397s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1397s # } 1397s # } 1397s # 1397s # static void 1397s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1397s # { 1397s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1397s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1397s # #else 1397s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1397s # #endif 1397s # 1397s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1397s # } 1397s # 1397s # static void 1397s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1397s # { 1397s # GObjectClass *gobject_class; 1397s # GDBusProxyClass *proxy_class; 1397s # 1397s # gobject_class = G_OBJECT_CLASS (klass); 1397s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1397s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1397s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1397s # 1397s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1397s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1397s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1397s # 1397s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1397s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1397s # #endif 1397s # } 1397s # 1397s # static void 1397s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1397s # { 1397s # } 1397s # 1397s # /** 1397s # * org_project_callable_iface_proxy_new: 1397s # * @connection: A #GDBusConnection. 1397s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1397s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1397s # * @object_path: An object path. 1397s # * @cancellable: (nullable): A #GCancellable or %NULL. 1397s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1397s # * @user_data: User data to pass to @callback. 1397s # * 1397s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1397s # * 1397s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1397s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1397s # * 1397s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1397s # */ 1397s # void 1397s # org_project_callable_iface_proxy_new ( 1397s # GDBusConnection *connection, 1397s # GDBusProxyFlags flags, 1397s # const gchar *name, 1397s # const gchar *object_path, 1397s # GCancellable *cancellable, 1397s # GAsyncReadyCallback callback, 1397s # gpointer user_data) 1397s # { 1397s # 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); 1397s # } 1397s # 1397s # /** 1397s # * org_project_callable_iface_proxy_new_finish: 1397s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1397s # * @error: Return location for error or %NULL 1397s # * 1397s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1397s # * 1397s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1397s # */ 1397s # OrgProjectCallableIface * 1397s # org_project_callable_iface_proxy_new_finish ( 1397s # GAsyncResult *res, 1397s # GError **error) 1397s # { 1397s # GObject *ret; 1397s # GObject *source_object; 1397s # source_object = g_async_result_get_source_object (res); 1397s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1397s # g_object_unref (source_object); 1397s # if (ret != NULL) 1397s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1397s # else 1397s # return NULL; 1397s # } 1397s # 1397s # /** 1397s # * org_project_callable_iface_proxy_new_sync: 1397s # * @connection: A #GDBusConnection. 1397s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1397s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1397s # * @object_path: An object path. 1397s # * @cancellable: (nullable): A #GCancellable or %NULL. 1397s # * @error: Return location for error or %NULL 1397s # * 1397s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1397s # * 1397s # * The calling thread is blocked until a reply is received. 1397s # * 1397s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1397s # * 1397s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1397s # */ 1397s # OrgProjectCallableIface * 1397s # org_project_callable_iface_proxy_new_sync ( 1397s # GDBusConnection *connection, 1397s # GDBusProxyFlags flags, 1397s # const gchar *name, 1397s # const gchar *object_path, 1397s # GCancellable *cancellable, 1397s # GError **error) 1397s # { 1397s # GInitable *ret; 1397s # 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); 1397s # if (ret != NULL) 1397s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1397s # else 1397s # return NULL; 1397s # } 1397s # 1397s # 1397s # /** 1397s # * org_project_callable_iface_proxy_new_for_bus: 1397s # * @bus_type: A #GBusType. 1397s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1397s # * @name: A bus name (well-known or unique). 1397s # * @object_path: An object path. 1397s # * @cancellable: (nullable): A #GCancellable or %NULL. 1397s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1397s # * @user_data: User data to pass to @callback. 1397s # * 1397s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1397s # * 1397s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1397s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1397s # * 1397s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1397s # */ 1397s # void 1397s # org_project_callable_iface_proxy_new_for_bus ( 1397s # GBusType bus_type, 1397s # GDBusProxyFlags flags, 1397s # const gchar *name, 1397s # const gchar *object_path, 1397s # GCancellable *cancellable, 1397s # GAsyncReadyCallback callback, 1397s # gpointer user_data) 1397s # { 1397s # 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); 1397s # } 1397s # 1397s # /** 1397s # * org_project_callable_iface_proxy_new_for_bus_finish: 1397s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1397s # * @error: Return location for error or %NULL 1397s # * 1397s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1397s # * 1397s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1397s # */ 1397s # OrgProjectCallableIface * 1397s # org_project_callable_iface_proxy_new_for_bus_finish ( 1397s # GAsyncResult *res, 1397s # GError **error) 1397s # { 1397s # GObject *ret; 1397s # GObject *source_object; 1397s # source_object = g_async_result_get_source_object (res); 1397s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1397s # g_object_unref (source_object); 1397s # if (ret != NULL) 1397s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1397s # else 1397s # return NULL; 1397s # } 1397s # 1397s # /** 1397s # * org_project_callable_iface_proxy_new_for_bus_sync: 1397s # * @bus_type: A #GBusType. 1397s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1397s # * @name: A bus name (well-known or unique). 1397s # * @object_path: An object path. 1397s # * @cancellable: (nullable): A #GCancellable or %NULL. 1397s # * @error: Return location for error or %NULL 1397s # * 1397s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1397s # * 1397s # * The calling thread is blocked until a reply is received. 1397s # * 1397s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1397s # * 1397s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1397s # */ 1397s # OrgProjectCallableIface * 1397s # org_project_callable_iface_proxy_new_for_bus_sync ( 1397s # GBusType bus_type, 1397s # GDBusProxyFlags flags, 1397s # const gchar *name, 1397s # const gchar *object_path, 1397s # GCancellable *cancellable, 1397s # GError **error) 1397s # { 1397s # GInitable *ret; 1397s # 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); 1397s # if (ret != NULL) 1397s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1397s # else 1397s # return NULL; 1397s # } 1397s # 1397s # 1397s # /* ------------------------------------------------------------------------ */ 1397s # 1397s # /** 1397s # * OrgProjectCallableIfaceSkeleton: 1397s # * 1397s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1397s # */ 1397s # 1397s # /** 1397s # * OrgProjectCallableIfaceSkeletonClass: 1397s # * @parent_class: The parent class. 1397s # * 1397s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1397s # */ 1397s # 1397s # struct _OrgProjectCallableIfaceSkeletonPrivate 1397s # { 1397s # GValue *properties; 1397s # GList *changed_properties; 1397s # GSource *changed_properties_idle_source; 1397s # GMainContext *context; 1397s # GMutex lock; 1397s # }; 1397s # 1397s # static void 1397s # _org_project_callable_iface_skeleton_handle_method_call ( 1397s # GDBusConnection *connection G_GNUC_UNUSED, 1397s # const gchar *sender G_GNUC_UNUSED, 1397s # const gchar *object_path G_GNUC_UNUSED, 1397s # const gchar *interface_name, 1397s # const gchar *method_name, 1397s # GVariant *parameters, 1397s # GDBusMethodInvocation *invocation, 1397s # gpointer user_data) 1397s # { 1397s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1397s # _ExtendedGDBusMethodInfo *info; 1397s # GVariantIter iter; 1397s # GVariant *child; 1397s # GValue *paramv; 1397s # gsize num_params; 1397s # guint num_extra; 1397s # gsize n; 1397s # guint signal_id; 1397s # GValue return_value = G_VALUE_INIT; 1397s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1397s # g_assert (info != NULL); 1397s # num_params = g_variant_n_children (parameters); 1397s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1397s # n = 0; 1397s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1397s # g_value_set_object (¶mv[n++], skeleton); 1397s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1397s # g_value_set_object (¶mv[n++], invocation); 1397s # if (info->pass_fdlist) 1397s # { 1397s # #ifdef G_OS_UNIX 1397s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1397s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1397s # #else 1397s # g_assert_not_reached (); 1397s # #endif 1397s # } 1397s # g_variant_iter_init (&iter, parameters); 1397s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1397s # { 1397s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1397s # if (arg_info->use_gvariant) 1397s # { 1397s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1397s # g_value_set_variant (¶mv[n], child); 1397s # n++; 1397s # } 1397s # else 1397s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1397s # g_variant_unref (child); 1397s # } 1397s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1397s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1397s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1397s # if (!g_value_get_boolean (&return_value)) 1397s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1397s # g_value_unset (&return_value); 1397s # for (n = 0; n < num_params + num_extra; n++) 1397s # g_value_unset (¶mv[n]); 1397s # g_free (paramv); 1397s # } 1397s # 1397s # static GVariant * 1397s # _org_project_callable_iface_skeleton_handle_get_property ( 1397s # GDBusConnection *connection G_GNUC_UNUSED, 1397s # const gchar *sender G_GNUC_UNUSED, 1397s # const gchar *object_path G_GNUC_UNUSED, 1397s # const gchar *interface_name G_GNUC_UNUSED, 1397s # const gchar *property_name, 1397s # GError **error, 1397s # gpointer user_data) 1397s # { 1397s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1397s # GValue value = G_VALUE_INIT; 1397s # GParamSpec *pspec; 1397s # _ExtendedGDBusPropertyInfo *info; 1397s # GVariant *ret; 1397s # ret = NULL; 1397s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1397s # g_assert (info != NULL); 1397s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1397s # if (pspec == NULL) 1397s # { 1397s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1397s # } 1397s # else 1397s # { 1397s # g_value_init (&value, pspec->value_type); 1397s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1397s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1397s # g_value_unset (&value); 1397s # } 1397s # return ret; 1397s # } 1397s # 1397s # static gboolean 1397s # _org_project_callable_iface_skeleton_handle_set_property ( 1397s # GDBusConnection *connection G_GNUC_UNUSED, 1397s # const gchar *sender G_GNUC_UNUSED, 1397s # const gchar *object_path G_GNUC_UNUSED, 1397s # const gchar *interface_name G_GNUC_UNUSED, 1397s # const gchar *property_name, 1397s # GVariant *variant, 1397s # GError **error, 1397s # gpointer user_data) 1397s # { 1397s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1397s # GValue value = G_VALUE_INIT; 1397s # GParamSpec *pspec; 1397s # _ExtendedGDBusPropertyInfo *info; 1397s # gboolean ret; 1397s # ret = FALSE; 1397s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1397s # g_assert (info != NULL); 1397s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1397s # if (pspec == NULL) 1397s # { 1397s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1397s # } 1397s # else 1397s # { 1397s # if (info->use_gvariant) 1397s # g_value_set_variant (&value, variant); 1397s # else 1397s # g_dbus_gvariant_to_gvalue (variant, &value); 1397s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1397s # g_value_unset (&value); 1397s # ret = TRUE; 1397s # } 1397s # return ret; 1397s # } 1397s # 1397s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1397s # { 1397s # _org_project_callable_iface_skeleton_handle_method_call, 1397s # _org_project_callable_iface_skeleton_handle_get_property, 1397s # _org_project_callable_iface_skeleton_handle_set_property, 1397s # {NULL} 1397s # }; 1397s # 1397s # static GDBusInterfaceInfo * 1397s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1397s # { 1397s # return org_project_callable_iface_interface_info (); 1397s # } 1397s # 1397s # static GDBusInterfaceVTable * 1397s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1397s # { 1397s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1397s # } 1397s # 1397s # static GVariant * 1397s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1397s # { 1397s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1397s # 1397s # GVariantBuilder builder; 1397s # guint n; 1397s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1397s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1397s # goto out; 1397s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1397s # { 1397s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1397s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1397s # { 1397s # GVariant *value; 1397s # 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); 1397s # if (value != NULL) 1397s # { 1397s # g_variant_take_ref (value); 1397s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1397s # g_variant_unref (value); 1397s # } 1397s # } 1397s # } 1397s # out: 1397s # return g_variant_builder_end (&builder); 1397s # } 1397s # 1397s # static void 1397s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1397s # { 1397s # } 1397s # 1397s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1397s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1397s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1397s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1397s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1397s # 1397s # #else 1397s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1397s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1397s # 1397s # #endif 1397s # static void 1397s # org_project_callable_iface_skeleton_finalize (GObject *object) 1397s # { 1397s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1397s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1397s # if (skeleton->priv->changed_properties_idle_source != NULL) 1397s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1397s # g_main_context_unref (skeleton->priv->context); 1397s # g_mutex_clear (&skeleton->priv->lock); 1397s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1397s # } 1397s # 1397s # static void 1397s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1397s # { 1397s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1397s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1397s # #else 1397s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1397s # #endif 1397s # 1397s # g_mutex_init (&skeleton->priv->lock); 1397s # skeleton->priv->context = g_main_context_ref_thread_default (); 1397s # } 1397s # 1397s # static void 1397s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1397s # { 1397s # GObjectClass *gobject_class; 1397s # GDBusInterfaceSkeletonClass *skeleton_class; 1397s # 1397s # gobject_class = G_OBJECT_CLASS (klass); 1397s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1397s # 1397s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1397s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1397s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1397s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1397s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1397s # 1397s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1397s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1397s # #endif 1397s # } 1397s # 1397s # static void 1397s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1397s # { 1397s # } 1397s # 1397s # /** 1397s # * org_project_callable_iface_skeleton_new: 1397s # * 1397s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1397s # * 1397s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1397s # */ 1397s # OrgProjectCallableIface * 1397s # org_project_callable_iface_skeleton_new (void) 1397s # { 1397s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1397s # } 1397s # 1397s # /* ------------------------------------------------------------------------ 1397s # * Code for interface org.project.OtherCallableIface 1397s # * ------------------------------------------------------------------------ 1397s # */ 1397s # 1397s # /** 1397s # * SECTION:OrgProjectOtherCallableIface 1397s # * @title: OrgProjectOtherCallableIface 1397s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1397s # * 1397s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1397s # */ 1397s # 1397s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1397s # 1397s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1397s # { 1397s # { 1397s # -1, 1397s # (gchar *) "SimpleMethod", 1397s # NULL, 1397s # NULL, 1397s # NULL 1397s # }, 1397s # "handle-simple-method", 1397s # FALSE 1397s # }; 1397s # 1397s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1397s # { 1397s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1397s # NULL 1397s # }; 1397s # 1397s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1397s # { 1397s # { 1397s # -1, 1397s # (gchar *) "org.project.OtherCallableIface", 1397s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1397s # NULL, 1397s # NULL, 1397s # NULL 1397s # }, 1397s # "org-project-other-callable-iface", 1397s # }; 1397s # 1397s # 1397s # /** 1397s # * org_project_other_callable_iface_interface_info: 1397s # * 1397s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1397s # * 1397s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1397s # */ 1397s # GDBusInterfaceInfo * 1397s # org_project_other_callable_iface_interface_info (void) 1397s # { 1397s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1397s # } 1397s # 1397s # /** 1397s # * org_project_other_callable_iface_override_properties: 1397s # * @klass: The class structure for a #GObject derived class. 1397s # * @property_id_begin: The property id to assign to the first overridden property. 1397s # * 1397s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1397s # * The properties are overridden in the order they are defined. 1397s # * 1397s # * Returns: The last property id. 1397s # */ 1397s # guint 1397s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1397s # { 1397s # return property_id_begin - 1; 1397s # } 1397s # 1397s # 1397s # inline static void 1397s # org_project_other_callable_iface_method_marshal_simple_method ( 1397s # GClosure *closure, 1397s # GValue *return_value, 1397s # unsigned int n_param_values, 1397s # const GValue *param_values, 1397s # void *invocation_hint, 1397s # void *marshal_data) 1397s # { 1397s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1397s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1397s # } 1397s # 1397s # 1397s # /** 1397s # * OrgProjectOtherCallableIface: 1397s # * 1397s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1397s # */ 1397s # 1397s # /** 1397s # * OrgProjectOtherCallableIfaceIface: 1397s # * @parent_iface: The parent interface. 1397s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1397s # * 1397s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1397s # */ 1397s # 1397s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1397s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1397s # 1397s # static void 1397s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1397s # { 1397s # /* GObject signals for incoming D-Bus method calls: */ 1397s # /** 1397s # * OrgProjectOtherCallableIface::handle-simple-method: 1397s # * @object: A #OrgProjectOtherCallableIface. 1397s # * @invocation: A #GDBusMethodInvocation. 1397s # * 1397s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1397s # * 1397s # * 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. 1397s # * 1397s # * 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. 1397s # */ 1397s # g_signal_new ("handle-simple-method", 1397s # G_TYPE_FROM_INTERFACE (iface), 1397s # G_SIGNAL_RUN_LAST, 1397s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1397s # g_signal_accumulator_true_handled, 1397s # NULL, 1397s # org_project_other_callable_iface_method_marshal_simple_method, 1397s # G_TYPE_BOOLEAN, 1397s # 1, 1397s # G_TYPE_DBUS_METHOD_INVOCATION); 1397s # 1397s # } 1397s # 1397s # /** 1397s # * org_project_other_callable_iface_call_simple_method: 1397s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1397s # * @cancellable: (nullable): A #GCancellable or %NULL. 1397s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1397s # * @user_data: User data to pass to @callback. 1397s # * 1397s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1397s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1397s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1397s # * 1397s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1397s # */ 1397s # void 1397s # org_project_other_callable_iface_call_simple_method ( 1397s # OrgProjectOtherCallableIface *proxy, 1397s # GCancellable *cancellable, 1397s # GAsyncReadyCallback callback, 1397s # gpointer user_data) 1397s # { 1397s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1397s # "SimpleMethod", 1397s # g_variant_new ("()"), 1397s # G_DBUS_CALL_FLAGS_NONE, 1397s # -1, 1397s # cancellable, 1397s # callback, 1397s # user_data); 1397s # } 1397s # 1397s # /** 1397s # * org_project_other_callable_iface_call_simple_method_finish: 1397s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1397s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1397s # * @error: Return location for error or %NULL. 1397s # * 1397s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1397s # * 1397s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1397s # */ 1397s # gboolean 1397s # org_project_other_callable_iface_call_simple_method_finish ( 1397s # OrgProjectOtherCallableIface *proxy, 1397s # GAsyncResult *res, 1397s # GError **error) 1397s # { 1397s # GVariant *_ret; 1397s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1397s # if (_ret == NULL) 1397s # goto _out; 1397s # g_variant_get (_ret, 1397s # "()"); 1397s # g_variant_unref (_ret); 1397s # _out: 1397s # return _ret != NULL; 1397s # } 1397s # 1397s # /** 1397s # * org_project_other_callable_iface_call_simple_method_sync: 1397s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1397s # * @cancellable: (nullable): A #GCancellable or %NULL. 1397s # * @error: Return location for error or %NULL. 1397s # * 1397s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1397s # * 1397s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1397s # * 1397s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1397s # */ 1397s # gboolean 1397s # org_project_other_callable_iface_call_simple_method_sync ( 1397s # OrgProjectOtherCallableIface *proxy, 1397s # GCancellable *cancellable, 1397s # GError **error) 1397s # { 1397s # GVariant *_ret; 1397s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1397s # "SimpleMethod", 1397s # g_variant_new ("()"), 1397s # G_DBUS_CALL_FLAGS_NONE, 1397s # -1, 1397s # cancellable, 1397s # error); 1397s # if (_ret == NULL) 1397s # goto _out; 1397s # g_variant_get (_ret, 1397s # "()"); 1397s # g_variant_unref (_ret); 1397s # _out: 1397s # return _ret != NULL; 1397s # } 1397s # 1397s # /** 1397s # * org_project_other_callable_iface_complete_simple_method: 1397s # * @object: A #OrgProjectOtherCallableIface. 1397s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1397s # * 1397s # * 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. 1397s # * 1397s # * This method will free @invocation, you cannot use it afterwards. 1397s # */ 1397s # void 1397s # org_project_other_callable_iface_complete_simple_method ( 1397s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1397s # GDBusMethodInvocation *invocation) 1397s # { 1397s # g_dbus_method_invocation_return_value (invocation, 1397s # g_variant_new ("()")); 1397s # } 1397s # 1397s # /* ------------------------------------------------------------------------ */ 1397s # 1397s # /** 1397s # * OrgProjectOtherCallableIfaceProxy: 1397s # * 1397s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1397s # */ 1397s # 1397s # /** 1397s # * OrgProjectOtherCallableIfaceProxyClass: 1397s # * @parent_class: The parent class. 1397s # * 1397s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1397s # */ 1397s # 1397s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1397s # { 1397s # GData *qdata; 1397s # }; 1397s # 1397s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1397s # 1397s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1397s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1397s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1397s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1397s # 1397s # #else 1397s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1397s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1397s # 1397s # #endif 1397s # static void 1397s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1397s # { 1397s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1397s # g_datalist_clear (&proxy->priv->qdata); 1397s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1397s # } 1397s # 1397s # static void 1397s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1397s # guint prop_id G_GNUC_UNUSED, 1397s # GValue *value G_GNUC_UNUSED, 1397s # GParamSpec *pspec G_GNUC_UNUSED) 1397s # { 1397s # } 1397s # 1397s # static void 1397s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1397s # guint prop_id G_GNUC_UNUSED, 1397s # const GValue *value G_GNUC_UNUSED, 1397s # GParamSpec *pspec G_GNUC_UNUSED) 1397s # { 1397s # } 1397s # 1397s # static void 1397s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1397s # const gchar *sender_name G_GNUC_UNUSED, 1397s # const gchar *signal_name, 1397s # GVariant *parameters) 1397s # { 1397s # _ExtendedGDBusSignalInfo *info; 1397s # GVariantIter iter; 1397s # GVariant *child; 1397s # GValue *paramv; 1397s # gsize num_params; 1397s # gsize n; 1397s # guint signal_id; 1397s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1397s # if (info == NULL) 1397s # return; 1397s # num_params = g_variant_n_children (parameters); 1397s # paramv = g_new0 (GValue, num_params + 1); 1397s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1397s # g_value_set_object (¶mv[0], proxy); 1397s # g_variant_iter_init (&iter, parameters); 1397s # n = 1; 1397s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1397s # { 1397s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1397s # if (arg_info->use_gvariant) 1397s # { 1397s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1397s # g_value_set_variant (¶mv[n], child); 1397s # n++; 1397s # } 1397s # else 1397s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1397s # g_variant_unref (child); 1397s # } 1397s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1397s # g_signal_emitv (paramv, signal_id, 0, NULL); 1397s # for (n = 0; n < num_params + 1; n++) 1397s # g_value_unset (¶mv[n]); 1397s # g_free (paramv); 1397s # } 1397s # 1397s # static void 1397s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1397s # GVariant *changed_properties, 1397s # const gchar *const *invalidated_properties) 1397s # { 1397s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1397s # guint n; 1397s # const gchar *key; 1397s # GVariantIter *iter; 1397s # _ExtendedGDBusPropertyInfo *info; 1397s # g_variant_get (changed_properties, "a{sv}", &iter); 1397s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1397s # { 1397s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1397s # g_datalist_remove_data (&proxy->priv->qdata, key); 1397s # if (info != NULL) 1397s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1397s # } 1397s # g_variant_iter_free (iter); 1397s # for (n = 0; invalidated_properties[n] != NULL; n++) 1397s # { 1397s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1397s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1397s # if (info != NULL) 1397s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1397s # } 1397s # } 1397s # 1397s # static void 1397s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1397s # { 1397s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1397s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1397s # #else 1397s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1397s # #endif 1397s # 1397s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1397s # } 1397s # 1397s # static void 1397s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1397s # { 1397s # GObjectClass *gobject_class; 1397s # GDBusProxyClass *proxy_class; 1397s # 1397s # gobject_class = G_OBJECT_CLASS (klass); 1397s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1397s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1397s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1397s # 1397s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1397s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1397s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1397s # 1397s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1397s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1397s # #endif 1397s # } 1397s # 1397s # static void 1397s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1397s # { 1397s # } 1397s # 1397s # /** 1397s # * org_project_other_callable_iface_proxy_new: 1397s # * @connection: A #GDBusConnection. 1397s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1397s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1397s # * @object_path: An object path. 1397s # * @cancellable: (nullable): A #GCancellable or %NULL. 1397s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1397s # * @user_data: User data to pass to @callback. 1397s # * 1397s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1397s # * 1397s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1397s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1397s # * 1397s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1397s # */ 1397s # void 1397s # org_project_other_callable_iface_proxy_new ( 1397s # GDBusConnection *connection, 1397s # GDBusProxyFlags flags, 1397s # const gchar *name, 1397s # const gchar *object_path, 1397s # GCancellable *cancellable, 1397s # GAsyncReadyCallback callback, 1397s # gpointer user_data) 1397s # { 1397s # 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); 1397s # } 1397s # 1397s # /** 1397s # * org_project_other_callable_iface_proxy_new_finish: 1397s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1397s # * @error: Return location for error or %NULL 1397s # * 1397s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1397s # * 1397s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1397s # */ 1397s # OrgProjectOtherCallableIface * 1397s # org_project_other_callable_iface_proxy_new_finish ( 1397s # GAsyncResult *res, 1397s # GError **error) 1397s # { 1397s # GObject *ret; 1397s # GObject *source_object; 1397s # source_object = g_async_result_get_source_object (res); 1397s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1397s # g_object_unref (source_object); 1397s # if (ret != NULL) 1397s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1397s # else 1397s # return NULL; 1397s # } 1397s # 1397s # /** 1397s # * org_project_other_callable_iface_proxy_new_sync: 1397s # * @connection: A #GDBusConnection. 1397s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1397s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1397s # * @object_path: An object path. 1397s # * @cancellable: (nullable): A #GCancellable or %NULL. 1397s # * @error: Return location for error or %NULL 1397s # * 1397s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1397s # * 1397s # * The calling thread is blocked until a reply is received. 1397s # * 1397s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1397s # * 1397s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1397s # */ 1397s # OrgProjectOtherCallableIface * 1397s # org_project_other_callable_iface_proxy_new_sync ( 1397s # GDBusConnection *connection, 1397s # GDBusProxyFlags flags, 1397s # const gchar *name, 1397s # const gchar *object_path, 1397s # GCancellable *cancellable, 1397s # GError **error) 1397s # { 1397s # GInitable *ret; 1397s # 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); 1397s # if (ret != NULL) 1397s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1397s # else 1397s # return NULL; 1397s # } 1397s # 1397s # 1397s # /** 1397s # * org_project_other_callable_iface_proxy_new_for_bus: 1397s # * @bus_type: A #GBusType. 1397s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1397s # * @name: A bus name (well-known or unique). 1397s # * @object_path: An object path. 1397s # * @cancellable: (nullable): A #GCancellable or %NULL. 1397s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1397s # * @user_data: User data to pass to @callback. 1397s # * 1397s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1397s # * 1397s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1397s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1397s # * 1397s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1397s # */ 1397s # void 1397s # org_project_other_callable_iface_proxy_new_for_bus ( 1397s # GBusType bus_type, 1397s # GDBusProxyFlags flags, 1397s # const gchar *name, 1397s # const gchar *object_path, 1397s # GCancellable *cancellable, 1397s # GAsyncReadyCallback callback, 1397s # gpointer user_data) 1397s # { 1397s # 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); 1397s # } 1397s # 1397s # /** 1397s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1397s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1397s # * @error: Return location for error or %NULL 1397s # * 1397s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1397s # * 1397s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1397s # */ 1397s # OrgProjectOtherCallableIface * 1397s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1397s # GAsyncResult *res, 1397s # GError **error) 1397s # { 1397s # GObject *ret; 1397s # GObject *source_object; 1397s # source_object = g_async_result_get_source_object (res); 1397s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1397s # g_object_unref (source_object); 1397s # if (ret != NULL) 1397s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1397s # else 1397s # return NULL; 1397s # } 1397s # 1397s # /** 1397s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1397s # * @bus_type: A #GBusType. 1397s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1397s # * @name: A bus name (well-known or unique). 1397s # * @object_path: An object path. 1397s # * @cancellable: (nullable): A #GCancellable or %NULL. 1397s # * @error: Return location for error or %NULL 1397s # * 1397s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1397s # * 1397s # * The calling thread is blocked until a reply is received. 1397s # * 1397s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1397s # * 1397s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1397s # */ 1397s # OrgProjectOtherCallableIface * 1397s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1397s # GBusType bus_type, 1397s # GDBusProxyFlags flags, 1397s # const gchar *name, 1397s # const gchar *object_path, 1397s # GCancellable *cancellable, 1397s # GError **error) 1397s # { 1397s # GInitable *ret; 1397s # 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); 1397s # if (ret != NULL) 1397s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1397s # else 1397s # return NULL; 1397s # } 1397s # 1397s # 1397s # /* ------------------------------------------------------------------------ */ 1397s # 1397s # /** 1397s # * OrgProjectOtherCallableIfaceSkeleton: 1397s # * 1397s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1397s # */ 1397s # 1397s # /** 1397s # * OrgProjectOtherCallableIfaceSkeletonClass: 1397s # * @parent_class: The parent class. 1397s # * 1397s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1397s # */ 1397s # 1397s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1397s # { 1397s # GValue *properties; 1397s # GList *changed_properties; 1397s # GSource *changed_properties_idle_source; 1397s # GMainContext *context; 1397s # GMutex lock; 1397s # }; 1397s # 1397s # static void 1397s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1397s # GDBusConnection *connection G_GNUC_UNUSED, 1397s # const gchar *sender G_GNUC_UNUSED, 1397s # const gchar *object_path G_GNUC_UNUSED, 1397s # const gchar *interface_name, 1397s # const gchar *method_name, 1397s # GVariant *parameters, 1397s # GDBusMethodInvocation *invocation, 1397s # gpointer user_data) 1397s # { 1397s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1397s # _ExtendedGDBusMethodInfo *info; 1397s # GVariantIter iter; 1397s # GVariant *child; 1397s # GValue *paramv; 1397s # gsize num_params; 1397s # guint num_extra; 1397s # gsize n; 1397s # guint signal_id; 1397s # GValue return_value = G_VALUE_INIT; 1397s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1397s # g_assert (info != NULL); 1397s # num_params = g_variant_n_children (parameters); 1397s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1397s # n = 0; 1397s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1397s # g_value_set_object (¶mv[n++], skeleton); 1397s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1397s # g_value_set_object (¶mv[n++], invocation); 1397s # if (info->pass_fdlist) 1397s # { 1397s # #ifdef G_OS_UNIX 1397s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1397s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1397s # #else 1397s # g_assert_not_reached (); 1397s # #endif 1397s # } 1397s # g_variant_iter_init (&iter, parameters); 1397s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1397s # { 1397s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1397s # if (arg_info->use_gvariant) 1397s # { 1397s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1397s # g_value_set_variant (¶mv[n], child); 1397s # n++; 1397s # } 1397s # else 1397s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1397s # g_variant_unref (child); 1397s # } 1397s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1397s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1397s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1397s # if (!g_value_get_boolean (&return_value)) 1397s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1397s # g_value_unset (&return_value); 1397s # for (n = 0; n < num_params + num_extra; n++) 1397s # g_value_unset (¶mv[n]); 1397s # g_free (paramv); 1397s # } 1397s # 1397s # static GVariant * 1397s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1397s # GDBusConnection *connection G_GNUC_UNUSED, 1397s # const gchar *sender G_GNUC_UNUSED, 1397s # const gchar *object_path G_GNUC_UNUSED, 1397s # const gchar *interface_name G_GNUC_UNUSED, 1397s # const gchar *property_name, 1397s # GError **error, 1397s # gpointer user_data) 1397s # { 1397s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1397s # GValue value = G_VALUE_INIT; 1397s # GParamSpec *pspec; 1397s # _ExtendedGDBusPropertyInfo *info; 1397s # GVariant *ret; 1397s # ret = NULL; 1397s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1397s # g_assert (info != NULL); 1397s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1397s # if (pspec == NULL) 1397s # { 1397s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1397s # } 1397s # else 1397s # { 1397s # g_value_init (&value, pspec->value_type); 1397s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1397s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1397s # g_value_unset (&value); 1397s # } 1397s # return ret; 1397s # } 1397s # 1397s # static gboolean 1397s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1397s # GDBusConnection *connection G_GNUC_UNUSED, 1397s # const gchar *sender G_GNUC_UNUSED, 1397s # const gchar *object_path G_GNUC_UNUSED, 1397s # const gchar *interface_name G_GNUC_UNUSED, 1397s # const gchar *property_name, 1397s # GVariant *variant, 1397s # GError **error, 1397s # gpointer user_data) 1397s # { 1397s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1397s # GValue value = G_VALUE_INIT; 1397s # GParamSpec *pspec; 1397s # _ExtendedGDBusPropertyInfo *info; 1397s # gboolean ret; 1397s # ret = FALSE; 1397s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1397s # g_assert (info != NULL); 1397s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1397s # if (pspec == NULL) 1397s # { 1397s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1397s # } 1397s # else 1397s # { 1397s # if (info->use_gvariant) 1397s # g_value_set_variant (&value, variant); 1397s # else 1397s # g_dbus_gvariant_to_gvalue (variant, &value); 1397s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1397s # g_value_unset (&value); 1397s # ret = TRUE; 1397s # } 1397s # return ret; 1397s # } 1397s # 1397s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1397s # { 1397s # _org_project_other_callable_iface_skeleton_handle_method_call, 1397s # _org_project_other_callable_iface_skeleton_handle_get_property, 1397s # _org_project_other_callable_iface_skeleton_handle_set_property, 1397s # {NULL} 1397s # }; 1397s # 1397s # static GDBusInterfaceInfo * 1397s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1397s # { 1397s # return org_project_other_callable_iface_interface_info (); 1397s # } 1397s # 1397s # static GDBusInterfaceVTable * 1397s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1397s # { 1397s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1397s # } 1397s # 1397s # static GVariant * 1397s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1397s # { 1397s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1397s # 1397s # GVariantBuilder builder; 1397s # guint n; 1397s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1397s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1397s # goto out; 1397s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1397s # { 1397s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1397s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1397s # { 1397s # GVariant *value; 1397s # 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); 1397s # if (value != NULL) 1397s # { 1397s # g_variant_take_ref (value); 1397s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1397s # g_variant_unref (value); 1397s # } 1397s # } 1397s # } 1397s # out: 1397s # return g_variant_builder_end (&builder); 1397s # } 1397s # 1397s # static void 1397s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1397s # { 1397s # } 1397s # 1397s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1397s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1397s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1397s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1397s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1397s # 1397s # #else 1397s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1397s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1397s # 1397s # #endif 1397s # static void 1397s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1397s # { 1397s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1397s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1397s # if (skeleton->priv->changed_properties_idle_source != NULL) 1397s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1397s # g_main_context_unref (skeleton->priv->context); 1397s # g_mutex_clear (&skeleton->priv->lock); 1397s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1397s # } 1397s # 1397s # static void 1397s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1397s # { 1397s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1397s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1397s # #else 1397s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1397s # #endif 1397s # 1397s # g_mutex_init (&skeleton->priv->lock); 1397s # skeleton->priv->context = g_main_context_ref_thread_default (); 1397s # } 1397s # 1397s # static void 1397s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1397s # { 1397s # GObjectClass *gobject_class; 1397s # GDBusInterfaceSkeletonClass *skeleton_class; 1397s # 1397s # gobject_class = G_OBJECT_CLASS (klass); 1397s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1397s # 1397s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1397s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1397s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1397s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1397s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1397s # 1397s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1397s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1397s # #endif 1397s # } 1397s # 1397s # static void 1397s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1397s # { 1397s # } 1397s # 1397s # /** 1397s # * org_project_other_callable_iface_skeleton_new: 1397s # * 1397s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1397s # * 1397s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1397s # */ 1397s # OrgProjectOtherCallableIface * 1397s # org_project_other_callable_iface_skeleton_new (void) 1397s # { 1397s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1397s # } 1398s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1398s # tmpdir: /tmp/tmpj3xk88ss 1398s # codegen: /usr/bin/gdbus-codegen 1398s # /tmp/tmpj3xk88ss/tmp7gqoyea1.xml: 1398s # 1398s # 1398s # 1398s # 1398s # 1398s # 1398s # 1398s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmp7gqoyea1.xml', '--output', '-', '--body'] 1398s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1398s # Output: /* 1398s # * This file is generated by gdbus-codegen, do not modify it. 1398s # * 1398s # * The license of this code is the same as for the D-Bus interface description 1398s # * it was derived from. Note that it links to GLib, so must comply with the 1398s # * LGPL linking clauses. 1398s # */ 1398s # 1398s # #ifdef HAVE_CONFIG_H 1398s # # include "config.h" 1398s # #endif 1398s # 1398s # #include 1398s # #ifdef G_OS_UNIX 1398s # # include 1398s # #endif 1398s # 1398s # #ifdef G_ENABLE_DEBUG 1398s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1398s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1398s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1398s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1398s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1398s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1398s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1398s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1398s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1398s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1398s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1398s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1398s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1398s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1398s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1398s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1398s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1398s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1398s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1398s # #else /* !G_ENABLE_DEBUG */ 1398s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1398s # * Do not access GValues directly in your code. Instead, use the 1398s # * g_value_get_*() functions 1398s # */ 1398s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1398s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1398s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1398s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1398s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1398s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1398s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1398s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1398s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1398s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1398s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1398s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1398s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1398s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1398s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1398s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1398s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1398s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1398s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1398s # #endif /* !G_ENABLE_DEBUG */ 1398s # 1398s # typedef struct 1398s # { 1398s # GDBusArgInfo parent_struct; 1398s # gboolean use_gvariant; 1398s # } _ExtendedGDBusArgInfo; 1398s # 1398s # typedef struct 1398s # { 1398s # GDBusMethodInfo parent_struct; 1398s # const gchar *signal_name; 1398s # gboolean pass_fdlist; 1398s # } _ExtendedGDBusMethodInfo; 1398s # 1398s # typedef struct 1398s # { 1398s # GDBusSignalInfo parent_struct; 1398s # const gchar *signal_name; 1398s # } _ExtendedGDBusSignalInfo; 1398s # 1398s # typedef struct 1398s # { 1398s # GDBusPropertyInfo parent_struct; 1398s # const gchar *hyphen_name; 1398s # guint use_gvariant : 1; 1398s # guint emits_changed_signal : 1; 1398s # } _ExtendedGDBusPropertyInfo; 1398s # 1398s # typedef struct 1398s # { 1398s # GDBusInterfaceInfo parent_struct; 1398s # const gchar *hyphen_name; 1398s # } _ExtendedGDBusInterfaceInfo; 1398s # 1398s # typedef struct 1398s # { 1398s # const _ExtendedGDBusPropertyInfo *info; 1398s # guint prop_id; 1398s # GValue orig_value; /* the value before the change */ 1398s # } ChangedProperty; 1398s # 1398s # static void 1398s # _changed_property_free (ChangedProperty *data) 1398s # { 1398s # g_value_unset (&data->orig_value); 1398s # g_free (data); 1398s # } 1398s # 1398s # static gboolean 1398s # _g_strv_equal0 (gchar **a, gchar **b) 1398s # { 1398s # gboolean ret = FALSE; 1398s # guint n; 1398s # if (a == NULL && b == NULL) 1398s # { 1398s # ret = TRUE; 1398s # goto out; 1398s # } 1398s # if (a == NULL || b == NULL) 1398s # goto out; 1398s # if (g_strv_length (a) != g_strv_length (b)) 1398s # goto out; 1398s # for (n = 0; a[n] != NULL; n++) 1398s # if (g_strcmp0 (a[n], b[n]) != 0) 1398s # goto out; 1398s # ret = TRUE; 1398s # out: 1398s # return ret; 1398s # } 1398s # 1398s # static gboolean 1398s # _g_variant_equal0 (GVariant *a, GVariant *b) 1398s # { 1398s # gboolean ret = FALSE; 1398s # if (a == NULL && b == NULL) 1398s # { 1398s # ret = TRUE; 1398s # goto out; 1398s # } 1398s # if (a == NULL || b == NULL) 1398s # goto out; 1398s # ret = g_variant_equal (a, b); 1398s # out: 1398s # return ret; 1398s # } 1398s # 1398s # G_GNUC_UNUSED static gboolean 1398s # _g_value_equal (const GValue *a, const GValue *b) 1398s # { 1398s # gboolean ret = FALSE; 1398s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1398s # switch (G_VALUE_TYPE (a)) 1398s # { 1398s # case G_TYPE_BOOLEAN: 1398s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1398s # break; 1398s # case G_TYPE_UCHAR: 1398s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1398s # break; 1398s # case G_TYPE_INT: 1398s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1398s # break; 1398s # case G_TYPE_UINT: 1398s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1398s # break; 1398s # case G_TYPE_INT64: 1398s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1398s # break; 1398s # case G_TYPE_UINT64: 1398s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1398s # break; 1398s # case G_TYPE_DOUBLE: 1398s # { 1398s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1398s # gdouble da = g_value_get_double (a); 1398s # gdouble db = g_value_get_double (b); 1398s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1398s # } 1398s # break; 1398s # case G_TYPE_STRING: 1398s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1398s # break; 1398s # case G_TYPE_VARIANT: 1398s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1398s # break; 1398s # default: 1398s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1398s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1398s # else 1398s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1398s # break; 1398s # } 1398s # return ret; 1398s # } 1398s # 1398s # static void 1398s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1398s # GClosure *closure, 1398s # GValue *return_value, 1398s # unsigned int n_param_values, 1398s # const GValue *param_values, 1398s # void *invocation_hint G_GNUC_UNUSED, 1398s # void *marshal_data) 1398s # { 1398s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1398s # (void *data1, 1398s # GDBusMethodInvocation *arg_method_invocation, 1398s # gboolean arg_arg_b, 1398s # void *data2); 1398s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1398s # GCClosure *cc = (GCClosure*) closure; 1398s # void *data1, *data2; 1398s # gboolean v_return; 1398s # 1398s # g_return_if_fail (return_value != NULL); 1398s # g_return_if_fail (n_param_values == 3); 1398s # 1398s # if (G_CCLOSURE_SWAP_DATA (closure)) 1398s # { 1398s # data1 = closure->data; 1398s # data2 = g_value_peek_pointer (param_values + 0); 1398s # } 1398s # else 1398s # { 1398s # data1 = g_value_peek_pointer (param_values + 0); 1398s # data2 = closure->data; 1398s # } 1398s # 1398s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1398s # (marshal_data ? marshal_data : cc->callback); 1398s # 1398s # v_return = 1398s # callback (data1, 1398s # g_marshal_value_peek_object (param_values + 1), 1398s # g_marshal_value_peek_boolean (param_values + 2), 1398s # data2); 1398s # 1398s # g_value_set_boolean (return_value, v_return); 1398s # } 1398s # 1398s # /* ------------------------------------------------------------------------ 1398s # * Code for interface org.project.UsefulInterface 1398s # * ------------------------------------------------------------------------ 1398s # */ 1398s # 1398s # /** 1398s # * SECTION:OrgProjectUsefulInterface 1398s # * @title: OrgProjectUsefulInterface 1398s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1398s # * 1398s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1398s # */ 1398s # 1398s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1398s # 1398s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1398s # { 1398s # { 1398s # -1, 1398s # (gchar *) "arg_b", 1398s # (gchar *) "b", 1398s # NULL 1398s # }, 1398s # FALSE 1398s # }; 1398s # 1398s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1398s # { 1398s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1398s # NULL 1398s # }; 1398s # 1398s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1398s # { 1398s # { 1398s # -1, 1398s # (gchar *) "SingleArgMethodB", 1398s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1398s # NULL, 1398s # NULL 1398s # }, 1398s # "handle-single-arg-method-b", 1398s # FALSE 1398s # }; 1398s # 1398s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1398s # { 1398s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1398s # NULL 1398s # }; 1398s # 1398s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1398s # { 1398s # { 1398s # -1, 1398s # (gchar *) "org.project.UsefulInterface", 1398s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1398s # NULL, 1398s # NULL, 1398s # NULL 1398s # }, 1398s # "org-project-useful-interface", 1398s # }; 1398s # 1398s # 1398s # /** 1398s # * org_project_useful_interface_interface_info: 1398s # * 1398s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1398s # * 1398s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1398s # */ 1398s # GDBusInterfaceInfo * 1398s # org_project_useful_interface_interface_info (void) 1398s # { 1398s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1398s # } 1398s # 1398s # /** 1398s # * org_project_useful_interface_override_properties: 1398s # * @klass: The class structure for a #GObject derived class. 1398s # * @property_id_begin: The property id to assign to the first overridden property. 1398s # * 1398s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1398s # * The properties are overridden in the order they are defined. 1398s # * 1398s # * Returns: The last property id. 1398s # */ 1398s # guint 1398s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1398s # { 1398s # return property_id_begin - 1; 1398s # } 1398s # 1398s # 1398s # inline static void 1398s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1398s # GClosure *closure, 1398s # GValue *return_value, 1398s # unsigned int n_param_values, 1398s # const GValue *param_values, 1398s # void *invocation_hint, 1398s # void *marshal_data) 1398s # { 1398s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1398s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1398s # } 1398s # 1398s # 1398s # /** 1398s # * OrgProjectUsefulInterface: 1398s # * 1398s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1398s # */ 1398s # 1398s # /** 1398s # * OrgProjectUsefulInterfaceIface: 1398s # * @parent_iface: The parent interface. 1398s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1398s # * 1398s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1398s # */ 1398s # 1398s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1398s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1398s # 1398s # static void 1398s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1398s # { 1398s # /* GObject signals for incoming D-Bus method calls: */ 1398s # /** 1398s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1398s # * @object: A #OrgProjectUsefulInterface. 1398s # * @invocation: A #GDBusMethodInvocation. 1398s # * @arg_arg_b: Argument passed by remote caller. 1398s # * 1398s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1398s # * 1398s # * 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. 1398s # * 1398s # * 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. 1398s # */ 1398s # g_signal_new ("handle-single-arg-method-b", 1398s # G_TYPE_FROM_INTERFACE (iface), 1398s # G_SIGNAL_RUN_LAST, 1398s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1398s # g_signal_accumulator_true_handled, 1398s # NULL, 1398s # org_project_useful_interface_method_marshal_single_arg_method_b, 1398s # G_TYPE_BOOLEAN, 1398s # 2, 1398s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1398s # 1398s # } 1398s # 1398s # /** 1398s # * org_project_useful_interface_call_single_arg_method_b: 1398s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1398s # * @arg_arg_b: Argument to pass with the method invocation. 1398s # * @cancellable: (nullable): A #GCancellable or %NULL. 1398s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1398s # * @user_data: User data to pass to @callback. 1398s # * 1398s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1398s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1398s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1398s # * 1398s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1398s # */ 1398s # void 1398s # org_project_useful_interface_call_single_arg_method_b ( 1398s # OrgProjectUsefulInterface *proxy, 1398s # gboolean arg_arg_b, 1398s # GCancellable *cancellable, 1398s # GAsyncReadyCallback callback, 1398s # gpointer user_data) 1398s # { 1398s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1398s # "SingleArgMethodB", 1398s # g_variant_new ("(b)", 1398s # arg_arg_b), 1398s # G_DBUS_CALL_FLAGS_NONE, 1398s # -1, 1398s # cancellable, 1398s # callback, 1398s # user_data); 1398s # } 1398s # 1398s # /** 1398s # * org_project_useful_interface_call_single_arg_method_b_finish: 1398s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1398s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1398s # * @error: Return location for error or %NULL. 1398s # * 1398s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1398s # * 1398s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1398s # */ 1398s # gboolean 1398s # org_project_useful_interface_call_single_arg_method_b_finish ( 1398s # OrgProjectUsefulInterface *proxy, 1398s # GAsyncResult *res, 1398s # GError **error) 1398s # { 1398s # GVariant *_ret; 1398s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1398s # if (_ret == NULL) 1398s # goto _out; 1398s # g_variant_get (_ret, 1398s # "()"); 1398s # g_variant_unref (_ret); 1398s # _out: 1398s # return _ret != NULL; 1398s # } 1398s # 1398s # /** 1398s # * org_project_useful_interface_call_single_arg_method_b_sync: 1398s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1398s # * @arg_arg_b: Argument to pass with the method invocation. 1398s # * @cancellable: (nullable): A #GCancellable or %NULL. 1398s # * @error: Return location for error or %NULL. 1398s # * 1398s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1398s # * 1398s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1398s # * 1398s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1398s # */ 1398s # gboolean 1398s # org_project_useful_interface_call_single_arg_method_b_sync ( 1398s # OrgProjectUsefulInterface *proxy, 1398s # gboolean arg_arg_b, 1398s # GCancellable *cancellable, 1398s # GError **error) 1398s # { 1398s # GVariant *_ret; 1398s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1398s # "SingleArgMethodB", 1398s # g_variant_new ("(b)", 1398s # arg_arg_b), 1398s # G_DBUS_CALL_FLAGS_NONE, 1398s # -1, 1398s # cancellable, 1398s # error); 1398s # if (_ret == NULL) 1398s # goto _out; 1398s # g_variant_get (_ret, 1398s # "()"); 1398s # g_variant_unref (_ret); 1398s # _out: 1398s # return _ret != NULL; 1398s # } 1398s # 1398s # /** 1398s # * org_project_useful_interface_complete_single_arg_method_b: 1398s # * @object: A #OrgProjectUsefulInterface. 1398s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1398s # * 1398s # * 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. 1398s # * 1398s # * This method will free @invocation, you cannot use it afterwards. 1398s # */ 1398s # void 1398s # org_project_useful_interface_complete_single_arg_method_b ( 1398s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1398s # GDBusMethodInvocation *invocation) 1398s # { 1398s # g_dbus_method_invocation_return_value (invocation, 1398s # g_variant_new ("()")); 1398s # } 1398s # 1398s # /* ------------------------------------------------------------------------ */ 1398s # 1398s # /** 1398s # * OrgProjectUsefulInterfaceProxy: 1398s # * 1398s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1398s # */ 1398s # 1398s # /** 1398s # * OrgProjectUsefulInterfaceProxyClass: 1398s # * @parent_class: The parent class. 1398s # * 1398s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1398s # */ 1398s # 1398s # struct _OrgProjectUsefulInterfaceProxyPrivate 1398s # { 1398s # GData *qdata; 1398s # }; 1398s # 1398s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1398s # 1398s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1398s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1398s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1398s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1398s # 1398s # #else 1398s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1398s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1398s # 1398s # #endif 1398s # static void 1398s # org_project_useful_interface_proxy_finalize (GObject *object) 1398s # { 1398s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1398s # g_datalist_clear (&proxy->priv->qdata); 1398s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1398s # } 1398s # 1398s # static void 1398s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1398s # guint prop_id G_GNUC_UNUSED, 1398s # GValue *value G_GNUC_UNUSED, 1398s # GParamSpec *pspec G_GNUC_UNUSED) 1398s # { 1398s # } 1398s # 1398s # static void 1398s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1398s # guint prop_id G_GNUC_UNUSED, 1398s # const GValue *value G_GNUC_UNUSED, 1398s # GParamSpec *pspec G_GNUC_UNUSED) 1398s # { 1398s # } 1398s # 1398s # static void 1398s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1398s # const gchar *sender_name G_GNUC_UNUSED, 1398s # const gchar *signal_name, 1398s # GVariant *parameters) 1398s # { 1398s # _ExtendedGDBusSignalInfo *info; 1398s # GVariantIter iter; 1398s # GVariant *child; 1398s # GValue *paramv; 1398s # gsize num_params; 1398s # gsize n; 1398s # guint signal_id; 1398s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1398s # if (info == NULL) 1398s # return; 1398s # num_params = g_variant_n_children (parameters); 1398s # paramv = g_new0 (GValue, num_params + 1); 1398s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1398s # g_value_set_object (¶mv[0], proxy); 1398s # g_variant_iter_init (&iter, parameters); 1398s # n = 1; 1398s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1398s # { 1398s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1398s # if (arg_info->use_gvariant) 1398s # { 1398s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1398s # g_value_set_variant (¶mv[n], child); 1398s # n++; 1398s # } 1398s # else 1398s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1398s # g_variant_unref (child); 1398s # } 1398s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1398s # g_signal_emitv (paramv, signal_id, 0, NULL); 1398s # for (n = 0; n < num_params + 1; n++) 1398s # g_value_unset (¶mv[n]); 1398s # g_free (paramv); 1398s # } 1398s # 1398s # static void 1398s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1398s # GVariant *changed_properties, 1398s # const gchar *const *invalidated_properties) 1398s # { 1398s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1398s # guint n; 1398s # const gchar *key; 1398s # GVariantIter *iter; 1398s # _ExtendedGDBusPropertyInfo *info; 1398s # g_variant_get (changed_properties, "a{sv}", &iter); 1398s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1398s # { 1398s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1398s # g_datalist_remove_data (&proxy->priv->qdata, key); 1398s # if (info != NULL) 1398s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1398s # } 1398s # g_variant_iter_free (iter); 1398s # for (n = 0; invalidated_properties[n] != NULL; n++) 1398s # { 1398s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1398s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1398s # if (info != NULL) 1398s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1398s # } 1398s # } 1398s # 1398s # static void 1398s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1398s # { 1398s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1398s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1398s # #else 1398s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1398s # #endif 1398s # 1398s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1398s # } 1398s # 1398s # static void 1398s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1398s # { 1398s # GObjectClass *gobject_class; 1398s # GDBusProxyClass *proxy_class; 1398s # 1398s # gobject_class = G_OBJECT_CLASS (klass); 1398s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1398s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1398s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1398s # 1398s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1398s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1398s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1398s # 1398s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1398s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1398s # #endif 1398s # } 1398s # 1398s # static void 1398s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1398s # { 1398s # } 1398s # 1398s # /** 1398s # * org_project_useful_interface_proxy_new: 1398s # * @connection: A #GDBusConnection. 1398s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1398s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1398s # * @object_path: An object path. 1398s # * @cancellable: (nullable): A #GCancellable or %NULL. 1398s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1398s # * @user_data: User data to pass to @callback. 1398s # * 1398s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1398s # * 1398s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1398s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1398s # * 1398s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1398s # */ 1398s # void 1398s # org_project_useful_interface_proxy_new ( 1398s # GDBusConnection *connection, 1398s # GDBusProxyFlags flags, 1398s # const gchar *name, 1398s # const gchar *object_path, 1398s # GCancellable *cancellable, 1398s # GAsyncReadyCallback callback, 1398s # gpointer user_data) 1398s # { 1398s # g_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); 1398s # } 1398s # 1398s # /** 1398s # * org_project_useful_interface_proxy_new_finish: 1398s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1398s # * @error: Return location for error or %NULL 1398s # * 1398s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1398s # * 1398s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1398s # */ 1398s # OrgProjectUsefulInterface * 1398s # org_project_useful_interface_proxy_new_finish ( 1398s # GAsyncResult *res, 1398s # GError **error) 1398s # { 1398s # GObject *ret; 1398s # GObject *source_object; 1398s # source_object = g_async_result_get_source_object (res); 1398s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1398s # g_object_unref (source_object); 1398s # if (ret != NULL) 1398s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1398s # else 1398s # return NULL; 1398s # } 1398s # 1398s # /** 1398s # * org_project_useful_interface_proxy_new_sync: 1398s # * @connection: A #GDBusConnection. 1398s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1398s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1398s # * @object_path: An object path. 1398s # * @cancellable: (nullable): A #GCancellable or %NULL. 1398s # * @error: Return location for error or %NULL 1398s # * 1398s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1398s # * 1398s # * The calling thread is blocked until a reply is received. 1398s # * 1398s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1398s # * 1398s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1398s # */ 1398s # OrgProjectUsefulInterface * 1398s # org_project_useful_interface_proxy_new_sync ( 1398s # GDBusConnection *connection, 1398s # GDBusProxyFlags flags, 1398s # const gchar *name, 1398s # const gchar *object_path, 1398s # GCancellable *cancellable, 1398s # GError **error) 1398s # { 1398s # GInitable *ret; 1398s # 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); 1398s # if (ret != NULL) 1398s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1398s # else 1398s # return NULL; 1398s # } 1398s # 1398s # 1398s # /** 1398s # * org_project_useful_interface_proxy_new_for_bus: 1398s # * @bus_type: A #GBusType. 1398s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1398s # * @name: A bus name (well-known or unique). 1398s # * @object_path: An object path. 1398s # * @cancellable: (nullable): A #GCancellable or %NULL. 1398s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1398s # * @user_data: User data to pass to @callback. 1398s # * 1398s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1398s # * 1398s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1398s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1398s # * 1398s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1398s # */ 1398s # void 1398s # org_project_useful_interface_proxy_new_for_bus ( 1398s # GBusType bus_type, 1398s # GDBusProxyFlags flags, 1398s # const gchar *name, 1398s # const gchar *object_path, 1398s # GCancellable *cancellable, 1398s # GAsyncReadyCallback callback, 1398s # gpointer user_data) 1398s # { 1398s # g_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); 1398s # } 1398s # 1398s # /** 1398s # * org_project_useful_interface_proxy_new_for_bus_finish: 1398s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1398s # * @error: Return location for error or %NULL 1398s # * 1398s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1398s # * 1398s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1398s # */ 1398s # OrgProjectUsefulInterface * 1398s # org_project_useful_interface_proxy_new_for_bus_finish ( 1398s # GAsyncResult *res, 1398s # GError **error) 1398s # { 1398s # GObject *ret; 1398s # GObject *source_object; 1398s # source_object = g_async_result_get_source_object (res); 1398s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1398s # g_object_unref (source_object); 1398s # if (ret != NULL) 1398s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1398s # else 1398s # return NULL; 1398s # } 1398s # 1398s # /** 1398s # * org_project_useful_interface_proxy_new_for_bus_sync: 1398s # * @bus_type: A #GBusType. 1398s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1398s # * @name: A bus name (well-known or unique). 1398s # * @object_path: An object path. 1398s # * @cancellable: (nullable): A #GCancellable or %NULL. 1398s # * @error: Return location for error or %NULL 1398s # * 1398s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmpnr3ukvi8.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmpnr3ukvi8.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # guchar arg_arg_y, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_uchar (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_y", 1399s # (gchar *) "y", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodY", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-y", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_y: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-y", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_y, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_y: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_y: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_y ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # guchar arg_arg_y, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodY", 1399s # g_variant_new ("(y)", 1399s # arg_arg_y), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_y_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_y_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_y_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_y: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_y_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # guchar arg_arg_y, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodY", 1399s # g_variant_new ("(y)", 1399s # arg_arg_y), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_y: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_y ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmpfsnat41d.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmpfsnat41d.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # gint16 arg_arg_n, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_int (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_n", 1399s # (gchar *) "n", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodN", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-n", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_n: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-n", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_n, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_n: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_n: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_n ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # gint16 arg_arg_n, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodN", 1399s # g_variant_new ("(n)", 1399s # arg_arg_n), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_n_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_n_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_n_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_n: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_n_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # gint16 arg_arg_n, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodN", 1399s # g_variant_new ("(n)", 1399s # arg_arg_n), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_n: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_n ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmpxkdgc6ii.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmpxkdgc6ii.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # guint16 arg_arg_q, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_uint (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_q", 1399s # (gchar *) "q", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodQ", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-q", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_q: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-q", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_q, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_q: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_q: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_q ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # guint16 arg_arg_q, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodQ", 1399s # g_variant_new ("(q)", 1399s # arg_arg_q), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_q_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_q_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_q_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_q: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_q_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # guint16 arg_arg_q, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodQ", 1399s # g_variant_new ("(q)", 1399s # arg_arg_q), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_q: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_q ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmp9l9ypk0w.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmp9l9ypk0w.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # gint arg_arg_i, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_int (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_i", 1399s # (gchar *) "i", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodI", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-i", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_i: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-i", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_i, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_i: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_i: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_i ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # gint arg_arg_i, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodI", 1399s # g_variant_new ("(i)", 1399s # arg_arg_i), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_i_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_i_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_i_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_i: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_i_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # gint arg_arg_i, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodI", 1399s # g_variant_new ("(i)", 1399s # arg_arg_i), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_i: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_i ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmp60eejs3w.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmp60eejs3w.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # guint arg_arg_u, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_uint (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_u", 1399s # (gchar *) "u", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodU", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-u", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_u: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-u", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_u, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_u: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_u: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_u ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # guint arg_arg_u, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodU", 1399s # g_variant_new ("(u)", 1399s # arg_arg_u), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_u_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_u_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_u_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_u: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_u_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # guint arg_arg_u, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodU", 1399s # g_variant_new ("(u)", 1399s # arg_arg_u), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_u: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_u ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmp4kf_p9pk.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmp4kf_p9pk.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # gint64 arg_arg_x, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_int64 (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_x", 1399s # (gchar *) "x", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodX", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-x", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_x: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-x", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_x, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_x: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_x: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_x ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # gint64 arg_arg_x, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodX", 1399s # g_variant_new ("(x)", 1399s # arg_arg_x), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_x_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_x_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_x_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_x: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_x_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # gint64 arg_arg_x, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodX", 1399s # g_variant_new ("(x)", 1399s # arg_arg_x), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_x: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_x ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmpda9f65nk.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmpda9f65nk.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # guint64 arg_arg_t, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_uint64 (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_t", 1399s # (gchar *) "t", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodT", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-t", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_t: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-t", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_t, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_t: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_t: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_t ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # guint64 arg_arg_t, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodT", 1399s # g_variant_new ("(t)", 1399s # arg_arg_t), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_t_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_t_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_t_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_t: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_t_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # guint64 arg_arg_t, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodT", 1399s # g_variant_new ("(t)", 1399s # arg_arg_t), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_t: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_t ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmp6xbz1v26.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmp6xbz1v26.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # gdouble arg_arg_d, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_double (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_d", 1399s # (gchar *) "d", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodD", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-d", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_d: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-d", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_d, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_d: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_d: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_d ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # gdouble arg_arg_d, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodD", 1399s # g_variant_new ("(d)", 1399s # arg_arg_d), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_d_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_d_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_d_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_d: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_d_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # gdouble arg_arg_d, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodD", 1399s # g_variant_new ("(d)", 1399s # arg_arg_d), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_d: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_d ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmpq20xc5r3.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmpq20xc5r3.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # const gchar *arg_arg_s, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_string (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_s", 1399s # (gchar *) "s", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodS", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-s", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_s: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-s", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_s, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_s: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_s: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_s ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # const gchar *arg_arg_s, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodS", 1399s # g_variant_new ("(s)", 1399s # arg_arg_s), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_s_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_s_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_s_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_s: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_s_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # const gchar *arg_arg_s, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodS", 1399s # g_variant_new ("(s)", 1399s # arg_arg_s), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_s: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_s ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmpo2504304.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmpo2504304.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # const gchar *arg_arg_o, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_string (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_o", 1399s # (gchar *) "o", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodO", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-o", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_o: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-o", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_o, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_o: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_o: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_o ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # const gchar *arg_arg_o, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodO", 1399s # g_variant_new ("(o)", 1399s # arg_arg_o), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_o_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_o_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_o_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_o: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_o_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # const gchar *arg_arg_o, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodO", 1399s # g_variant_new ("(o)", 1399s # arg_arg_o), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_o: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_o ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmp07a1b2v0.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmp07a1b2v0.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # const gchar *arg_arg_g, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_string (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_g", 1399s # (gchar *) "g", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodG", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-g", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_g: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-g", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_g, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_g: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_g: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_g ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # const gchar *arg_arg_g, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodG", 1399s # g_variant_new ("(g)", 1399s # arg_arg_g), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_g_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_g_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_g_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_g: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_g_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # const gchar *arg_arg_g, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodG", 1399s # g_variant_new ("(g)", 1399s # arg_arg_g), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_g: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_g ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmpirqxoik4.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmpirqxoik4.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # GVariant *arg_arg_h, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_variant (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_h", 1399s # (gchar *) "h", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodH", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-h", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_h: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-h", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_h, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_h: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_h: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_h ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GVariant *arg_arg_h, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodH", 1399s # g_variant_new ("(@h)", 1399s # arg_arg_h), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_h_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_h_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_h_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_h: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_h_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GVariant *arg_arg_h, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodH", 1399s # g_variant_new ("(@h)", 1399s # arg_arg_h), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_h: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_h ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmpu4v3us8b.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmpu4v3us8b.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # const gchar *arg_arg_ay, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_string (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_ay", 1399s # (gchar *) "ay", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodAy", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-ay", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_ay: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-ay", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_ay: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_ay: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_ay ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # const gchar *arg_arg_ay, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodAy", 1399s # g_variant_new ("(^ay)", 1399s # arg_arg_ay), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_ay: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # const gchar *arg_arg_ay, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodAy", 1399s # g_variant_new ("(^ay)", 1399s # arg_arg_ay), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_ay: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_ay ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmpro9n4qj6.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmpro9n4qj6.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # const gchar *const *arg_arg_as, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_boxed (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_as", 1399s # (gchar *) "as", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodAs", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-as", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_as: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-as", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_as, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_as: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_as: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_as ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # const gchar *const *arg_arg_as, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodAs", 1399s # g_variant_new ("(^as)", 1399s # arg_arg_as), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_as_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_as_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_as_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_as: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_as_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # const gchar *const *arg_arg_as, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodAs", 1399s # g_variant_new ("(^as)", 1399s # arg_arg_as), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_as: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_as ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmp6jwk5nur.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmp6jwk5nur.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # const gchar *const *arg_arg_ao, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_boxed (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_ao", 1399s # (gchar *) "ao", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodAo", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-ao", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_ao: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-ao", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_ao: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_ao: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_ao ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # const gchar *const *arg_arg_ao, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodAo", 1399s # g_variant_new ("(^ao)", 1399s # arg_arg_ao), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_ao: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # const gchar *const *arg_arg_ao, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodAo", 1399s # g_variant_new ("(^ao)", 1399s # arg_arg_ao), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_ao: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_ao ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmp7qdtp5eh.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmp7qdtp5eh.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # const gchar *const *arg_arg_aay, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_boxed (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_aay", 1399s # (gchar *) "aay", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodAay", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-aay", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_aay: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-aay", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_aay: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_aay: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_aay ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # const gchar *const *arg_arg_aay, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodAay", 1399s # g_variant_new ("(^aay)", 1399s # arg_arg_aay), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_aay: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # const gchar *const *arg_arg_aay, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodAay", 1399s # g_variant_new ("(^aay)", 1399s # arg_arg_aay), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_aay: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_aay ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # /tmp/tmpj3xk88ss/tmpcouc3r_2.xml: 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # 1399s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3xk88ss/tmpcouc3r_2.xml', '--output', '-', '--body'] 1399s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1399s # Output: /* 1399s # * This file is generated by gdbus-codegen, do not modify it. 1399s # * 1399s # * The license of this code is the same as for the D-Bus interface description 1399s # * it was derived from. Note that it links to GLib, so must comply with the 1399s # * LGPL linking clauses. 1399s # */ 1399s # 1399s # #ifdef HAVE_CONFIG_H 1399s # # include "config.h" 1399s # #endif 1399s # 1399s # #include 1399s # #ifdef G_OS_UNIX 1399s # # include 1399s # #endif 1399s # 1399s # #ifdef G_ENABLE_DEBUG 1399s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1399s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1399s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1399s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1399s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1399s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1399s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1399s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1399s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1399s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1399s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1399s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1399s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1399s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1399s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1399s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1399s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1399s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1399s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1399s # #else /* !G_ENABLE_DEBUG */ 1399s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1399s # * Do not access GValues directly in your code. Instead, use the 1399s # * g_value_get_*() functions 1399s # */ 1399s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1399s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1399s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1399s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1399s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1399s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1399s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1399s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1399s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1399s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1399s # #endif /* !G_ENABLE_DEBUG */ 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusArgInfo parent_struct; 1399s # gboolean use_gvariant; 1399s # } _ExtendedGDBusArgInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusMethodInfo parent_struct; 1399s # const gchar *signal_name; 1399s # gboolean pass_fdlist; 1399s # } _ExtendedGDBusMethodInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusSignalInfo parent_struct; 1399s # const gchar *signal_name; 1399s # } _ExtendedGDBusSignalInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusPropertyInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # guint use_gvariant : 1; 1399s # guint emits_changed_signal : 1; 1399s # } _ExtendedGDBusPropertyInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # GDBusInterfaceInfo parent_struct; 1399s # const gchar *hyphen_name; 1399s # } _ExtendedGDBusInterfaceInfo; 1399s # 1399s # typedef struct 1399s # { 1399s # const _ExtendedGDBusPropertyInfo *info; 1399s # guint prop_id; 1399s # GValue orig_value; /* the value before the change */ 1399s # } ChangedProperty; 1399s # 1399s # static void 1399s # _changed_property_free (ChangedProperty *data) 1399s # { 1399s # g_value_unset (&data->orig_value); 1399s # g_free (data); 1399s # } 1399s # 1399s # static gboolean 1399s # _g_strv_equal0 (gchar **a, gchar **b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # guint n; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # if (g_strv_length (a) != g_strv_length (b)) 1399s # goto out; 1399s # for (n = 0; a[n] != NULL; n++) 1399s # if (g_strcmp0 (a[n], b[n]) != 0) 1399s # goto out; 1399s # ret = TRUE; 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _g_variant_equal0 (GVariant *a, GVariant *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # if (a == NULL && b == NULL) 1399s # { 1399s # ret = TRUE; 1399s # goto out; 1399s # } 1399s # if (a == NULL || b == NULL) 1399s # goto out; 1399s # ret = g_variant_equal (a, b); 1399s # out: 1399s # return ret; 1399s # } 1399s # 1399s # G_GNUC_UNUSED static gboolean 1399s # _g_value_equal (const GValue *a, const GValue *b) 1399s # { 1399s # gboolean ret = FALSE; 1399s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1399s # switch (G_VALUE_TYPE (a)) 1399s # { 1399s # case G_TYPE_BOOLEAN: 1399s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1399s # break; 1399s # case G_TYPE_UCHAR: 1399s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1399s # break; 1399s # case G_TYPE_INT: 1399s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1399s # break; 1399s # case G_TYPE_UINT: 1399s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1399s # break; 1399s # case G_TYPE_INT64: 1399s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1399s # break; 1399s # case G_TYPE_UINT64: 1399s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1399s # break; 1399s # case G_TYPE_DOUBLE: 1399s # { 1399s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1399s # gdouble da = g_value_get_double (a); 1399s # gdouble db = g_value_get_double (b); 1399s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1399s # } 1399s # break; 1399s # case G_TYPE_STRING: 1399s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1399s # break; 1399s # case G_TYPE_VARIANT: 1399s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1399s # break; 1399s # default: 1399s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1399s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1399s # else 1399s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1399s # break; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static void 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint G_GNUC_UNUSED, 1399s # void *marshal_data) 1399s # { 1399s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1399s # (void *data1, 1399s # GDBusMethodInvocation *arg_method_invocation, 1399s # GVariant *arg_arg_asv, 1399s # void *data2); 1399s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1399s # GCClosure *cc = (GCClosure*) closure; 1399s # void *data1, *data2; 1399s # gboolean v_return; 1399s # 1399s # g_return_if_fail (return_value != NULL); 1399s # g_return_if_fail (n_param_values == 3); 1399s # 1399s # if (G_CCLOSURE_SWAP_DATA (closure)) 1399s # { 1399s # data1 = closure->data; 1399s # data2 = g_value_peek_pointer (param_values + 0); 1399s # } 1399s # else 1399s # { 1399s # data1 = g_value_peek_pointer (param_values + 0); 1399s # data2 = closure->data; 1399s # } 1399s # 1399s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1399s # (marshal_data ? marshal_data : cc->callback); 1399s # 1399s # v_return = 1399s # callback (data1, 1399s # g_marshal_value_peek_object (param_values + 1), 1399s # g_marshal_value_peek_variant (param_values + 2), 1399s # data2); 1399s # 1399s # g_value_set_boolean (return_value, v_return); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ 1399s # * Code for interface org.project.UsefulInterface 1399s # * ------------------------------------------------------------------------ 1399s # */ 1399s # 1399s # /** 1399s # * SECTION:OrgProjectUsefulInterface 1399s # * @title: OrgProjectUsefulInterface 1399s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1399s # * 1399s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1399s # */ 1399s # 1399s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1399s # 1399s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "arg_asv", 1399s # (gchar *) "a{sv}", 1399s # NULL 1399s # }, 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "SingleArgMethodAsv", 1399s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "handle-single-arg-method-asv", 1399s # FALSE 1399s # }; 1399s # 1399s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1399s # { 1399s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1399s # NULL 1399s # }; 1399s # 1399s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1399s # { 1399s # { 1399s # -1, 1399s # (gchar *) "org.project.UsefulInterface", 1399s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1399s # NULL, 1399s # NULL, 1399s # NULL 1399s # }, 1399s # "org-project-useful-interface", 1399s # }; 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_interface_info: 1399s # * 1399s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1399s # * 1399s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1399s # */ 1399s # GDBusInterfaceInfo * 1399s # org_project_useful_interface_interface_info (void) 1399s # { 1399s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_override_properties: 1399s # * @klass: The class structure for a #GObject derived class. 1399s # * @property_id_begin: The property id to assign to the first overridden property. 1399s # * 1399s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1399s # * The properties are overridden in the order they are defined. 1399s # * 1399s # * Returns: The last property id. 1399s # */ 1399s # guint 1399s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1399s # { 1399s # return property_id_begin - 1; 1399s # } 1399s # 1399s # 1399s # inline static void 1399s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1399s # GClosure *closure, 1399s # GValue *return_value, 1399s # unsigned int n_param_values, 1399s # const GValue *param_values, 1399s # void *invocation_hint, 1399s # void *marshal_data) 1399s # { 1399s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1399s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1399s # } 1399s # 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterface: 1399s # * 1399s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceIface: 1399s # * @parent_iface: The parent interface. 1399s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1399s # * 1399s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1399s # */ 1399s # 1399s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1399s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1399s # 1399s # static void 1399s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1399s # { 1399s # /* GObject signals for incoming D-Bus method calls: */ 1399s # /** 1399s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: A #GDBusMethodInvocation. 1399s # * @arg_arg_asv: Argument passed by remote caller. 1399s # * 1399s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1399s # * 1399s # * 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. 1399s # * 1399s # * 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. 1399s # */ 1399s # g_signal_new ("handle-single-arg-method-asv", 1399s # G_TYPE_FROM_INTERFACE (iface), 1399s # G_SIGNAL_RUN_LAST, 1399s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1399s # g_signal_accumulator_true_handled, 1399s # NULL, 1399s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1399s # G_TYPE_BOOLEAN, 1399s # 2, 1399s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1399s # 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_asv: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_asv: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1399s # */ 1399s # void 1399s # org_project_useful_interface_call_single_arg_method_asv ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GVariant *arg_arg_asv, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodAsv", 1399s # g_variant_new ("(@a{sv})", 1399s # arg_arg_asv), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # callback, 1399s # user_data); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1399s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1399s # * @arg_arg_asv: Argument to pass with the method invocation. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL. 1399s # * 1399s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1399s # * 1399s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1399s # */ 1399s # gboolean 1399s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1399s # OrgProjectUsefulInterface *proxy, 1399s # GVariant *arg_arg_asv, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GVariant *_ret; 1399s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1399s # "SingleArgMethodAsv", 1399s # g_variant_new ("(@a{sv})", 1399s # arg_arg_asv), 1399s # G_DBUS_CALL_FLAGS_NONE, 1399s # -1, 1399s # cancellable, 1399s # error); 1399s # if (_ret == NULL) 1399s # goto _out; 1399s # g_variant_get (_ret, 1399s # "()"); 1399s # g_variant_unref (_ret); 1399s # _out: 1399s # return _ret != NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_complete_single_arg_method_asv: 1399s # * @object: A #OrgProjectUsefulInterface. 1399s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1399s # * 1399s # * 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. 1399s # * 1399s # * This method will free @invocation, you cannot use it afterwards. 1399s # */ 1399s # void 1399s # org_project_useful_interface_complete_single_arg_method_asv ( 1399s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1399s # GDBusMethodInvocation *invocation) 1399s # { 1399s # g_dbus_method_invocation_return_value (invocation, 1399s # g_variant_new ("()")); 1399s # } 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxy: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceProxyClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceProxyPrivate 1399s # { 1399s # GData *qdata; 1399s # }; 1399s # 1399s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_proxy_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1399s # g_datalist_clear (&proxy->priv->qdata); 1399s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1399s # guint prop_id G_GNUC_UNUSED, 1399s # const GValue *value G_GNUC_UNUSED, 1399s # GParamSpec *pspec G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1399s # const gchar *sender_name G_GNUC_UNUSED, 1399s # const gchar *signal_name, 1399s # GVariant *parameters) 1399s # { 1399s # _ExtendedGDBusSignalInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # gsize n; 1399s # guint signal_id; 1399s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1399s # if (info == NULL) 1399s # return; 1399s # num_params = g_variant_n_children (parameters); 1399s # paramv = g_new0 (GValue, num_params + 1); 1399s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[0], proxy); 1399s # g_variant_iter_init (&iter, parameters); 1399s # n = 1; 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_signal_emitv (paramv, signal_id, 0, NULL); 1399s # for (n = 0; n < num_params + 1; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1399s # GVariant *changed_properties, 1399s # const gchar *const *invalidated_properties) 1399s # { 1399s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1399s # guint n; 1399s # const gchar *key; 1399s # GVariantIter *iter; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # g_variant_get (changed_properties, "a{sv}", &iter); 1399s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1399s # g_datalist_remove_data (&proxy->priv->qdata, key); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # g_variant_iter_free (iter); 1399s # for (n = 0; invalidated_properties[n] != NULL; n++) 1399s # { 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1399s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1399s # if (info != NULL) 1399s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1399s # } 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1399s # #else 1399s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1399s # #endif 1399s # 1399s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusProxyClass *proxy_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1399s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1399s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1399s # 1399s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1399s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1399s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_sync: 1399s # * @connection: A #GDBusConnection. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_sync ( 1399s # GDBusConnection *connection, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1399s # * @user_data: User data to pass to @callback. 1399s # * 1399s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1399s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1399s # */ 1399s # void 1399s # org_project_useful_interface_proxy_new_for_bus ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GAsyncReadyCallback callback, 1399s # gpointer user_data) 1399s # { 1399s # g_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); 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_finish: 1399s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_finish ( 1399s # GAsyncResult *res, 1399s # GError **error) 1399s # { 1399s # GObject *ret; 1399s # GObject *source_object; 1399s # source_object = g_async_result_get_source_object (res); 1399s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1399s # g_object_unref (source_object); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_proxy_new_for_bus_sync: 1399s # * @bus_type: A #GBusType. 1399s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1399s # * @name: A bus name (well-known or unique). 1399s # * @object_path: An object path. 1399s # * @cancellable: (nullable): A #GCancellable or %NULL. 1399s # * @error: Return location for error or %NULL 1399s # * 1399s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1399s # * 1399s # * The calling thread is blocked until a reply is received. 1399s # * 1399s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_proxy_new_for_bus_sync ( 1399s # GBusType bus_type, 1399s # GDBusProxyFlags flags, 1399s # const gchar *name, 1399s # const gchar *object_path, 1399s # GCancellable *cancellable, 1399s # GError **error) 1399s # { 1399s # GInitable *ret; 1399s # 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); 1399s # if (ret != NULL) 1399s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1399s # else 1399s # return NULL; 1399s # } 1399s # 1399s # 1399s # /* ------------------------------------------------------------------------ */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeleton: 1399s # * 1399s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1399s # */ 1399s # 1399s # /** 1399s # * OrgProjectUsefulInterfaceSkeletonClass: 1399s # * @parent_class: The parent class. 1399s # * 1399s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1399s # */ 1399s # 1399s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1399s # { 1399s # GValue *properties; 1399s # GList *changed_properties; 1399s # GSource *changed_properties_idle_source; 1399s # GMainContext *context; 1399s # GMutex lock; 1399s # }; 1399s # 1399s # static void 1399s # _org_project_useful_interface_skeleton_handle_method_call ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name, 1399s # const gchar *method_name, 1399s # GVariant *parameters, 1399s # GDBusMethodInvocation *invocation, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # _ExtendedGDBusMethodInfo *info; 1399s # GVariantIter iter; 1399s # GVariant *child; 1399s # GValue *paramv; 1399s # gsize num_params; 1399s # guint num_extra; 1399s # gsize n; 1399s # guint signal_id; 1399s # GValue return_value = G_VALUE_INIT; 1399s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1399s # g_assert (info != NULL); 1399s # num_params = g_variant_n_children (parameters); 1399s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1399s # n = 0; 1399s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_set_object (¶mv[n++], skeleton); 1399s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1399s # g_value_set_object (¶mv[n++], invocation); 1399s # if (info->pass_fdlist) 1399s # { 1399s # #ifdef G_OS_UNIX 1399s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1399s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1399s # #else 1399s # g_assert_not_reached (); 1399s # #endif 1399s # } 1399s # g_variant_iter_init (&iter, parameters); 1399s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1399s # { 1399s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1399s # if (arg_info->use_gvariant) 1399s # { 1399s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1399s # g_value_set_variant (¶mv[n], child); 1399s # n++; 1399s # } 1399s # else 1399s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1399s # g_variant_unref (child); 1399s # } 1399s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1399s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1399s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1399s # if (!g_value_get_boolean (&return_value)) 1399s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1399s # g_value_unset (&return_value); 1399s # for (n = 0; n < num_params + num_extra; n++) 1399s # g_value_unset (¶mv[n]); 1399s # g_free (paramv); 1399s # } 1399s # 1399s # static GVariant * 1399s # _org_project_useful_interface_skeleton_handle_get_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # GVariant *ret; 1399s # ret = NULL; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # g_value_init (&value, pspec->value_type); 1399s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1399s # g_value_unset (&value); 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static gboolean 1399s # _org_project_useful_interface_skeleton_handle_set_property ( 1399s # GDBusConnection *connection G_GNUC_UNUSED, 1399s # const gchar *sender G_GNUC_UNUSED, 1399s # const gchar *object_path G_GNUC_UNUSED, 1399s # const gchar *interface_name G_GNUC_UNUSED, 1399s # const gchar *property_name, 1399s # GVariant *variant, 1399s # GError **error, 1399s # gpointer user_data) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1399s # GValue value = G_VALUE_INIT; 1399s # GParamSpec *pspec; 1399s # _ExtendedGDBusPropertyInfo *info; 1399s # gboolean ret; 1399s # ret = FALSE; 1399s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1399s # g_assert (info != NULL); 1399s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1399s # if (pspec == NULL) 1399s # { 1399s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1399s # } 1399s # else 1399s # { 1399s # if (info->use_gvariant) 1399s # g_value_set_variant (&value, variant); 1399s # else 1399s # g_dbus_gvariant_to_gvalue (variant, &value); 1399s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1399s # g_value_unset (&value); 1399s # ret = TRUE; 1399s # } 1399s # return ret; 1399s # } 1399s # 1399s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1399s # { 1399s # _org_project_useful_interface_skeleton_handle_method_call, 1399s # _org_project_useful_interface_skeleton_handle_get_property, 1399s # _org_project_useful_interface_skeleton_handle_set_property, 1399s # {NULL} 1399s # }; 1399s # 1399s # static GDBusInterfaceInfo * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return org_project_useful_interface_interface_info (); 1399s # } 1399s # 1399s # static GDBusInterfaceVTable * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1399s # { 1399s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1399s # } 1399s # 1399s # static GVariant * 1399s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1399s # 1399s # GVariantBuilder builder; 1399s # guint n; 1399s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1399s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1399s # goto out; 1399s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1399s # { 1399s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1399s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1399s # { 1399s # GVariant *value; 1399s # 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); 1399s # if (value != NULL) 1399s # { 1399s # g_variant_take_ref (value); 1399s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1399s # g_variant_unref (value); 1399s # } 1399s # } 1399s # } 1399s # out: 1399s # return g_variant_builder_end (&builder); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #else 1399s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1399s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1399s # 1399s # #endif 1399s # static void 1399s # org_project_useful_interface_skeleton_finalize (GObject *object) 1399s # { 1399s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1399s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1399s # if (skeleton->priv->changed_properties_idle_source != NULL) 1399s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1399s # g_main_context_unref (skeleton->priv->context); 1399s # g_mutex_clear (&skeleton->priv->lock); 1399s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1399s # { 1399s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1399s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1399s # #else 1399s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1399s # #endif 1399s # 1399s # g_mutex_init (&skeleton->priv->lock); 1399s # skeleton->priv->context = g_main_context_ref_thread_default (); 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1399s # { 1399s # GObjectClass *gobject_class; 1399s # GDBusInterfaceSkeletonClass *skeleton_class; 1399s # 1399s # gobject_class = G_OBJECT_CLASS (klass); 1399s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1399s # 1399s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1399s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1399s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1399s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1399s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1399s # 1399s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1399s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1399s # #endif 1399s # } 1399s # 1399s # static void 1399s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1399s # { 1399s # } 1399s # 1399s # /** 1399s # * org_project_useful_interface_skeleton_new: 1399s # * 1399s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1399s # * 1399s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1399s # */ 1399s # OrgProjectUsefulInterface * 1399s # org_project_useful_interface_skeleton_new (void) 1399s # { 1399s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1399s # } 1399s # Executing: glib/codegen.py.test 1400s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1400s # tmpdir: /tmp/tmpw2_lzjx2 1400s # codegen: /usr/bin/gdbus-codegen 1400s # /tmp/tmpw2_lzjx2/tmp33ahqtj5.xml: 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmp33ahqtj5.xml', '--output', '-', '--body'] 1400s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1400s # Output: /* 1400s # * This file is generated by gdbus-codegen, do not modify it. 1400s # * 1400s # * The license of this code is the same as for the D-Bus interface description 1400s # * it was derived from. Note that it links to GLib, so must comply with the 1400s # * LGPL linking clauses. 1400s # */ 1400s # 1400s # #ifdef HAVE_CONFIG_H 1400s # # include "config.h" 1400s # #endif 1400s # 1400s # #include 1400s # #ifdef G_OS_UNIX 1400s # # include 1400s # #endif 1400s # 1400s # #ifdef G_ENABLE_DEBUG 1400s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1400s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1400s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1400s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1400s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1400s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1400s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1400s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1400s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1400s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1400s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1400s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1400s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1400s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1400s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1400s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1400s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1400s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1400s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1400s # #else /* !G_ENABLE_DEBUG */ 1400s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1400s # * Do not access GValues directly in your code. Instead, use the 1400s # * g_value_get_*() functions 1400s # */ 1400s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1400s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1400s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1400s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1400s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1400s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1400s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1400s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1400s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1400s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1400s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1400s # #endif /* !G_ENABLE_DEBUG */ 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusArgInfo parent_struct; 1400s # gboolean use_gvariant; 1400s # } _ExtendedGDBusArgInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusMethodInfo parent_struct; 1400s # const gchar *signal_name; 1400s # gboolean pass_fdlist; 1400s # } _ExtendedGDBusMethodInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusSignalInfo parent_struct; 1400s # const gchar *signal_name; 1400s # } _ExtendedGDBusSignalInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusPropertyInfo parent_struct; 1400s # const gchar *hyphen_name; 1400s # guint use_gvariant : 1; 1400s # guint emits_changed_signal : 1; 1400s # } _ExtendedGDBusPropertyInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusInterfaceInfo parent_struct; 1400s # const gchar *hyphen_name; 1400s # } _ExtendedGDBusInterfaceInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # const _ExtendedGDBusPropertyInfo *info; 1400s # guint prop_id; 1400s # GValue orig_value; /* the value before the change */ 1400s # } ChangedProperty; 1400s # 1400s # static void 1400s # _changed_property_free (ChangedProperty *data) 1400s # { 1400s # g_value_unset (&data->orig_value); 1400s # g_free (data); 1400s # } 1400s # 1400s # static gboolean 1400s # _g_strv_equal0 (gchar **a, gchar **b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # guint n; 1400s # if (a == NULL && b == NULL) 1400s # { 1400s # ret = TRUE; 1400s # goto out; 1400s # } 1400s # if (a == NULL || b == NULL) 1400s # goto out; 1400s # if (g_strv_length (a) != g_strv_length (b)) 1400s # goto out; 1400s # for (n = 0; a[n] != NULL; n++) 1400s # if (g_strcmp0 (a[n], b[n]) != 0) 1400s # goto out; 1400s # ret = TRUE; 1400s # out: 1400s # return ret; 1400s # } 1400s # 1400s # static gboolean 1400s # _g_variant_equal0 (GVariant *a, GVariant *b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # if (a == NULL && b == NULL) 1400s # { 1400s # ret = TRUE; 1400s # goto out; 1400s # } 1400s # if (a == NULL || b == NULL) 1400s # goto out; 1400s # ret = g_variant_equal (a, b); 1400s # out: 1400s # return ret; 1400s # } 1400s # 1400s # G_GNUC_UNUSED static gboolean 1400s # _g_value_equal (const GValue *a, const GValue *b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1400s # switch (G_VALUE_TYPE (a)) 1400s # { 1400s # case G_TYPE_BOOLEAN: 1400s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1400s # break; 1400s # case G_TYPE_UCHAR: 1400s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1400s # break; 1400s # case G_TYPE_INT: 1400s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1400s # break; 1400s # case G_TYPE_UINT: 1400s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1400s # break; 1400s # case G_TYPE_INT64: 1400s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1400s # break; 1400s # case G_TYPE_UINT64: 1400s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1400s # break; 1400s # case G_TYPE_DOUBLE: 1400s # { 1400s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1400s # gdouble da = g_value_get_double (a); 1400s # gdouble db = g_value_get_double (b); 1400s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1400s # } 1400s # break; 1400s # case G_TYPE_STRING: 1400s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1400s # break; 1400s # case G_TYPE_VARIANT: 1400s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1400s # break; 1400s # default: 1400s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1400s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1400s # else 1400s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1400s # break; 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static void 1400s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1400s # GClosure *closure, 1400s # GValue *return_value, 1400s # unsigned int n_param_values, 1400s # const GValue *param_values, 1400s # void *invocation_hint G_GNUC_UNUSED, 1400s # void *marshal_data) 1400s # { 1400s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1400s # (void *data1, 1400s # GDBusMethodInvocation *arg_method_invocation, 1400s # void *data2); 1400s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1400s # GCClosure *cc = (GCClosure*) closure; 1400s # void *data1, *data2; 1400s # gboolean v_return; 1400s # 1400s # g_return_if_fail (return_value != NULL); 1400s # g_return_if_fail (n_param_values == 2); 1400s # 1400s # if (G_CCLOSURE_SWAP_DATA (closure)) 1400s # { 1400s # data1 = closure->data; 1400s # data2 = g_value_peek_pointer (param_values + 0); 1400s # } 1400s # else 1400s # { 1400s # data1 = g_value_peek_pointer (param_values + 0); 1400s # data2 = closure->data; 1400s # } 1400s # 1400s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1400s # (marshal_data ? marshal_data : cc->callback); 1400s # 1400s # v_return = 1400s # callback (data1, 1400s # g_marshal_value_peek_object (param_values + 1), 1400s # data2); 1400s # 1400s # g_value_set_boolean (return_value, v_return); 1400s # } 1400s # 1400s # /* ------------------------------------------------------------------------ 1400s # * Code for interface org.project.UsefulInterface 1400s # * ------------------------------------------------------------------------ 1400s # */ 1400s # 1400s # /** 1400s # * SECTION:OrgProjectUsefulInterface 1400s # * @title: OrgProjectUsefulInterface 1400s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1400s # * 1400s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1400s # */ 1400s # 1400s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1400s # 1400s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "arg_b", 1400s # (gchar *) "b", 1400s # NULL 1400s # }, 1400s # FALSE 1400s # }; 1400s # 1400s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1400s # { 1400s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1400s # NULL 1400s # }; 1400s # 1400s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "SingleArgMethodB", 1400s # NULL, 1400s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1400s # NULL 1400s # }, 1400s # "handle-single-arg-method-b", 1400s # FALSE 1400s # }; 1400s # 1400s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1400s # { 1400s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1400s # NULL 1400s # }; 1400s # 1400s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "org.project.UsefulInterface", 1400s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1400s # NULL, 1400s # NULL, 1400s # NULL 1400s # }, 1400s # "org-project-useful-interface", 1400s # }; 1400s # 1400s # 1400s # /** 1400s # * org_project_useful_interface_interface_info: 1400s # * 1400s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1400s # * 1400s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1400s # */ 1400s # GDBusInterfaceInfo * 1400s # org_project_useful_interface_interface_info (void) 1400s # { 1400s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_override_properties: 1400s # * @klass: The class structure for a #GObject derived class. 1400s # * @property_id_begin: The property id to assign to the first overridden property. 1400s # * 1400s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1400s # * The properties are overridden in the order they are defined. 1400s # * 1400s # * Returns: The last property id. 1400s # */ 1400s # guint 1400s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1400s # { 1400s # return property_id_begin - 1; 1400s # } 1400s # 1400s # 1400s # inline static void 1400s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1400s # GClosure *closure, 1400s # GValue *return_value, 1400s # unsigned int n_param_values, 1400s # const GValue *param_values, 1400s # void *invocation_hint, 1400s # void *marshal_data) 1400s # { 1400s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1400s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1400s # } 1400s # 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterface: 1400s # * 1400s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceIface: 1400s # * @parent_iface: The parent interface. 1400s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1400s # * 1400s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1400s # */ 1400s # 1400s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1400s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1400s # 1400s # static void 1400s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1400s # { 1400s # /* GObject signals for incoming D-Bus method calls: */ 1400s # /** 1400s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1400s # * @object: A #OrgProjectUsefulInterface. 1400s # * @invocation: A #GDBusMethodInvocation. 1400s # * 1400s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1400s # * 1400s # * 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. 1400s # * 1400s # * 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. 1400s # */ 1400s # g_signal_new ("handle-single-arg-method-b", 1400s # G_TYPE_FROM_INTERFACE (iface), 1400s # G_SIGNAL_RUN_LAST, 1400s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1400s # g_signal_accumulator_true_handled, 1400s # NULL, 1400s # org_project_useful_interface_method_marshal_single_arg_method_b, 1400s # G_TYPE_BOOLEAN, 1400s # 1, 1400s # G_TYPE_DBUS_METHOD_INVOCATION); 1400s # 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_b: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1400s # */ 1400s # void 1400s # org_project_useful_interface_call_single_arg_method_b ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1400s # "SingleArgMethodB", 1400s # g_variant_new ("()"), 1400s # G_DBUS_CALL_FLAGS_NONE, 1400s # -1, 1400s # cancellable, 1400s # callback, 1400s # user_data); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_b_finish: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1400s # * @error: Return location for error or %NULL. 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1400s # * 1400s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1400s # */ 1400s # gboolean 1400s # org_project_useful_interface_call_single_arg_method_b_finish ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # gboolean *out_arg_b, 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GVariant *_ret; 1400s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1400s # if (_ret == NULL) 1400s # goto _out; 1400s # g_variant_get (_ret, 1400s # "(b)", 1400s # out_arg_b); 1400s # g_variant_unref (_ret); 1400s # _out: 1400s # return _ret != NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_b_sync: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL. 1400s # * 1400s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1400s # * 1400s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1400s # */ 1400s # gboolean 1400s # org_project_useful_interface_call_single_arg_method_b_sync ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # gboolean *out_arg_b, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GVariant *_ret; 1400s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1400s # "SingleArgMethodB", 1400s # g_variant_new ("()"), 1400s # G_DBUS_CALL_FLAGS_NONE, 1400s # -1, 1400s # cancellable, 1400s # error); 1400s # if (_ret == NULL) 1400s # goto _out; 1400s # g_variant_get (_ret, 1400s # "(b)", 1400s # out_arg_b); 1400s # g_variant_unref (_ret); 1400s # _out: 1400s # return _ret != NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_complete_single_arg_method_b: 1400s # * @object: A #OrgProjectUsefulInterface. 1400s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1400s # * @arg_b: Parameter to return. 1400s # * 1400s # * 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. 1400s # * 1400s # * This method will free @invocation, you cannot use it afterwards. 1400s # */ 1400s # void 1400s # org_project_useful_interface_complete_single_arg_method_b ( 1400s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1400s # GDBusMethodInvocation *invocation, 1400s # gboolean arg_b) 1400s # { 1400s # g_dbus_method_invocation_return_value (invocation, 1400s # g_variant_new ("(b)", 1400s # arg_b)); 1400s # } 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceProxy: 1400s # * 1400s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceProxyClass: 1400s # * @parent_class: The parent class. 1400s # * 1400s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1400s # */ 1400s # 1400s # struct _OrgProjectUsefulInterfaceProxyPrivate 1400s # { 1400s # GData *qdata; 1400s # }; 1400s # 1400s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1400s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1400s # 1400s # #else 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1400s # 1400s # #endif 1400s # static void 1400s # org_project_useful_interface_proxy_finalize (GObject *object) 1400s # { 1400s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1400s # g_datalist_clear (&proxy->priv->qdata); 1400s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1400s # guint prop_id G_GNUC_UNUSED, 1400s # GValue *value G_GNUC_UNUSED, 1400s # GParamSpec *pspec G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1400s # guint prop_id G_GNUC_UNUSED, 1400s # const GValue *value G_GNUC_UNUSED, 1400s # GParamSpec *pspec G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1400s # const gchar *sender_name G_GNUC_UNUSED, 1400s # const gchar *signal_name, 1400s # GVariant *parameters) 1400s # { 1400s # _ExtendedGDBusSignalInfo *info; 1400s # GVariantIter iter; 1400s # GVariant *child; 1400s # GValue *paramv; 1400s # gsize num_params; 1400s # gsize n; 1400s # guint signal_id; 1400s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1400s # if (info == NULL) 1400s # return; 1400s # num_params = g_variant_n_children (parameters); 1400s # paramv = g_new0 (GValue, num_params + 1); 1400s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_set_object (¶mv[0], proxy); 1400s # g_variant_iter_init (&iter, parameters); 1400s # n = 1; 1400s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1400s # { 1400s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1400s # if (arg_info->use_gvariant) 1400s # { 1400s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1400s # g_value_set_variant (¶mv[n], child); 1400s # n++; 1400s # } 1400s # else 1400s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1400s # g_variant_unref (child); 1400s # } 1400s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_signal_emitv (paramv, signal_id, 0, NULL); 1400s # for (n = 0; n < num_params + 1; n++) 1400s # g_value_unset (¶mv[n]); 1400s # g_free (paramv); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1400s # GVariant *changed_properties, 1400s # const gchar *const *invalidated_properties) 1400s # { 1400s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1400s # guint n; 1400s # const gchar *key; 1400s # GVariantIter *iter; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # g_variant_get (changed_properties, "a{sv}", &iter); 1400s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1400s # { 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1400s # g_datalist_remove_data (&proxy->priv->qdata, key); 1400s # if (info != NULL) 1400s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1400s # } 1400s # g_variant_iter_free (iter); 1400s # for (n = 0; invalidated_properties[n] != NULL; n++) 1400s # { 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1400s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1400s # if (info != NULL) 1400s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1400s # } 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1400s # { 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1400s # #else 1400s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1400s # #endif 1400s # 1400s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1400s # { 1400s # GObjectClass *gobject_class; 1400s # GDBusProxyClass *proxy_class; 1400s # 1400s # gobject_class = G_OBJECT_CLASS (klass); 1400s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1400s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1400s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1400s # 1400s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1400s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1400s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1400s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1400s # #endif 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new: 1400s # * @connection: A #GDBusConnection. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1400s # * 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1400s # */ 1400s # void 1400s # org_project_useful_interface_proxy_new ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_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); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_finish: 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_finish ( 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GObject *ret; 1400s # GObject *source_object; 1400s # source_object = g_async_result_get_source_object (res); 1400s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1400s # g_object_unref (source_object); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_sync: 1400s # * @connection: A #GDBusConnection. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1400s # * 1400s # * The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_sync ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GInitable *ret; 1400s # 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); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus: 1400s # * @bus_type: A #GBusType. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: A bus name (well-known or unique). 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1400s # * 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1400s # */ 1400s # void 1400s # org_project_useful_interface_proxy_new_for_bus ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_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); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus_finish: 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_for_bus_finish ( 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GObject *ret; 1400s # GObject *source_object; 1400s # source_object = g_async_result_get_source_object (res); 1400s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1400s # g_object_unref (source_object); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus_sync: 1400s # * @bus_type: A #GBusType. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: A bus name (well-known or unique). 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1400s # * 1400s # * The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_for_bus_sync ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GInitable *ret; 1400s # 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); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceSkeleton: 1400s # * 1400s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceSkeletonClass: 1400s # * @parent_class: The parent class. 1400s # * 1400s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1400s # */ 1400s # 1400s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1400s # { 1400s # GValue *properties; 1400s # GList *changed_properties; 1400s # GSource *changed_properties_idle_source; 1400s # GMainContext *context; 1400s # GMutex lock; 1400s # }; 1400s # 1400s # static void 1400s # _org_project_useful_interface_skeleton_handle_method_call ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name, 1400s # const gchar *method_name, 1400s # GVariant *parameters, 1400s # GDBusMethodInvocation *invocation, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # _ExtendedGDBusMethodInfo *info; 1400s # GVariantIter iter; 1400s # GVariant *child; 1400s # GValue *paramv; 1400s # gsize num_params; 1400s # guint num_extra; 1400s # gsize n; 1400s # guint signal_id; 1400s # GValue return_value = G_VALUE_INIT; 1400s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1400s # g_assert (info != NULL); 1400s # num_params = g_variant_n_children (parameters); 1400s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1400s # n = 0; 1400s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_set_object (¶mv[n++], skeleton); 1400s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1400s # g_value_set_object (¶mv[n++], invocation); 1400s # if (info->pass_fdlist) 1400s # { 1400s # #ifdef G_OS_UNIX 1400s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1400s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1400s # #else 1400s # g_assert_not_reached (); 1400s # #endif 1400s # } 1400s # g_variant_iter_init (&iter, parameters); 1400s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1400s # { 1400s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1400s # if (arg_info->use_gvariant) 1400s # { 1400s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1400s # g_value_set_variant (¶mv[n], child); 1400s # n++; 1400s # } 1400s # else 1400s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1400s # g_variant_unref (child); 1400s # } 1400s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1400s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1400s # if (!g_value_get_boolean (&return_value)) 1400s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1400s # g_value_unset (&return_value); 1400s # for (n = 0; n < num_params + num_extra; n++) 1400s # g_value_unset (¶mv[n]); 1400s # g_free (paramv); 1400s # } 1400s # 1400s # static GVariant * 1400s # _org_project_useful_interface_skeleton_handle_get_property ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name G_GNUC_UNUSED, 1400s # const gchar *property_name, 1400s # GError **error, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # GValue value = G_VALUE_INIT; 1400s # GParamSpec *pspec; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # GVariant *ret; 1400s # ret = NULL; 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1400s # g_assert (info != NULL); 1400s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1400s # if (pspec == NULL) 1400s # { 1400s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1400s # } 1400s # else 1400s # { 1400s # g_value_init (&value, pspec->value_type); 1400s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1400s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1400s # g_value_unset (&value); 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static gboolean 1400s # _org_project_useful_interface_skeleton_handle_set_property ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name G_GNUC_UNUSED, 1400s # const gchar *property_name, 1400s # GVariant *variant, 1400s # GError **error, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # GValue value = G_VALUE_INIT; 1400s # GParamSpec *pspec; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # gboolean ret; 1400s # ret = FALSE; 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1400s # g_assert (info != NULL); 1400s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1400s # if (pspec == NULL) 1400s # { 1400s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1400s # } 1400s # else 1400s # { 1400s # if (info->use_gvariant) 1400s # g_value_set_variant (&value, variant); 1400s # else 1400s # g_dbus_gvariant_to_gvalue (variant, &value); 1400s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1400s # g_value_unset (&value); 1400s # ret = TRUE; 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1400s # { 1400s # _org_project_useful_interface_skeleton_handle_method_call, 1400s # _org_project_useful_interface_skeleton_handle_get_property, 1400s # _org_project_useful_interface_skeleton_handle_set_property, 1400s # {NULL} 1400s # }; 1400s # 1400s # static GDBusInterfaceInfo * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1400s # { 1400s # return org_project_useful_interface_interface_info (); 1400s # } 1400s # 1400s # static GDBusInterfaceVTable * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1400s # { 1400s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1400s # } 1400s # 1400s # static GVariant * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1400s # 1400s # GVariantBuilder builder; 1400s # guint n; 1400s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1400s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1400s # goto out; 1400s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1400s # { 1400s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1400s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1400s # { 1400s # GVariant *value; 1400s # 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); 1400s # if (value != NULL) 1400s # { 1400s # g_variant_take_ref (value); 1400s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1400s # g_variant_unref (value); 1400s # } 1400s # } 1400s # } 1400s # out: 1400s # return g_variant_builder_end (&builder); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1400s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1400s # 1400s # #else 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1400s # 1400s # #endif 1400s # static void 1400s # org_project_useful_interface_skeleton_finalize (GObject *object) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1400s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1400s # if (skeleton->priv->changed_properties_idle_source != NULL) 1400s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1400s # g_main_context_unref (skeleton->priv->context); 1400s # g_mutex_clear (&skeleton->priv->lock); 1400s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1400s # { 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1400s # #else 1400s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1400s # #endif 1400s # 1400s # g_mutex_init (&skeleton->priv->lock); 1400s # skeleton->priv->context = g_main_context_ref_thread_default (); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1400s # { 1400s # GObjectClass *gobject_class; 1400s # GDBusInterfaceSkeletonClass *skeleton_class; 1400s # 1400s # gobject_class = G_OBJECT_CLASS (klass); 1400s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1400s # 1400s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1400s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1400s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1400s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1400s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1400s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1400s # #endif 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_skeleton_new: 1400s # * 1400s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_skeleton_new (void) 1400s # { 1400s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1400s # } 1400s # /tmp/tmpw2_lzjx2/tmpo1fofmhr.xml: 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmpo1fofmhr.xml', '--output', '-', '--body'] 1400s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1400s # Output: /* 1400s # * This file is generated by gdbus-codegen, do not modify it. 1400s # * 1400s # * The license of this code is the same as for the D-Bus interface description 1400s # * it was derived from. Note that it links to GLib, so must comply with the 1400s # * LGPL linking clauses. 1400s # */ 1400s # 1400s # #ifdef HAVE_CONFIG_H 1400s # # include "config.h" 1400s # #endif 1400s # 1400s # #include 1400s # #ifdef G_OS_UNIX 1400s # # include 1400s # #endif 1400s # 1400s # #ifdef G_ENABLE_DEBUG 1400s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1400s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1400s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1400s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1400s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1400s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1400s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1400s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1400s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1400s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1400s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1400s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1400s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1400s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1400s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1400s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1400s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1400s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1400s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1400s # #else /* !G_ENABLE_DEBUG */ 1400s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1400s # * Do not access GValues directly in your code. Instead, use the 1400s # * g_value_get_*() functions 1400s # */ 1400s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1400s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1400s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1400s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1400s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1400s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1400s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1400s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1400s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1400s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1400s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1400s # #endif /* !G_ENABLE_DEBUG */ 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusArgInfo parent_struct; 1400s # gboolean use_gvariant; 1400s # } _ExtendedGDBusArgInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusMethodInfo parent_struct; 1400s # const gchar *signal_name; 1400s # gboolean pass_fdlist; 1400s # } _ExtendedGDBusMethodInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusSignalInfo parent_struct; 1400s # const gchar *signal_name; 1400s # } _ExtendedGDBusSignalInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusPropertyInfo parent_struct; 1400s # const gchar *hyphen_name; 1400s # guint use_gvariant : 1; 1400s # guint emits_changed_signal : 1; 1400s # } _ExtendedGDBusPropertyInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusInterfaceInfo parent_struct; 1400s # const gchar *hyphen_name; 1400s # } _ExtendedGDBusInterfaceInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # const _ExtendedGDBusPropertyInfo *info; 1400s # guint prop_id; 1400s # GValue orig_value; /* the value before the change */ 1400s # } ChangedProperty; 1400s # 1400s # static void 1400s # _changed_property_free (ChangedProperty *data) 1400s # { 1400s # g_value_unset (&data->orig_value); 1400s # g_free (data); 1400s # } 1400s # 1400s # static gboolean 1400s # _g_strv_equal0 (gchar **a, gchar **b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # guint n; 1400s # if (a == NULL && b == NULL) 1400s # { 1400s # ret = TRUE; 1400s # goto out; 1400s # } 1400s # if (a == NULL || b == NULL) 1400s # goto out; 1400s # if (g_strv_length (a) != g_strv_length (b)) 1400s # goto out; 1400s # for (n = 0; a[n] != NULL; n++) 1400s # if (g_strcmp0 (a[n], b[n]) != 0) 1400s # goto out; 1400s # ret = TRUE; 1400s # out: 1400s # return ret; 1400s # } 1400s # 1400s # static gboolean 1400s # _g_variant_equal0 (GVariant *a, GVariant *b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # if (a == NULL && b == NULL) 1400s # { 1400s # ret = TRUE; 1400s # goto out; 1400s # } 1400s # if (a == NULL || b == NULL) 1400s # goto out; 1400s # ret = g_variant_equal (a, b); 1400s # out: 1400s # return ret; 1400s # } 1400s # 1400s # G_GNUC_UNUSED static gboolean 1400s # _g_value_equal (const GValue *a, const GValue *b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1400s # switch (G_VALUE_TYPE (a)) 1400s # { 1400s # case G_TYPE_BOOLEAN: 1400s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1400s # break; 1400s # case G_TYPE_UCHAR: 1400s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1400s # break; 1400s # case G_TYPE_INT: 1400s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1400s # break; 1400s # case G_TYPE_UINT: 1400s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1400s # break; 1400s # case G_TYPE_INT64: 1400s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1400s # break; 1400s # case G_TYPE_UINT64: 1400s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1400s # break; 1400s # case G_TYPE_DOUBLE: 1400s # { 1400s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1400s # gdouble da = g_value_get_double (a); 1400s # gdouble db = g_value_get_double (b); 1400s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1400s # } 1400s # break; 1400s # case G_TYPE_STRING: 1400s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1400s # break; 1400s # case G_TYPE_VARIANT: 1400s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1400s # break; 1400s # default: 1400s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1400s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1400s # else 1400s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1400s # break; 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static void 1400s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1400s # GClosure *closure, 1400s # GValue *return_value, 1400s # unsigned int n_param_values, 1400s # const GValue *param_values, 1400s # void *invocation_hint G_GNUC_UNUSED, 1400s # void *marshal_data) 1400s # { 1400s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1400s # (void *data1, 1400s # GDBusMethodInvocation *arg_method_invocation, 1400s # void *data2); 1400s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1400s # GCClosure *cc = (GCClosure*) closure; 1400s # void *data1, *data2; 1400s # gboolean v_return; 1400s # 1400s # g_return_if_fail (return_value != NULL); 1400s # g_return_if_fail (n_param_values == 2); 1400s # 1400s # if (G_CCLOSURE_SWAP_DATA (closure)) 1400s # { 1400s # data1 = closure->data; 1400s # data2 = g_value_peek_pointer (param_values + 0); 1400s # } 1400s # else 1400s # { 1400s # data1 = g_value_peek_pointer (param_values + 0); 1400s # data2 = closure->data; 1400s # } 1400s # 1400s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1400s # (marshal_data ? marshal_data : cc->callback); 1400s # 1400s # v_return = 1400s # callback (data1, 1400s # g_marshal_value_peek_object (param_values + 1), 1400s # data2); 1400s # 1400s # g_value_set_boolean (return_value, v_return); 1400s # } 1400s # 1400s # /* ------------------------------------------------------------------------ 1400s # * Code for interface org.project.UsefulInterface 1400s # * ------------------------------------------------------------------------ 1400s # */ 1400s # 1400s # /** 1400s # * SECTION:OrgProjectUsefulInterface 1400s # * @title: OrgProjectUsefulInterface 1400s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1400s # * 1400s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1400s # */ 1400s # 1400s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1400s # 1400s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "arg_y", 1400s # (gchar *) "y", 1400s # NULL 1400s # }, 1400s # FALSE 1400s # }; 1400s # 1400s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1400s # { 1400s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1400s # NULL 1400s # }; 1400s # 1400s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "SingleArgMethodY", 1400s # NULL, 1400s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1400s # NULL 1400s # }, 1400s # "handle-single-arg-method-y", 1400s # FALSE 1400s # }; 1400s # 1400s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1400s # { 1400s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1400s # NULL 1400s # }; 1400s # 1400s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "org.project.UsefulInterface", 1400s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1400s # NULL, 1400s # NULL, 1400s # NULL 1400s # }, 1400s # "org-project-useful-interface", 1400s # }; 1400s # 1400s # 1400s # /** 1400s # * org_project_useful_interface_interface_info: 1400s # * 1400s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1400s # * 1400s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1400s # */ 1400s # GDBusInterfaceInfo * 1400s # org_project_useful_interface_interface_info (void) 1400s # { 1400s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_override_properties: 1400s # * @klass: The class structure for a #GObject derived class. 1400s # * @property_id_begin: The property id to assign to the first overridden property. 1400s # * 1400s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1400s # * The properties are overridden in the order they are defined. 1400s # * 1400s # * Returns: The last property id. 1400s # */ 1400s # guint 1400s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1400s # { 1400s # return property_id_begin - 1; 1400s # } 1400s # 1400s # 1400s # inline static void 1400s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1400s # GClosure *closure, 1400s # GValue *return_value, 1400s # unsigned int n_param_values, 1400s # const GValue *param_values, 1400s # void *invocation_hint, 1400s # void *marshal_data) 1400s # { 1400s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1400s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1400s # } 1400s # 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterface: 1400s # * 1400s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceIface: 1400s # * @parent_iface: The parent interface. 1400s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1400s # * 1400s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1400s # */ 1400s # 1400s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1400s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1400s # 1400s # static void 1400s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1400s # { 1400s # /* GObject signals for incoming D-Bus method calls: */ 1400s # /** 1400s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1400s # * @object: A #OrgProjectUsefulInterface. 1400s # * @invocation: A #GDBusMethodInvocation. 1400s # * 1400s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1400s # * 1400s # * 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. 1400s # * 1400s # * 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. 1400s # */ 1400s # g_signal_new ("handle-single-arg-method-y", 1400s # G_TYPE_FROM_INTERFACE (iface), 1400s # G_SIGNAL_RUN_LAST, 1400s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1400s # g_signal_accumulator_true_handled, 1400s # NULL, 1400s # org_project_useful_interface_method_marshal_single_arg_method_y, 1400s # G_TYPE_BOOLEAN, 1400s # 1, 1400s # G_TYPE_DBUS_METHOD_INVOCATION); 1400s # 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_y: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1400s # */ 1400s # void 1400s # org_project_useful_interface_call_single_arg_method_y ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1400s # "SingleArgMethodY", 1400s # g_variant_new ("()"), 1400s # G_DBUS_CALL_FLAGS_NONE, 1400s # -1, 1400s # cancellable, 1400s # callback, 1400s # user_data); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_y_finish: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1400s # * @error: Return location for error or %NULL. 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1400s # * 1400s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1400s # */ 1400s # gboolean 1400s # org_project_useful_interface_call_single_arg_method_y_finish ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # guchar *out_arg_y, 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GVariant *_ret; 1400s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1400s # if (_ret == NULL) 1400s # goto _out; 1400s # g_variant_get (_ret, 1400s # "(y)", 1400s # out_arg_y); 1400s # g_variant_unref (_ret); 1400s # _out: 1400s # return _ret != NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_y_sync: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL. 1400s # * 1400s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1400s # * 1400s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1400s # */ 1400s # gboolean 1400s # org_project_useful_interface_call_single_arg_method_y_sync ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # guchar *out_arg_y, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GVariant *_ret; 1400s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1400s # "SingleArgMethodY", 1400s # g_variant_new ("()"), 1400s # G_DBUS_CALL_FLAGS_NONE, 1400s # -1, 1400s # cancellable, 1400s # error); 1400s # if (_ret == NULL) 1400s # goto _out; 1400s # g_variant_get (_ret, 1400s # "(y)", 1400s # out_arg_y); 1400s # g_variant_unref (_ret); 1400s # _out: 1400s # return _ret != NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_complete_single_arg_method_y: 1400s # * @object: A #OrgProjectUsefulInterface. 1400s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1400s # * @arg_y: Parameter to return. 1400s # * 1400s # * 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. 1400s # * 1400s # * This method will free @invocation, you cannot use it afterwards. 1400s # */ 1400s # void 1400s # org_project_useful_interface_complete_single_arg_method_y ( 1400s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1400s # GDBusMethodInvocation *invocation, 1400s # guchar arg_y) 1400s # { 1400s # g_dbus_method_invocation_return_value (invocation, 1400s # g_variant_new ("(y)", 1400s # arg_y)); 1400s # } 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceProxy: 1400s # * 1400s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceProxyClass: 1400s # * @parent_class: The parent class. 1400s # * 1400s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1400s # */ 1400s # 1400s # struct _OrgProjectUsefulInterfaceProxyPrivate 1400s # { 1400s # GData *qdata; 1400s # }; 1400s # 1400s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1400s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1400s # 1400s # #else 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1400s # 1400s # #endif 1400s # static void 1400s # org_project_useful_interface_proxy_finalize (GObject *object) 1400s # { 1400s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1400s # g_datalist_clear (&proxy->priv->qdata); 1400s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1400s # guint prop_id G_GNUC_UNUSED, 1400s # GValue *value G_GNUC_UNUSED, 1400s # GParamSpec *pspec G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1400s # guint prop_id G_GNUC_UNUSED, 1400s # const GValue *value G_GNUC_UNUSED, 1400s # GParamSpec *pspec G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1400s # const gchar *sender_name G_GNUC_UNUSED, 1400s # const gchar *signal_name, 1400s # GVariant *parameters) 1400s # { 1400s # _ExtendedGDBusSignalInfo *info; 1400s # GVariantIter iter; 1400s # GVariant *child; 1400s # GValue *paramv; 1400s # gsize num_params; 1400s # gsize n; 1400s # guint signal_id; 1400s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1400s # if (info == NULL) 1400s # return; 1400s # num_params = g_variant_n_children (parameters); 1400s # paramv = g_new0 (GValue, num_params + 1); 1400s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_set_object (¶mv[0], proxy); 1400s # g_variant_iter_init (&iter, parameters); 1400s # n = 1; 1400s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1400s # { 1400s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1400s # if (arg_info->use_gvariant) 1400s # { 1400s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1400s # g_value_set_variant (¶mv[n], child); 1400s # n++; 1400s # } 1400s # else 1400s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1400s # g_variant_unref (child); 1400s # } 1400s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_signal_emitv (paramv, signal_id, 0, NULL); 1400s # for (n = 0; n < num_params + 1; n++) 1400s # g_value_unset (¶mv[n]); 1400s # g_free (paramv); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1400s # GVariant *changed_properties, 1400s # const gchar *const *invalidated_properties) 1400s # { 1400s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1400s # guint n; 1400s # const gchar *key; 1400s # GVariantIter *iter; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # g_variant_get (changed_properties, "a{sv}", &iter); 1400s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1400s # { 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1400s # g_datalist_remove_data (&proxy->priv->qdata, key); 1400s # if (info != NULL) 1400s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1400s # } 1400s # g_variant_iter_free (iter); 1400s # for (n = 0; invalidated_properties[n] != NULL; n++) 1400s # { 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1400s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1400s # if (info != NULL) 1400s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1400s # } 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1400s # { 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1400s # #else 1400s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1400s # #endif 1400s # 1400s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1400s # { 1400s # GObjectClass *gobject_class; 1400s # GDBusProxyClass *proxy_class; 1400s # 1400s # gobject_class = G_OBJECT_CLASS (klass); 1400s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1400s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1400s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1400s # 1400s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1400s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1400s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1400s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1400s # #endif 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new: 1400s # * @connection: A #GDBusConnection. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1400s # * 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1400s # */ 1400s # void 1400s # org_project_useful_interface_proxy_new ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_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); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_finish: 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_finish ( 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GObject *ret; 1400s # GObject *source_object; 1400s # source_object = g_async_result_get_source_object (res); 1400s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1400s # g_object_unref (source_object); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_sync: 1400s # * @connection: A #GDBusConnection. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1400s # * 1400s # * The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_sync ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GInitable *ret; 1400s # 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); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus: 1400s # * @bus_type: A #GBusType. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: A bus name (well-known or unique). 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1400s # * 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1400s # */ 1400s # void 1400s # org_project_useful_interface_proxy_new_for_bus ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_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); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus_finish: 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_for_bus_finish ( 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GObject *ret; 1400s # GObject *source_object; 1400s # source_object = g_async_result_get_source_object (res); 1400s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1400s # g_object_unref (source_object); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus_sync: 1400s # * @bus_type: A #GBusType. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: A bus name (well-known or unique). 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1400s # * 1400s # * The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_for_bus_sync ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GInitable *ret; 1400s # 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); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceSkeleton: 1400s # * 1400s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceSkeletonClass: 1400s # * @parent_class: The parent class. 1400s # * 1400s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1400s # */ 1400s # 1400s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1400s # { 1400s # GValue *properties; 1400s # GList *changed_properties; 1400s # GSource *changed_properties_idle_source; 1400s # GMainContext *context; 1400s # GMutex lock; 1400s # }; 1400s # 1400s # static void 1400s # _org_project_useful_interface_skeleton_handle_method_call ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name, 1400s # const gchar *method_name, 1400s # GVariant *parameters, 1400s # GDBusMethodInvocation *invocation, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # _ExtendedGDBusMethodInfo *info; 1400s # GVariantIter iter; 1400s # GVariant *child; 1400s # GValue *paramv; 1400s # gsize num_params; 1400s # guint num_extra; 1400s # gsize n; 1400s # guint signal_id; 1400s # GValue return_value = G_VALUE_INIT; 1400s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1400s # g_assert (info != NULL); 1400s # num_params = g_variant_n_children (parameters); 1400s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1400s # n = 0; 1400s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_set_object (¶mv[n++], skeleton); 1400s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1400s # g_value_set_object (¶mv[n++], invocation); 1400s # if (info->pass_fdlist) 1400s # { 1400s # #ifdef G_OS_UNIX 1400s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1400s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1400s # #else 1400s # g_assert_not_reached (); 1400s # #endif 1400s # } 1400s # g_variant_iter_init (&iter, parameters); 1400s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1400s # { 1400s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1400s # if (arg_info->use_gvariant) 1400s # { 1400s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1400s # g_value_set_variant (¶mv[n], child); 1400s # n++; 1400s # } 1400s # else 1400s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1400s # g_variant_unref (child); 1400s # } 1400s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1400s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1400s # if (!g_value_get_boolean (&return_value)) 1400s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1400s # g_value_unset (&return_value); 1400s # for (n = 0; n < num_params + num_extra; n++) 1400s # g_value_unset (¶mv[n]); 1400s # g_free (paramv); 1400s # } 1400s # 1400s # static GVariant * 1400s # _org_project_useful_interface_skeleton_handle_get_property ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name G_GNUC_UNUSED, 1400s # const gchar *property_name, 1400s # GError **error, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # GValue value = G_VALUE_INIT; 1400s # GParamSpec *pspec; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # GVariant *ret; 1400s # ret = NULL; 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1400s # g_assert (info != NULL); 1400s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1400s # if (pspec == NULL) 1400s # { 1400s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1400s # } 1400s # else 1400s # { 1400s # g_value_init (&value, pspec->value_type); 1400s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1400s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1400s # g_value_unset (&value); 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static gboolean 1400s # _org_project_useful_interface_skeleton_handle_set_property ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name G_GNUC_UNUSED, 1400s # const gchar *property_name, 1400s # GVariant *variant, 1400s # GError **error, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # GValue value = G_VALUE_INIT; 1400s # GParamSpec *pspec; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # gboolean ret; 1400s # ret = FALSE; 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1400s # g_assert (info != NULL); 1400s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1400s # if (pspec == NULL) 1400s # { 1400s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1400s # } 1400s # else 1400s # { 1400s # if (info->use_gvariant) 1400s # g_value_set_variant (&value, variant); 1400s # else 1400s # g_dbus_gvariant_to_gvalue (variant, &value); 1400s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1400s # g_value_unset (&value); 1400s # ret = TRUE; 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1400s # { 1400s # _org_project_useful_interface_skeleton_handle_method_call, 1400s # _org_project_useful_interface_skeleton_handle_get_property, 1400s # _org_project_useful_interface_skeleton_handle_set_property, 1400s # {NULL} 1400s # }; 1400s # 1400s # static GDBusInterfaceInfo * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1400s # { 1400s # return org_project_useful_interface_interface_info (); 1400s # } 1400s # 1400s # static GDBusInterfaceVTable * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1400s # { 1400s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1400s # } 1400s # 1400s # static GVariant * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1400s # 1400s # GVariantBuilder builder; 1400s # guint n; 1400s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1400s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1400s # goto out; 1400s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1400s # { 1400s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1400s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1400s # { 1400s # GVariant *value; 1400s # 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); 1400s # if (value != NULL) 1400s # { 1400s # g_variant_take_ref (value); 1400s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1400s # g_variant_unref (value); 1400s # } 1400s # } 1400s # } 1400s # out: 1400s # return g_variant_builder_end (&builder); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1400s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1400s # 1400s # #else 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1400s # 1400s # #endif 1400s # static void 1400s # org_project_useful_interface_skeleton_finalize (GObject *object) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1400s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1400s # if (skeleton->priv->changed_properties_idle_source != NULL) 1400s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1400s # g_main_context_unref (skeleton->priv->context); 1400s # g_mutex_clear (&skeleton->priv->lock); 1400s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1400s # { 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1400s # #else 1400s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1400s # #endif 1400s # 1400s # g_mutex_init (&skeleton->priv->lock); 1400s # skeleton->priv->context = g_main_context_ref_thread_default (); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1400s # { 1400s # GObjectClass *gobject_class; 1400s # GDBusInterfaceSkeletonClass *skeleton_class; 1400s # 1400s # gobject_class = G_OBJECT_CLASS (klass); 1400s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1400s # 1400s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1400s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1400s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1400s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1400s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1400s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1400s # #endif 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_skeleton_new: 1400s # * 1400s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_skeleton_new (void) 1400s # { 1400s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1400s # } 1400s # /tmp/tmpw2_lzjx2/tmpj7r7eg5y.xml: 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmpj7r7eg5y.xml', '--output', '-', '--body'] 1400s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1400s # Output: /* 1400s # * This file is generated by gdbus-codegen, do not modify it. 1400s # * 1400s # * The license of this code is the same as for the D-Bus interface description 1400s # * it was derived from. Note that it links to GLib, so must comply with the 1400s # * LGPL linking clauses. 1400s # */ 1400s # 1400s # #ifdef HAVE_CONFIG_H 1400s # # include "config.h" 1400s # #endif 1400s # 1400s # #include 1400s # #ifdef G_OS_UNIX 1400s # # include 1400s # #endif 1400s # 1400s # #ifdef G_ENABLE_DEBUG 1400s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1400s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1400s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1400s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1400s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1400s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1400s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1400s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1400s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1400s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1400s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1400s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1400s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1400s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1400s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1400s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1400s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1400s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1400s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1400s # #else /* !G_ENABLE_DEBUG */ 1400s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1400s # * Do not access GValues directly in your code. Instead, use the 1400s # * g_value_get_*() functions 1400s # */ 1400s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1400s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1400s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1400s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1400s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1400s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1400s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1400s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1400s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1400s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1400s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1400s # #endif /* !G_ENABLE_DEBUG */ 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusArgInfo parent_struct; 1400s # gboolean use_gvariant; 1400s # } _ExtendedGDBusArgInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusMethodInfo parent_struct; 1400s # const gchar *signal_name; 1400s # gboolean pass_fdlist; 1400s # } _ExtendedGDBusMethodInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusSignalInfo parent_struct; 1400s # const gchar *signal_name; 1400s # } _ExtendedGDBusSignalInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusPropertyInfo parent_struct; 1400s # const gchar *hyphen_name; 1400s # guint use_gvariant : 1; 1400s # guint emits_changed_signal : 1; 1400s # } _ExtendedGDBusPropertyInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusInterfaceInfo parent_struct; 1400s # const gchar *hyphen_name; 1400s # } _ExtendedGDBusInterfaceInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # const _ExtendedGDBusPropertyInfo *info; 1400s # guint prop_id; 1400s # GValue orig_value; /* the value before the change */ 1400s # } ChangedProperty; 1400s # 1400s # static void 1400s # _changed_property_free (ChangedProperty *data) 1400s # { 1400s # g_value_unset (&data->orig_value); 1400s # g_free (data); 1400s # } 1400s # 1400s # static gboolean 1400s # _g_strv_equal0 (gchar **a, gchar **b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # guint n; 1400s # if (a == NULL && b == NULL) 1400s # { 1400s # ret = TRUE; 1400s # goto out; 1400s # } 1400s # if (a == NULL || b == NULL) 1400s # goto out; 1400s # if (g_strv_length (a) != g_strv_length (b)) 1400s # goto out; 1400s # for (n = 0; a[n] != NULL; n++) 1400s # if (g_strcmp0 (a[n], b[n]) != 0) 1400s # goto out; 1400s # ret = TRUE; 1400s # out: 1400s # return ret; 1400s # } 1400s # 1400s # static gboolean 1400s # _g_variant_equal0 (GVariant *a, GVariant *b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # if (a == NULL && b == NULL) 1400s # { 1400s # ret = TRUE; 1400s # goto out; 1400s # } 1400s # if (a == NULL || b == NULL) 1400s # goto out; 1400s # ret = g_variant_equal (a, b); 1400s # out: 1400s # return ret; 1400s # } 1400s # 1400s # G_GNUC_UNUSED static gboolean 1400s # _g_value_equal (const GValue *a, const GValue *b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1400s # switch (G_VALUE_TYPE (a)) 1400s # { 1400s # case G_TYPE_BOOLEAN: 1400s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1400s # break; 1400s # case G_TYPE_UCHAR: 1400s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1400s # break; 1400s # case G_TYPE_INT: 1400s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1400s # break; 1400s # case G_TYPE_UINT: 1400s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1400s # break; 1400s # case G_TYPE_INT64: 1400s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1400s # break; 1400s # case G_TYPE_UINT64: 1400s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1400s # break; 1400s # case G_TYPE_DOUBLE: 1400s # { 1400s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1400s # gdouble da = g_value_get_double (a); 1400s # gdouble db = g_value_get_double (b); 1400s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1400s # } 1400s # break; 1400s # case G_TYPE_STRING: 1400s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1400s # break; 1400s # case G_TYPE_VARIANT: 1400s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1400s # break; 1400s # default: 1400s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1400s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1400s # else 1400s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1400s # break; 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static void 1400s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1400s # GClosure *closure, 1400s # GValue *return_value, 1400s # unsigned int n_param_values, 1400s # const GValue *param_values, 1400s # void *invocation_hint G_GNUC_UNUSED, 1400s # void *marshal_data) 1400s # { 1400s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1400s # (void *data1, 1400s # GDBusMethodInvocation *arg_method_invocation, 1400s # void *data2); 1400s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1400s # GCClosure *cc = (GCClosure*) closure; 1400s # void *data1, *data2; 1400s # gboolean v_return; 1400s # 1400s # g_return_if_fail (return_value != NULL); 1400s # g_return_if_fail (n_param_values == 2); 1400s # 1400s # if (G_CCLOSURE_SWAP_DATA (closure)) 1400s # { 1400s # data1 = closure->data; 1400s # data2 = g_value_peek_pointer (param_values + 0); 1400s # } 1400s # else 1400s # { 1400s # data1 = g_value_peek_pointer (param_values + 0); 1400s # data2 = closure->data; 1400s # } 1400s # 1400s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1400s # (marshal_data ? marshal_data : cc->callback); 1400s # 1400s # v_return = 1400s # callback (data1, 1400s # g_marshal_value_peek_object (param_values + 1), 1400s # data2); 1400s # 1400s # g_value_set_boolean (return_value, v_return); 1400s # } 1400s # 1400s # /* ------------------------------------------------------------------------ 1400s # * Code for interface org.project.UsefulInterface 1400s # * ------------------------------------------------------------------------ 1400s # */ 1400s # 1400s # /** 1400s # * SECTION:OrgProjectUsefulInterface 1400s # * @title: OrgProjectUsefulInterface 1400s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1400s # * 1400s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1400s # */ 1400s # 1400s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1400s # 1400s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "arg_n", 1400s # (gchar *) "n", 1400s # NULL 1400s # }, 1400s # FALSE 1400s # }; 1400s # 1400s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1400s # { 1400s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1400s # NULL 1400s # }; 1400s # 1400s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "SingleArgMethodN", 1400s # NULL, 1400s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1400s # NULL 1400s # }, 1400s # "handle-single-arg-method-n", 1400s # FALSE 1400s # }; 1400s # 1400s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1400s # { 1400s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1400s # NULL 1400s # }; 1400s # 1400s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "org.project.UsefulInterface", 1400s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1400s # NULL, 1400s # NULL, 1400s # NULL 1400s # }, 1400s # "org-project-useful-interface", 1400s # }; 1400s # 1400s # 1400s # /** 1400s # * org_project_useful_interface_interface_info: 1400s # * 1400s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1400s # * 1400s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1400s # */ 1400s # GDBusInterfaceInfo * 1400s # org_project_useful_interface_interface_info (void) 1400s # { 1400s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_override_properties: 1400s # * @klass: The class structure for a #GObject derived class. 1400s # * @property_id_begin: The property id to assign to the first overridden property. 1400s # * 1400s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1400s # * The properties are overridden in the order they are defined. 1400s # * 1400s # * Returns: The last property id. 1400s # */ 1400s # guint 1400s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1400s # { 1400s # return property_id_begin - 1; 1400s # } 1400s # 1400s # 1400s # inline static void 1400s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1400s # GClosure *closure, 1400s # GValue *return_value, 1400s # unsigned int n_param_values, 1400s # const GValue *param_values, 1400s # void *invocation_hint, 1400s # void *marshal_data) 1400s # { 1400s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1400s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1400s # } 1400s # 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterface: 1400s # * 1400s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceIface: 1400s # * @parent_iface: The parent interface. 1400s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1400s # * 1400s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1400s # */ 1400s # 1400s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1400s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1400s # 1400s # static void 1400s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1400s # { 1400s # /* GObject signals for incoming D-Bus method calls: */ 1400s # /** 1400s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1400s # * @object: A #OrgProjectUsefulInterface. 1400s # * @invocation: A #GDBusMethodInvocation. 1400s # * 1400s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1400s # * 1400s # * 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. 1400s # * 1400s # * 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. 1400s # */ 1400s # g_signal_new ("handle-single-arg-method-n", 1400s # G_TYPE_FROM_INTERFACE (iface), 1400s # G_SIGNAL_RUN_LAST, 1400s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1400s # g_signal_accumulator_true_handled, 1400s # NULL, 1400s # org_project_useful_interface_method_marshal_single_arg_method_n, 1400s # G_TYPE_BOOLEAN, 1400s # 1, 1400s # G_TYPE_DBUS_METHOD_INVOCATION); 1400s # 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_n: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1400s # */ 1400s # void 1400s # org_project_useful_interface_call_single_arg_method_n ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1400s # "SingleArgMethodN", 1400s # g_variant_new ("()"), 1400s # G_DBUS_CALL_FLAGS_NONE, 1400s # -1, 1400s # cancellable, 1400s # callback, 1400s # user_data); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_n_finish: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1400s # * @error: Return location for error or %NULL. 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1400s # * 1400s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1400s # */ 1400s # gboolean 1400s # org_project_useful_interface_call_single_arg_method_n_finish ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # gint16 *out_arg_n, 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GVariant *_ret; 1400s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1400s # if (_ret == NULL) 1400s # goto _out; 1400s # g_variant_get (_ret, 1400s # "(n)", 1400s # out_arg_n); 1400s # g_variant_unref (_ret); 1400s # _out: 1400s # return _ret != NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_n_sync: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL. 1400s # * 1400s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1400s # * 1400s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1400s # */ 1400s # gboolean 1400s # org_project_useful_interface_call_single_arg_method_n_sync ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # gint16 *out_arg_n, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GVariant *_ret; 1400s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1400s # "SingleArgMethodN", 1400s # g_variant_new ("()"), 1400s # G_DBUS_CALL_FLAGS_NONE, 1400s # -1, 1400s # cancellable, 1400s # error); 1400s # if (_ret == NULL) 1400s # goto _out; 1400s # g_variant_get (_ret, 1400s # "(n)", 1400s # out_arg_n); 1400s # g_variant_unref (_ret); 1400s # _out: 1400s # return _ret != NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_complete_single_arg_method_n: 1400s # * @object: A #OrgProjectUsefulInterface. 1400s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1400s # * @arg_n: Parameter to return. 1400s # * 1400s # * 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. 1400s # * 1400s # * This method will free @invocation, you cannot use it afterwards. 1400s # */ 1400s # void 1400s # org_project_useful_interface_complete_single_arg_method_n ( 1400s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1400s # GDBusMethodInvocation *invocation, 1400s # gint16 arg_n) 1400s # { 1400s # g_dbus_method_invocation_return_value (invocation, 1400s # g_variant_new ("(n)", 1400s # arg_n)); 1400s # } 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceProxy: 1400s # * 1400s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceProxyClass: 1400s # * @parent_class: The parent class. 1400s # * 1400s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1400s # */ 1400s # 1400s # struct _OrgProjectUsefulInterfaceProxyPrivate 1400s # { 1400s # GData *qdata; 1400s # }; 1400s # 1400s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1400s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1400s # 1400s # #else 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1400s # 1400s # #endif 1400s # static void 1400s # org_project_useful_interface_proxy_finalize (GObject *object) 1400s # { 1400s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1400s # g_datalist_clear (&proxy->priv->qdata); 1400s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1400s # guint prop_id G_GNUC_UNUSED, 1400s # GValue *value G_GNUC_UNUSED, 1400s # GParamSpec *pspec G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1400s # guint prop_id G_GNUC_UNUSED, 1400s # const GValue *value G_GNUC_UNUSED, 1400s # GParamSpec *pspec G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1400s # const gchar *sender_name G_GNUC_UNUSED, 1400s # const gchar *signal_name, 1400s # GVariant *parameters) 1400s # { 1400s # _ExtendedGDBusSignalInfo *info; 1400s # GVariantIter iter; 1400s # GVariant *child; 1400s # GValue *paramv; 1400s # gsize num_params; 1400s # gsize n; 1400s # guint signal_id; 1400s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1400s # if (info == NULL) 1400s # return; 1400s # num_params = g_variant_n_children (parameters); 1400s # paramv = g_new0 (GValue, num_params + 1); 1400s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_set_object (¶mv[0], proxy); 1400s # g_variant_iter_init (&iter, parameters); 1400s # n = 1; 1400s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1400s # { 1400s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1400s # if (arg_info->use_gvariant) 1400s # { 1400s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1400s # g_value_set_variant (¶mv[n], child); 1400s # n++; 1400s # } 1400s # else 1400s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1400s # g_variant_unref (child); 1400s # } 1400s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_signal_emitv (paramv, signal_id, 0, NULL); 1400s # for (n = 0; n < num_params + 1; n++) 1400s # g_value_unset (¶mv[n]); 1400s # g_free (paramv); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1400s # GVariant *changed_properties, 1400s # const gchar *const *invalidated_properties) 1400s # { 1400s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1400s # guint n; 1400s # const gchar *key; 1400s # GVariantIter *iter; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # g_variant_get (changed_properties, "a{sv}", &iter); 1400s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1400s # { 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1400s # g_datalist_remove_data (&proxy->priv->qdata, key); 1400s # if (info != NULL) 1400s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1400s # } 1400s # g_variant_iter_free (iter); 1400s # for (n = 0; invalidated_properties[n] != NULL; n++) 1400s # { 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1400s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1400s # if (info != NULL) 1400s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1400s # } 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1400s # { 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1400s # #else 1400s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1400s # #endif 1400s # 1400s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1400s # { 1400s # GObjectClass *gobject_class; 1400s # GDBusProxyClass *proxy_class; 1400s # 1400s # gobject_class = G_OBJECT_CLASS (klass); 1400s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1400s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1400s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1400s # 1400s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1400s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1400s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1400s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1400s # #endif 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new: 1400s # * @connection: A #GDBusConnection. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1400s # * 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1400s # */ 1400s # void 1400s # org_project_useful_interface_proxy_new ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_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); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_finish: 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_finish ( 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GObject *ret; 1400s # GObject *source_object; 1400s # source_object = g_async_result_get_source_object (res); 1400s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1400s # g_object_unref (source_object); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_sync: 1400s # * @connection: A #GDBusConnection. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1400s # * 1400s # * The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_sync ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GInitable *ret; 1400s # 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); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus: 1400s # * @bus_type: A #GBusType. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: A bus name (well-known or unique). 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1400s # * 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1400s # */ 1400s # void 1400s # org_project_useful_interface_proxy_new_for_bus ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_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); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus_finish: 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_for_bus_finish ( 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GObject *ret; 1400s # GObject *source_object; 1400s # source_object = g_async_result_get_source_object (res); 1400s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1400s # g_object_unref (source_object); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus_sync: 1400s # * @bus_type: A #GBusType. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: A bus name (well-known or unique). 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1400s # * 1400s # * The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_for_bus_sync ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GInitable *ret; 1400s # 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); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceSkeleton: 1400s # * 1400s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceSkeletonClass: 1400s # * @parent_class: The parent class. 1400s # * 1400s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1400s # */ 1400s # 1400s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1400s # { 1400s # GValue *properties; 1400s # GList *changed_properties; 1400s # GSource *changed_properties_idle_source; 1400s # GMainContext *context; 1400s # GMutex lock; 1400s # }; 1400s # 1400s # static void 1400s # _org_project_useful_interface_skeleton_handle_method_call ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name, 1400s # const gchar *method_name, 1400s # GVariant *parameters, 1400s # GDBusMethodInvocation *invocation, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # _ExtendedGDBusMethodInfo *info; 1400s # GVariantIter iter; 1400s # GVariant *child; 1400s # GValue *paramv; 1400s # gsize num_params; 1400s # guint num_extra; 1400s # gsize n; 1400s # guint signal_id; 1400s # GValue return_value = G_VALUE_INIT; 1400s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1400s # g_assert (info != NULL); 1400s # num_params = g_variant_n_children (parameters); 1400s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1400s # n = 0; 1400s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_set_object (¶mv[n++], skeleton); 1400s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1400s # g_value_set_object (¶mv[n++], invocation); 1400s # if (info->pass_fdlist) 1400s # { 1400s # #ifdef G_OS_UNIX 1400s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1400s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1400s # #else 1400s # g_assert_not_reached (); 1400s # #endif 1400s # } 1400s # g_variant_iter_init (&iter, parameters); 1400s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1400s # { 1400s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1400s # if (arg_info->use_gvariant) 1400s # { 1400s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1400s # g_value_set_variant (¶mv[n], child); 1400s # n++; 1400s # } 1400s # else 1400s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1400s # g_variant_unref (child); 1400s # } 1400s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1400s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1400s # if (!g_value_get_boolean (&return_value)) 1400s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1400s # g_value_unset (&return_value); 1400s # for (n = 0; n < num_params + num_extra; n++) 1400s # g_value_unset (¶mv[n]); 1400s # g_free (paramv); 1400s # } 1400s # 1400s # static GVariant * 1400s # _org_project_useful_interface_skeleton_handle_get_property ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name G_GNUC_UNUSED, 1400s # const gchar *property_name, 1400s # GError **error, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # GValue value = G_VALUE_INIT; 1400s # GParamSpec *pspec; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # GVariant *ret; 1400s # ret = NULL; 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1400s # g_assert (info != NULL); 1400s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1400s # if (pspec == NULL) 1400s # { 1400s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1400s # } 1400s # else 1400s # { 1400s # g_value_init (&value, pspec->value_type); 1400s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1400s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1400s # g_value_unset (&value); 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static gboolean 1400s # _org_project_useful_interface_skeleton_handle_set_property ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name G_GNUC_UNUSED, 1400s # const gchar *property_name, 1400s # GVariant *variant, 1400s # GError **error, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # GValue value = G_VALUE_INIT; 1400s # GParamSpec *pspec; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # gboolean ret; 1400s # ret = FALSE; 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1400s # g_assert (info != NULL); 1400s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1400s # if (pspec == NULL) 1400s # { 1400s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1400s # } 1400s # else 1400s # { 1400s # if (info->use_gvariant) 1400s # g_value_set_variant (&value, variant); 1400s # else 1400s # g_dbus_gvariant_to_gvalue (variant, &value); 1400s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1400s # g_value_unset (&value); 1400s # ret = TRUE; 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1400s # { 1400s # _org_project_useful_interface_skeleton_handle_method_call, 1400s # _org_project_useful_interface_skeleton_handle_get_property, 1400s # _org_project_useful_interface_skeleton_handle_set_property, 1400s # {NULL} 1400s # }; 1400s # 1400s # static GDBusInterfaceInfo * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1400s # { 1400s # return org_project_useful_interface_interface_info (); 1400s # } 1400s # 1400s # static GDBusInterfaceVTable * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1400s # { 1400s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1400s # } 1400s # 1400s # static GVariant * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1400s # 1400s # GVariantBuilder builder; 1400s # guint n; 1400s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1400s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1400s # goto out; 1400s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1400s # { 1400s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1400s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1400s # { 1400s # GVariant *value; 1400s # 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); 1400s # if (value != NULL) 1400s # { 1400s # g_variant_take_ref (value); 1400s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1400s # g_variant_unref (value); 1400s # } 1400s # } 1400s # } 1400s # out: 1400s # return g_variant_builder_end (&builder); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1400s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1400s # 1400s # #else 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1400s # 1400s # #endif 1400s # static void 1400s # org_project_useful_interface_skeleton_finalize (GObject *object) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1400s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1400s # if (skeleton->priv->changed_properties_idle_source != NULL) 1400s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1400s # g_main_context_unref (skeleton->priv->context); 1400s # g_mutex_clear (&skeleton->priv->lock); 1400s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1400s # { 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1400s # #else 1400s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1400s # #endif 1400s # 1400s # g_mutex_init (&skeleton->priv->lock); 1400s # skeleton->priv->context = g_main_context_ref_thread_default (); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1400s # { 1400s # GObjectClass *gobject_class; 1400s # GDBusInterfaceSkeletonClass *skeleton_class; 1400s # 1400s # gobject_class = G_OBJECT_CLASS (klass); 1400s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1400s # 1400s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1400s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1400s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1400s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1400s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1400s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1400s # #endif 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_skeleton_new: 1400s # * 1400s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_skeleton_new (void) 1400s # { 1400s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1400s # } 1400s # /tmp/tmpw2_lzjx2/tmpe3u5zrec.xml: 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmpe3u5zrec.xml', '--output', '-', '--body'] 1400s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1400s # Output: /* 1400s # * This file is generated by gdbus-codegen, do not modify it. 1400s # * 1400s # * The license of this code is the same as for the D-Bus interface description 1400s # * it was derived from. Note that it links to GLib, so must comply with the 1400s # * LGPL linking clauses. 1400s # */ 1400s # 1400s # #ifdef HAVE_CONFIG_H 1400s # # include "config.h" 1400s # #endif 1400s # 1400s # #include 1400s # #ifdef G_OS_UNIX 1400s # # include 1400s # #endif 1400s # 1400s # #ifdef G_ENABLE_DEBUG 1400s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1400s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1400s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1400s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1400s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1400s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1400s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1400s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1400s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1400s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1400s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1400s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1400s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1400s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1400s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1400s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1400s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1400s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1400s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1400s # #else /* !G_ENABLE_DEBUG */ 1400s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1400s # * Do not access GValues directly in your code. Instead, use the 1400s # * g_value_get_*() functions 1400s # */ 1400s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1400s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1400s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1400s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1400s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1400s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1400s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1400s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1400s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1400s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1400s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1400s # #endif /* !G_ENABLE_DEBUG */ 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusArgInfo parent_struct; 1400s # gboolean use_gvariant; 1400s # } _ExtendedGDBusArgInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusMethodInfo parent_struct; 1400s # const gchar *signal_name; 1400s # gboolean pass_fdlist; 1400s # } _ExtendedGDBusMethodInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusSignalInfo parent_struct; 1400s # const gchar *signal_name; 1400s # } _ExtendedGDBusSignalInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusPropertyInfo parent_struct; 1400s # const gchar *hyphen_name; 1400s # guint use_gvariant : 1; 1400s # guint emits_changed_signal : 1; 1400s # } _ExtendedGDBusPropertyInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusInterfaceInfo parent_struct; 1400s # const gchar *hyphen_name; 1400s # } _ExtendedGDBusInterfaceInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # const _ExtendedGDBusPropertyInfo *info; 1400s # guint prop_id; 1400s # GValue orig_value; /* the value before the change */ 1400s # } ChangedProperty; 1400s # 1400s # static void 1400s # _changed_property_free (ChangedProperty *data) 1400s # { 1400s # g_value_unset (&data->orig_value); 1400s # g_free (data); 1400s # } 1400s # 1400s # static gboolean 1400s # _g_strv_equal0 (gchar **a, gchar **b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # guint n; 1400s # if (a == NULL && b == NULL) 1400s # { 1400s # ret = TRUE; 1400s # goto out; 1400s # } 1400s # if (a == NULL || b == NULL) 1400s # goto out; 1400s # if (g_strv_length (a) != g_strv_length (b)) 1400s # goto out; 1400s # for (n = 0; a[n] != NULL; n++) 1400s # if (g_strcmp0 (a[n], b[n]) != 0) 1400s # goto out; 1400s # ret = TRUE; 1400s # out: 1400s # return ret; 1400s # } 1400s # 1400s # static gboolean 1400s # _g_variant_equal0 (GVariant *a, GVariant *b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # if (a == NULL && b == NULL) 1400s # { 1400s # ret = TRUE; 1400s # goto out; 1400s # } 1400s # if (a == NULL || b == NULL) 1400s # goto out; 1400s # ret = g_variant_equal (a, b); 1400s # out: 1400s # return ret; 1400s # } 1400s # 1400s # G_GNUC_UNUSED static gboolean 1400s # _g_value_equal (const GValue *a, const GValue *b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1400s # switch (G_VALUE_TYPE (a)) 1400s # { 1400s # case G_TYPE_BOOLEAN: 1400s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1400s # break; 1400s # case G_TYPE_UCHAR: 1400s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1400s # break; 1400s # case G_TYPE_INT: 1400s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1400s # break; 1400s # case G_TYPE_UINT: 1400s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1400s # break; 1400s # case G_TYPE_INT64: 1400s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1400s # break; 1400s # case G_TYPE_UINT64: 1400s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1400s # break; 1400s # case G_TYPE_DOUBLE: 1400s # { 1400s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1400s # gdouble da = g_value_get_double (a); 1400s # gdouble db = g_value_get_double (b); 1400s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1400s # } 1400s # break; 1400s # case G_TYPE_STRING: 1400s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1400s # break; 1400s # case G_TYPE_VARIANT: 1400s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1400s # break; 1400s # default: 1400s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1400s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1400s # else 1400s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1400s # break; 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static void 1400s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1400s # GClosure *closure, 1400s # GValue *return_value, 1400s # unsigned int n_param_values, 1400s # const GValue *param_values, 1400s # void *invocation_hint G_GNUC_UNUSED, 1400s # void *marshal_data) 1400s # { 1400s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1400s # (void *data1, 1400s # GDBusMethodInvocation *arg_method_invocation, 1400s # void *data2); 1400s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1400s # GCClosure *cc = (GCClosure*) closure; 1400s # void *data1, *data2; 1400s # gboolean v_return; 1400s # 1400s # g_return_if_fail (return_value != NULL); 1400s # g_return_if_fail (n_param_values == 2); 1400s # 1400s # if (G_CCLOSURE_SWAP_DATA (closure)) 1400s # { 1400s # data1 = closure->data; 1400s # data2 = g_value_peek_pointer (param_values + 0); 1400s # } 1400s # else 1400s # { 1400s # data1 = g_value_peek_pointer (param_values + 0); 1400s # data2 = closure->data; 1400s # } 1400s # 1400s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1400s # (marshal_data ? marshal_data : cc->callback); 1400s # 1400s # v_return = 1400s # callback (data1, 1400s # g_marshal_value_peek_object (param_values + 1), 1400s # data2); 1400s # 1400s # g_value_set_boolean (return_value, v_return); 1400s # } 1400s # 1400s # /* ------------------------------------------------------------------------ 1400s # * Code for interface org.project.UsefulInterface 1400s # * ------------------------------------------------------------------------ 1400s # */ 1400s # 1400s # /** 1400s # * SECTION:OrgProjectUsefulInterface 1400s # * @title: OrgProjectUsefulInterface 1400s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1400s # * 1400s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1400s # */ 1400s # 1400s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1400s # 1400s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "arg_q", 1400s # (gchar *) "q", 1400s # NULL 1400s # }, 1400s # FALSE 1400s # }; 1400s # 1400s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1400s # { 1400s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1400s # NULL 1400s # }; 1400s # 1400s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "SingleArgMethodQ", 1400s # NULL, 1400s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1400s # NULL 1400s # }, 1400s # "handle-single-arg-method-q", 1400s # FALSE 1400s # }; 1400s # 1400s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1400s # { 1400s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1400s # NULL 1400s # }; 1400s # 1400s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "org.project.UsefulInterface", 1400s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1400s # NULL, 1400s # NULL, 1400s # NULL 1400s # }, 1400s # "org-project-useful-interface", 1400s # }; 1400s # 1400s # 1400s # /** 1400s # * org_project_useful_interface_interface_info: 1400s # * 1400s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1400s # * 1400s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1400s # */ 1400s # GDBusInterfaceInfo * 1400s # org_project_useful_interface_interface_info (void) 1400s # { 1400s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_override_properties: 1400s # * @klass: The class structure for a #GObject derived class. 1400s # * @property_id_begin: The property id to assign to the first overridden property. 1400s # * 1400s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1400s # * The properties are overridden in the order they are defined. 1400s # * 1400s # * Returns: The last property id. 1400s # */ 1400s # guint 1400s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1400s # { 1400s # return property_id_begin - 1; 1400s # } 1400s # 1400s # 1400s # inline static void 1400s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1400s # GClosure *closure, 1400s # GValue *return_value, 1400s # unsigned int n_param_values, 1400s # const GValue *param_values, 1400s # void *invocation_hint, 1400s # void *marshal_data) 1400s # { 1400s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1400s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1400s # } 1400s # 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterface: 1400s # * 1400s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceIface: 1400s # * @parent_iface: The parent interface. 1400s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1400s # * 1400s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1400s # */ 1400s # 1400s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1400s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1400s # 1400s # static void 1400s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1400s # { 1400s # /* GObject signals for incoming D-Bus method calls: */ 1400s # /** 1400s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1400s # * @object: A #OrgProjectUsefulInterface. 1400s # * @invocation: A #GDBusMethodInvocation. 1400s # * 1400s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1400s # * 1400s # * 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. 1400s # * 1400s # * 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. 1400s # */ 1400s # g_signal_new ("handle-single-arg-method-q", 1400s # G_TYPE_FROM_INTERFACE (iface), 1400s # G_SIGNAL_RUN_LAST, 1400s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1400s # g_signal_accumulator_true_handled, 1400s # NULL, 1400s # org_project_useful_interface_method_marshal_single_arg_method_q, 1400s # G_TYPE_BOOLEAN, 1400s # 1, 1400s # G_TYPE_DBUS_METHOD_INVOCATION); 1400s # 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_q: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1400s # */ 1400s # void 1400s # org_project_useful_interface_call_single_arg_method_q ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1400s # "SingleArgMethodQ", 1400s # g_variant_new ("()"), 1400s # G_DBUS_CALL_FLAGS_NONE, 1400s # -1, 1400s # cancellable, 1400s # callback, 1400s # user_data); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_q_finish: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1400s # * @error: Return location for error or %NULL. 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1400s # * 1400s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1400s # */ 1400s # gboolean 1400s # org_project_useful_interface_call_single_arg_method_q_finish ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # guint16 *out_arg_q, 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GVariant *_ret; 1400s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1400s # if (_ret == NULL) 1400s # goto _out; 1400s # g_variant_get (_ret, 1400s # "(q)", 1400s # out_arg_q); 1400s # g_variant_unref (_ret); 1400s # _out: 1400s # return _ret != NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_q_sync: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL. 1400s # * 1400s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1400s # * 1400s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1400s # */ 1400s # gboolean 1400s # org_project_useful_interface_call_single_arg_method_q_sync ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # guint16 *out_arg_q, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GVariant *_ret; 1400s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1400s # "SingleArgMethodQ", 1400s # g_variant_new ("()"), 1400s # G_DBUS_CALL_FLAGS_NONE, 1400s # -1, 1400s # cancellable, 1400s # error); 1400s # if (_ret == NULL) 1400s # goto _out; 1400s # g_variant_get (_ret, 1400s # "(q)", 1400s # out_arg_q); 1400s # g_variant_unref (_ret); 1400s # _out: 1400s # return _ret != NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_complete_single_arg_method_q: 1400s # * @object: A #OrgProjectUsefulInterface. 1400s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1400s # * @arg_q: Parameter to return. 1400s # * 1400s # * 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. 1400s # * 1400s # * This method will free @invocation, you cannot use it afterwards. 1400s # */ 1400s # void 1400s # org_project_useful_interface_complete_single_arg_method_q ( 1400s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1400s # GDBusMethodInvocation *invocation, 1400s # guint16 arg_q) 1400s # { 1400s # g_dbus_method_invocation_return_value (invocation, 1400s # g_variant_new ("(q)", 1400s # arg_q)); 1400s # } 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceProxy: 1400s # * 1400s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceProxyClass: 1400s # * @parent_class: The parent class. 1400s # * 1400s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1400s # */ 1400s # 1400s # struct _OrgProjectUsefulInterfaceProxyPrivate 1400s # { 1400s # GData *qdata; 1400s # }; 1400s # 1400s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1400s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1400s # 1400s # #else 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1400s # 1400s # #endif 1400s # static void 1400s # org_project_useful_interface_proxy_finalize (GObject *object) 1400s # { 1400s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1400s # g_datalist_clear (&proxy->priv->qdata); 1400s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1400s # guint prop_id G_GNUC_UNUSED, 1400s # GValue *value G_GNUC_UNUSED, 1400s # GParamSpec *pspec G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1400s # guint prop_id G_GNUC_UNUSED, 1400s # const GValue *value G_GNUC_UNUSED, 1400s # GParamSpec *pspec G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1400s # const gchar *sender_name G_GNUC_UNUSED, 1400s # const gchar *signal_name, 1400s # GVariant *parameters) 1400s # { 1400s # _ExtendedGDBusSignalInfo *info; 1400s # GVariantIter iter; 1400s # GVariant *child; 1400s # GValue *paramv; 1400s # gsize num_params; 1400s # gsize n; 1400s # guint signal_id; 1400s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1400s # if (info == NULL) 1400s # return; 1400s # num_params = g_variant_n_children (parameters); 1400s # paramv = g_new0 (GValue, num_params + 1); 1400s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_set_object (¶mv[0], proxy); 1400s # g_variant_iter_init (&iter, parameters); 1400s # n = 1; 1400s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1400s # { 1400s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1400s # if (arg_info->use_gvariant) 1400s # { 1400s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1400s # g_value_set_variant (¶mv[n], child); 1400s # n++; 1400s # } 1400s # else 1400s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1400s # g_variant_unref (child); 1400s # } 1400s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_signal_emitv (paramv, signal_id, 0, NULL); 1400s # for (n = 0; n < num_params + 1; n++) 1400s # g_value_unset (¶mv[n]); 1400s # g_free (paramv); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1400s # GVariant *changed_properties, 1400s # const gchar *const *invalidated_properties) 1400s # { 1400s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1400s # guint n; 1400s # const gchar *key; 1400s # GVariantIter *iter; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # g_variant_get (changed_properties, "a{sv}", &iter); 1400s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1400s # { 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1400s # g_datalist_remove_data (&proxy->priv->qdata, key); 1400s # if (info != NULL) 1400s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1400s # } 1400s # g_variant_iter_free (iter); 1400s # for (n = 0; invalidated_properties[n] != NULL; n++) 1400s # { 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1400s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1400s # if (info != NULL) 1400s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1400s # } 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1400s # { 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1400s # #else 1400s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1400s # #endif 1400s # 1400s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1400s # { 1400s # GObjectClass *gobject_class; 1400s # GDBusProxyClass *proxy_class; 1400s # 1400s # gobject_class = G_OBJECT_CLASS (klass); 1400s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1400s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1400s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1400s # 1400s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1400s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1400s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1400s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1400s # #endif 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new: 1400s # * @connection: A #GDBusConnection. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1400s # * 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1400s # */ 1400s # void 1400s # org_project_useful_interface_proxy_new ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_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); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_finish: 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_finish ( 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GObject *ret; 1400s # GObject *source_object; 1400s # source_object = g_async_result_get_source_object (res); 1400s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1400s # g_object_unref (source_object); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_sync: 1400s # * @connection: A #GDBusConnection. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1400s # * 1400s # * The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_sync ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GInitable *ret; 1400s # 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); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus: 1400s # * @bus_type: A #GBusType. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: A bus name (well-known or unique). 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1400s # * 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1400s # */ 1400s # void 1400s # org_project_useful_interface_proxy_new_for_bus ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_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); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus_finish: 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_for_bus_finish ( 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GObject *ret; 1400s # GObject *source_object; 1400s # source_object = g_async_result_get_source_object (res); 1400s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1400s # g_object_unref (source_object); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus_sync: 1400s # * @bus_type: A #GBusType. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: A bus name (well-known or unique). 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1400s # * 1400s # * The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_for_bus_sync ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GInitable *ret; 1400s # 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); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceSkeleton: 1400s # * 1400s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceSkeletonClass: 1400s # * @parent_class: The parent class. 1400s # * 1400s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1400s # */ 1400s # 1400s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1400s # { 1400s # GValue *properties; 1400s # GList *changed_properties; 1400s # GSource *changed_properties_idle_source; 1400s # GMainContext *context; 1400s # GMutex lock; 1400s # }; 1400s # 1400s # static void 1400s # _org_project_useful_interface_skeleton_handle_method_call ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name, 1400s # const gchar *method_name, 1400s # GVariant *parameters, 1400s # GDBusMethodInvocation *invocation, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # _ExtendedGDBusMethodInfo *info; 1400s # GVariantIter iter; 1400s # GVariant *child; 1400s # GValue *paramv; 1400s # gsize num_params; 1400s # guint num_extra; 1400s # gsize n; 1400s # guint signal_id; 1400s # GValue return_value = G_VALUE_INIT; 1400s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1400s # g_assert (info != NULL); 1400s # num_params = g_variant_n_children (parameters); 1400s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1400s # n = 0; 1400s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_set_object (¶mv[n++], skeleton); 1400s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1400s # g_value_set_object (¶mv[n++], invocation); 1400s # if (info->pass_fdlist) 1400s # { 1400s # #ifdef G_OS_UNIX 1400s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1400s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1400s # #else 1400s # g_assert_not_reached (); 1400s # #endif 1400s # } 1400s # g_variant_iter_init (&iter, parameters); 1400s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1400s # { 1400s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1400s # if (arg_info->use_gvariant) 1400s # { 1400s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1400s # g_value_set_variant (¶mv[n], child); 1400s # n++; 1400s # } 1400s # else 1400s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1400s # g_variant_unref (child); 1400s # } 1400s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1400s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1400s # if (!g_value_get_boolean (&return_value)) 1400s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1400s # g_value_unset (&return_value); 1400s # for (n = 0; n < num_params + num_extra; n++) 1400s # g_value_unset (¶mv[n]); 1400s # g_free (paramv); 1400s # } 1400s # 1400s # static GVariant * 1400s # _org_project_useful_interface_skeleton_handle_get_property ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name G_GNUC_UNUSED, 1400s # const gchar *property_name, 1400s # GError **error, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # GValue value = G_VALUE_INIT; 1400s # GParamSpec *pspec; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # GVariant *ret; 1400s # ret = NULL; 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1400s # g_assert (info != NULL); 1400s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1400s # if (pspec == NULL) 1400s # { 1400s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1400s # } 1400s # else 1400s # { 1400s # g_value_init (&value, pspec->value_type); 1400s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1400s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1400s # g_value_unset (&value); 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static gboolean 1400s # _org_project_useful_interface_skeleton_handle_set_property ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name G_GNUC_UNUSED, 1400s # const gchar *property_name, 1400s # GVariant *variant, 1400s # GError **error, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # GValue value = G_VALUE_INIT; 1400s # GParamSpec *pspec; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # gboolean ret; 1400s # ret = FALSE; 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1400s # g_assert (info != NULL); 1400s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1400s # if (pspec == NULL) 1400s # { 1400s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1400s # } 1400s # else 1400s # { 1400s # if (info->use_gvariant) 1400s # g_value_set_variant (&value, variant); 1400s # else 1400s # g_dbus_gvariant_to_gvalue (variant, &value); 1400s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1400s # g_value_unset (&value); 1400s # ret = TRUE; 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1400s # { 1400s # _org_project_useful_interface_skeleton_handle_method_call, 1400s # _org_project_useful_interface_skeleton_handle_get_property, 1400s # _org_project_useful_interface_skeleton_handle_set_property, 1400s # {NULL} 1400s # }; 1400s # 1400s # static GDBusInterfaceInfo * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1400s # { 1400s # return org_project_useful_interface_interface_info (); 1400s # } 1400s # 1400s # static GDBusInterfaceVTable * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1400s # { 1400s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1400s # } 1400s # 1400s # static GVariant * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1400s # 1400s # GVariantBuilder builder; 1400s # guint n; 1400s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1400s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1400s # goto out; 1400s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1400s # { 1400s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1400s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1400s # { 1400s # GVariant *value; 1400s # 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); 1400s # if (value != NULL) 1400s # { 1400s # g_variant_take_ref (value); 1400s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1400s # g_variant_unref (value); 1400s # } 1400s # } 1400s # } 1400s # out: 1400s # return g_variant_builder_end (&builder); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1400s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1400s # 1400s # #else 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1400s # 1400s # #endif 1400s # static void 1400s # org_project_useful_interface_skeleton_finalize (GObject *object) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1400s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1400s # if (skeleton->priv->changed_properties_idle_source != NULL) 1400s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1400s # g_main_context_unref (skeleton->priv->context); 1400s # g_mutex_clear (&skeleton->priv->lock); 1400s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1400s # { 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1400s # #else 1400s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1400s # #endif 1400s # 1400s # g_mutex_init (&skeleton->priv->lock); 1400s # skeleton->priv->context = g_main_context_ref_thread_default (); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1400s # { 1400s # GObjectClass *gobject_class; 1400s # GDBusInterfaceSkeletonClass *skeleton_class; 1400s # 1400s # gobject_class = G_OBJECT_CLASS (klass); 1400s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1400s # 1400s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1400s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1400s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1400s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1400s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1400s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1400s # #endif 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_skeleton_new: 1400s # * 1400s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_skeleton_new (void) 1400s # { 1400s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1400s # } 1400s # /tmp/tmpw2_lzjx2/tmp0e_mbf6n.xml: 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmp0e_mbf6n.xml', '--output', '-', '--body'] 1400s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1400s # Output: /* 1400s # * This file is generated by gdbus-codegen, do not modify it. 1400s # * 1400s # * The license of this code is the same as for the D-Bus interface description 1400s # * it was derived from. Note that it links to GLib, so must comply with the 1400s # * LGPL linking clauses. 1400s # */ 1400s # 1400s # #ifdef HAVE_CONFIG_H 1400s # # include "config.h" 1400s # #endif 1400s # 1400s # #include 1400s # #ifdef G_OS_UNIX 1400s # # include 1400s # #endif 1400s # 1400s # #ifdef G_ENABLE_DEBUG 1400s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1400s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1400s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1400s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1400s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1400s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1400s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1400s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1400s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1400s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1400s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1400s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1400s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1400s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1400s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1400s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1400s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1400s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1400s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1400s # #else /* !G_ENABLE_DEBUG */ 1400s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1400s # * Do not access GValues directly in your code. Instead, use the 1400s # * g_value_get_*() functions 1400s # */ 1400s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1400s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1400s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1400s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1400s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1400s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1400s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1400s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1400s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1400s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1400s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1400s # #endif /* !G_ENABLE_DEBUG */ 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusArgInfo parent_struct; 1400s # gboolean use_gvariant; 1400s # } _ExtendedGDBusArgInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusMethodInfo parent_struct; 1400s # const gchar *signal_name; 1400s # gboolean pass_fdlist; 1400s # } _ExtendedGDBusMethodInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusSignalInfo parent_struct; 1400s # const gchar *signal_name; 1400s # } _ExtendedGDBusSignalInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusPropertyInfo parent_struct; 1400s # const gchar *hyphen_name; 1400s # guint use_gvariant : 1; 1400s # guint emits_changed_signal : 1; 1400s # } _ExtendedGDBusPropertyInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusInterfaceInfo parent_struct; 1400s # const gchar *hyphen_name; 1400s # } _ExtendedGDBusInterfaceInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # const _ExtendedGDBusPropertyInfo *info; 1400s # guint prop_id; 1400s # GValue orig_value; /* the value before the change */ 1400s # } ChangedProperty; 1400s # 1400s # static void 1400s # _changed_property_free (ChangedProperty *data) 1400s # { 1400s # g_value_unset (&data->orig_value); 1400s # g_free (data); 1400s # } 1400s # 1400s # static gboolean 1400s # _g_strv_equal0 (gchar **a, gchar **b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # guint n; 1400s # if (a == NULL && b == NULL) 1400s # { 1400s # ret = TRUE; 1400s # goto out; 1400s # } 1400s # if (a == NULL || b == NULL) 1400s # goto out; 1400s # if (g_strv_length (a) != g_strv_length (b)) 1400s # goto out; 1400s # for (n = 0; a[n] != NULL; n++) 1400s # if (g_strcmp0 (a[n], b[n]) != 0) 1400s # goto out; 1400s # ret = TRUE; 1400s # out: 1400s # return ret; 1400s # } 1400s # 1400s # static gboolean 1400s # _g_variant_equal0 (GVariant *a, GVariant *b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # if (a == NULL && b == NULL) 1400s # { 1400s # ret = TRUE; 1400s # goto out; 1400s # } 1400s # if (a == NULL || b == NULL) 1400s # goto out; 1400s # ret = g_variant_equal (a, b); 1400s # out: 1400s # return ret; 1400s # } 1400s # 1400s # G_GNUC_UNUSED static gboolean 1400s # _g_value_equal (const GValue *a, const GValue *b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1400s # switch (G_VALUE_TYPE (a)) 1400s # { 1400s # case G_TYPE_BOOLEAN: 1400s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1400s # break; 1400s # case G_TYPE_UCHAR: 1400s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1400s # break; 1400s # case G_TYPE_INT: 1400s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1400s # break; 1400s # case G_TYPE_UINT: 1400s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1400s # break; 1400s # case G_TYPE_INT64: 1400s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1400s # break; 1400s # case G_TYPE_UINT64: 1400s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1400s # break; 1400s # case G_TYPE_DOUBLE: 1400s # { 1400s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1400s # gdouble da = g_value_get_double (a); 1400s # gdouble db = g_value_get_double (b); 1400s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1400s # } 1400s # break; 1400s # case G_TYPE_STRING: 1400s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1400s # break; 1400s # case G_TYPE_VARIANT: 1400s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1400s # break; 1400s # default: 1400s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1400s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1400s # else 1400s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1400s # break; 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static void 1400s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1400s # GClosure *closure, 1400s # GValue *return_value, 1400s # unsigned int n_param_values, 1400s # const GValue *param_values, 1400s # void *invocation_hint G_GNUC_UNUSED, 1400s # void *marshal_data) 1400s # { 1400s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1400s # (void *data1, 1400s # GDBusMethodInvocation *arg_method_invocation, 1400s # void *data2); 1400s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1400s # GCClosure *cc = (GCClosure*) closure; 1400s # void *data1, *data2; 1400s # gboolean v_return; 1400s # 1400s # g_return_if_fail (return_value != NULL); 1400s # g_return_if_fail (n_param_values == 2); 1400s # 1400s # if (G_CCLOSURE_SWAP_DATA (closure)) 1400s # { 1400s # data1 = closure->data; 1400s # data2 = g_value_peek_pointer (param_values + 0); 1400s # } 1400s # else 1400s # { 1400s # data1 = g_value_peek_pointer (param_values + 0); 1400s # data2 = closure->data; 1400s # } 1400s # 1400s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1400s # (marshal_data ? marshal_data : cc->callback); 1400s # 1400s # v_return = 1400s # callback (data1, 1400s # g_marshal_value_peek_object (param_values + 1), 1400s # data2); 1400s # 1400s # g_value_set_boolean (return_value, v_return); 1400s # } 1400s # 1400s # /* ------------------------------------------------------------------------ 1400s # * Code for interface org.project.UsefulInterface 1400s # * ------------------------------------------------------------------------ 1400s # */ 1400s # 1400s # /** 1400s # * SECTION:OrgProjectUsefulInterface 1400s # * @title: OrgProjectUsefulInterface 1400s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1400s # * 1400s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1400s # */ 1400s # 1400s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1400s # 1400s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "arg_i", 1400s # (gchar *) "i", 1400s # NULL 1400s # }, 1400s # FALSE 1400s # }; 1400s # 1400s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1400s # { 1400s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1400s # NULL 1400s # }; 1400s # 1400s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "SingleArgMethodI", 1400s # NULL, 1400s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1400s # NULL 1400s # }, 1400s # "handle-single-arg-method-i", 1400s # FALSE 1400s # }; 1400s # 1400s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1400s # { 1400s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1400s # NULL 1400s # }; 1400s # 1400s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "org.project.UsefulInterface", 1400s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1400s # NULL, 1400s # NULL, 1400s # NULL 1400s # }, 1400s # "org-project-useful-interface", 1400s # }; 1400s # 1400s # 1400s # /** 1400s # * org_project_useful_interface_interface_info: 1400s # * 1400s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1400s # * 1400s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1400s # */ 1400s # GDBusInterfaceInfo * 1400s # org_project_useful_interface_interface_info (void) 1400s # { 1400s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_override_properties: 1400s # * @klass: The class structure for a #GObject derived class. 1400s # * @property_id_begin: The property id to assign to the first overridden property. 1400s # * 1400s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1400s # * The properties are overridden in the order they are defined. 1400s # * 1400s # * Returns: The last property id. 1400s # */ 1400s # guint 1400s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1400s # { 1400s # return property_id_begin - 1; 1400s # } 1400s # 1400s # 1400s # inline static void 1400s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1400s # GClosure *closure, 1400s # GValue *return_value, 1400s # unsigned int n_param_values, 1400s # const GValue *param_values, 1400s # void *invocation_hint, 1400s # void *marshal_data) 1400s # { 1400s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1400s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1400s # } 1400s # 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterface: 1400s # * 1400s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceIface: 1400s # * @parent_iface: The parent interface. 1400s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1400s # * 1400s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1400s # */ 1400s # 1400s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1400s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1400s # 1400s # static void 1400s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1400s # { 1400s # /* GObject signals for incoming D-Bus method calls: */ 1400s # /** 1400s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1400s # * @object: A #OrgProjectUsefulInterface. 1400s # * @invocation: A #GDBusMethodInvocation. 1400s # * 1400s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1400s # * 1400s # * 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. 1400s # * 1400s # * 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. 1400s # */ 1400s # g_signal_new ("handle-single-arg-method-i", 1400s # G_TYPE_FROM_INTERFACE (iface), 1400s # G_SIGNAL_RUN_LAST, 1400s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1400s # g_signal_accumulator_true_handled, 1400s # NULL, 1400s # org_project_useful_interface_method_marshal_single_arg_method_i, 1400s # G_TYPE_BOOLEAN, 1400s # 1, 1400s # G_TYPE_DBUS_METHOD_INVOCATION); 1400s # 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_i: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1400s # */ 1400s # void 1400s # org_project_useful_interface_call_single_arg_method_i ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1400s # "SingleArgMethodI", 1400s # g_variant_new ("()"), 1400s # G_DBUS_CALL_FLAGS_NONE, 1400s # -1, 1400s # cancellable, 1400s # callback, 1400s # user_data); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_i_finish: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1400s # * @error: Return location for error or %NULL. 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1400s # * 1400s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1400s # */ 1400s # gboolean 1400s # org_project_useful_interface_call_single_arg_method_i_finish ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # gint *out_arg_i, 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GVariant *_ret; 1400s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1400s # if (_ret == NULL) 1400s # goto _out; 1400s # g_variant_get (_ret, 1400s # "(i)", 1400s # out_arg_i); 1400s # g_variant_unref (_ret); 1400s # _out: 1400s # return _ret != NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_i_sync: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL. 1400s # * 1400s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1400s # * 1400s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1400s # */ 1400s # gboolean 1400s # org_project_useful_interface_call_single_arg_method_i_sync ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # gint *out_arg_i, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GVariant *_ret; 1400s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1400s # "SingleArgMethodI", 1400s # g_variant_new ("()"), 1400s # G_DBUS_CALL_FLAGS_NONE, 1400s # -1, 1400s # cancellable, 1400s # error); 1400s # if (_ret == NULL) 1400s # goto _out; 1400s # g_variant_get (_ret, 1400s # "(i)", 1400s # out_arg_i); 1400s # g_variant_unref (_ret); 1400s # _out: 1400s # return _ret != NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_complete_single_arg_method_i: 1400s # * @object: A #OrgProjectUsefulInterface. 1400s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1400s # * @arg_i: Parameter to return. 1400s # * 1400s # * 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. 1400s # * 1400s # * This method will free @invocation, you cannot use it afterwards. 1400s # */ 1400s # void 1400s # org_project_useful_interface_complete_single_arg_method_i ( 1400s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1400s # GDBusMethodInvocation *invocation, 1400s # gint arg_i) 1400s # { 1400s # g_dbus_method_invocation_return_value (invocation, 1400s # g_variant_new ("(i)", 1400s # arg_i)); 1400s # } 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceProxy: 1400s # * 1400s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceProxyClass: 1400s # * @parent_class: The parent class. 1400s # * 1400s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1400s # */ 1400s # 1400s # struct _OrgProjectUsefulInterfaceProxyPrivate 1400s # { 1400s # GData *qdata; 1400s # }; 1400s # 1400s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1400s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1400s # 1400s # #else 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1400s # 1400s # #endif 1400s # static void 1400s # org_project_useful_interface_proxy_finalize (GObject *object) 1400s # { 1400s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1400s # g_datalist_clear (&proxy->priv->qdata); 1400s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1400s # guint prop_id G_GNUC_UNUSED, 1400s # GValue *value G_GNUC_UNUSED, 1400s # GParamSpec *pspec G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1400s # guint prop_id G_GNUC_UNUSED, 1400s # const GValue *value G_GNUC_UNUSED, 1400s # GParamSpec *pspec G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1400s # const gchar *sender_name G_GNUC_UNUSED, 1400s # const gchar *signal_name, 1400s # GVariant *parameters) 1400s # { 1400s # _ExtendedGDBusSignalInfo *info; 1400s # GVariantIter iter; 1400s # GVariant *child; 1400s # GValue *paramv; 1400s # gsize num_params; 1400s # gsize n; 1400s # guint signal_id; 1400s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1400s # if (info == NULL) 1400s # return; 1400s # num_params = g_variant_n_children (parameters); 1400s # paramv = g_new0 (GValue, num_params + 1); 1400s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_set_object (¶mv[0], proxy); 1400s # g_variant_iter_init (&iter, parameters); 1400s # n = 1; 1400s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1400s # { 1400s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1400s # if (arg_info->use_gvariant) 1400s # { 1400s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1400s # g_value_set_variant (¶mv[n], child); 1400s # n++; 1400s # } 1400s # else 1400s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1400s # g_variant_unref (child); 1400s # } 1400s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_signal_emitv (paramv, signal_id, 0, NULL); 1400s # for (n = 0; n < num_params + 1; n++) 1400s # g_value_unset (¶mv[n]); 1400s # g_free (paramv); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1400s # GVariant *changed_properties, 1400s # const gchar *const *invalidated_properties) 1400s # { 1400s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1400s # guint n; 1400s # const gchar *key; 1400s # GVariantIter *iter; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # g_variant_get (changed_properties, "a{sv}", &iter); 1400s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1400s # { 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1400s # g_datalist_remove_data (&proxy->priv->qdata, key); 1400s # if (info != NULL) 1400s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1400s # } 1400s # g_variant_iter_free (iter); 1400s # for (n = 0; invalidated_properties[n] != NULL; n++) 1400s # { 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1400s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1400s # if (info != NULL) 1400s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1400s # } 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1400s # { 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1400s # #else 1400s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1400s # #endif 1400s # 1400s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1400s # { 1400s # GObjectClass *gobject_class; 1400s # GDBusProxyClass *proxy_class; 1400s # 1400s # gobject_class = G_OBJECT_CLASS (klass); 1400s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1400s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1400s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1400s # 1400s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1400s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1400s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1400s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1400s # #endif 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new: 1400s # * @connection: A #GDBusConnection. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1400s # * 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1400s # */ 1400s # void 1400s # org_project_useful_interface_proxy_new ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_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); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_finish: 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_finish ( 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GObject *ret; 1400s # GObject *source_object; 1400s # source_object = g_async_result_get_source_object (res); 1400s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1400s # g_object_unref (source_object); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_sync: 1400s # * @connection: A #GDBusConnection. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1400s # * 1400s # * The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_sync ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GInitable *ret; 1400s # 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); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus: 1400s # * @bus_type: A #GBusType. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: A bus name (well-known or unique). 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1400s # * 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1400s # */ 1400s # void 1400s # org_project_useful_interface_proxy_new_for_bus ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_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); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus_finish: 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_for_bus_finish ( 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GObject *ret; 1400s # GObject *source_object; 1400s # source_object = g_async_result_get_source_object (res); 1400s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1400s # g_object_unref (source_object); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus_sync: 1400s # * @bus_type: A #GBusType. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: A bus name (well-known or unique). 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1400s # * 1400s # * The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_for_bus_sync ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GInitable *ret; 1400s # 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); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceSkeleton: 1400s # * 1400s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceSkeletonClass: 1400s # * @parent_class: The parent class. 1400s # * 1400s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1400s # */ 1400s # 1400s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1400s # { 1400s # GValue *properties; 1400s # GList *changed_properties; 1400s # GSource *changed_properties_idle_source; 1400s # GMainContext *context; 1400s # GMutex lock; 1400s # }; 1400s # 1400s # static void 1400s # _org_project_useful_interface_skeleton_handle_method_call ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name, 1400s # const gchar *method_name, 1400s # GVariant *parameters, 1400s # GDBusMethodInvocation *invocation, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # _ExtendedGDBusMethodInfo *info; 1400s # GVariantIter iter; 1400s # GVariant *child; 1400s # GValue *paramv; 1400s # gsize num_params; 1400s # guint num_extra; 1400s # gsize n; 1400s # guint signal_id; 1400s # GValue return_value = G_VALUE_INIT; 1400s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1400s # g_assert (info != NULL); 1400s # num_params = g_variant_n_children (parameters); 1400s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1400s # n = 0; 1400s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_set_object (¶mv[n++], skeleton); 1400s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1400s # g_value_set_object (¶mv[n++], invocation); 1400s # if (info->pass_fdlist) 1400s # { 1400s # #ifdef G_OS_UNIX 1400s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1400s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1400s # #else 1400s # g_assert_not_reached (); 1400s # #endif 1400s # } 1400s # g_variant_iter_init (&iter, parameters); 1400s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1400s # { 1400s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1400s # if (arg_info->use_gvariant) 1400s # { 1400s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1400s # g_value_set_variant (¶mv[n], child); 1400s # n++; 1400s # } 1400s # else 1400s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1400s # g_variant_unref (child); 1400s # } 1400s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1400s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1400s # if (!g_value_get_boolean (&return_value)) 1400s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1400s # g_value_unset (&return_value); 1400s # for (n = 0; n < num_params + num_extra; n++) 1400s # g_value_unset (¶mv[n]); 1400s # g_free (paramv); 1400s # } 1400s # 1400s # static GVariant * 1400s # _org_project_useful_interface_skeleton_handle_get_property ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name G_GNUC_UNUSED, 1400s # const gchar *property_name, 1400s # GError **error, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # GValue value = G_VALUE_INIT; 1400s # GParamSpec *pspec; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # GVariant *ret; 1400s # ret = NULL; 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1400s # g_assert (info != NULL); 1400s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1400s # if (pspec == NULL) 1400s # { 1400s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1400s # } 1400s # else 1400s # { 1400s # g_value_init (&value, pspec->value_type); 1400s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1400s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1400s # g_value_unset (&value); 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static gboolean 1400s # _org_project_useful_interface_skeleton_handle_set_property ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name G_GNUC_UNUSED, 1400s # const gchar *property_name, 1400s # GVariant *variant, 1400s # GError **error, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # GValue value = G_VALUE_INIT; 1400s # GParamSpec *pspec; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # gboolean ret; 1400s # ret = FALSE; 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1400s # g_assert (info != NULL); 1400s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1400s # if (pspec == NULL) 1400s # { 1400s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1400s # } 1400s # else 1400s # { 1400s # if (info->use_gvariant) 1400s # g_value_set_variant (&value, variant); 1400s # else 1400s # g_dbus_gvariant_to_gvalue (variant, &value); 1400s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1400s # g_value_unset (&value); 1400s # ret = TRUE; 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1400s # { 1400s # _org_project_useful_interface_skeleton_handle_method_call, 1400s # _org_project_useful_interface_skeleton_handle_get_property, 1400s # _org_project_useful_interface_skeleton_handle_set_property, 1400s # {NULL} 1400s # }; 1400s # 1400s # static GDBusInterfaceInfo * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1400s # { 1400s # return org_project_useful_interface_interface_info (); 1400s # } 1400s # 1400s # static GDBusInterfaceVTable * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1400s # { 1400s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1400s # } 1400s # 1400s # static GVariant * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1400s # 1400s # GVariantBuilder builder; 1400s # guint n; 1400s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1400s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1400s # goto out; 1400s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1400s # { 1400s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1400s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1400s # { 1400s # GVariant *value; 1400s # 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); 1400s # if (value != NULL) 1400s # { 1400s # g_variant_take_ref (value); 1400s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1400s # g_variant_unref (value); 1400s # } 1400s # } 1400s # } 1400s # out: 1400s # return g_variant_builder_end (&builder); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1400s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1400s # 1400s # #else 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1400s # 1400s # #endif 1400s # static void 1400s # org_project_useful_interface_skeleton_finalize (GObject *object) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1400s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1400s # if (skeleton->priv->changed_properties_idle_source != NULL) 1400s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1400s # g_main_context_unref (skeleton->priv->context); 1400s # g_mutex_clear (&skeleton->priv->lock); 1400s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1400s # { 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1400s # #else 1400s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1400s # #endif 1400s # 1400s # g_mutex_init (&skeleton->priv->lock); 1400s # skeleton->priv->context = g_main_context_ref_thread_default (); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1400s # { 1400s # GObjectClass *gobject_class; 1400s # GDBusInterfaceSkeletonClass *skeleton_class; 1400s # 1400s # gobject_class = G_OBJECT_CLASS (klass); 1400s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1400s # 1400s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1400s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1400s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1400s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1400s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1400s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1400s # #endif 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_skeleton_new: 1400s # * 1400s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_skeleton_new (void) 1400s # { 1400s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1400s # } 1400s # /tmp/tmpw2_lzjx2/tmp3d5k5t6u.xml: 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmp3d5k5t6u.xml', '--output', '-', '--body'] 1400s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1400s # Output: /* 1400s # * This file is generated by gdbus-codegen, do not modify it. 1400s # * 1400s # * The license of this code is the same as for the D-Bus interface description 1400s # * it was derived from. Note that it links to GLib, so must comply with the 1400s # * LGPL linking clauses. 1400s # */ 1400s # 1400s # #ifdef HAVE_CONFIG_H 1400s # # include "config.h" 1400s # #endif 1400s # 1400s # #include 1400s # #ifdef G_OS_UNIX 1400s # # include 1400s # #endif 1400s # 1400s # #ifdef G_ENABLE_DEBUG 1400s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1400s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1400s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1400s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1400s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1400s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1400s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1400s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1400s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1400s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1400s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1400s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1400s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1400s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1400s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1400s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1400s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1400s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1400s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1400s # #else /* !G_ENABLE_DEBUG */ 1400s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1400s # * Do not access GValues directly in your code. Instead, use the 1400s # * g_value_get_*() functions 1400s # */ 1400s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1400s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1400s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1400s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1400s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1400s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1400s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1400s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1400s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1400s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1400s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1400s # #endif /* !G_ENABLE_DEBUG */ 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusArgInfo parent_struct; 1400s # gboolean use_gvariant; 1400s # } _ExtendedGDBusArgInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusMethodInfo parent_struct; 1400s # const gchar *signal_name; 1400s # gboolean pass_fdlist; 1400s # } _ExtendedGDBusMethodInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusSignalInfo parent_struct; 1400s # const gchar *signal_name; 1400s # } _ExtendedGDBusSignalInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusPropertyInfo parent_struct; 1400s # const gchar *hyphen_name; 1400s # guint use_gvariant : 1; 1400s # guint emits_changed_signal : 1; 1400s # } _ExtendedGDBusPropertyInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusInterfaceInfo parent_struct; 1400s # const gchar *hyphen_name; 1400s # } _ExtendedGDBusInterfaceInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # const _ExtendedGDBusPropertyInfo *info; 1400s # guint prop_id; 1400s # GValue orig_value; /* the value before the change */ 1400s # } ChangedProperty; 1400s # 1400s # static void 1400s # _changed_property_free (ChangedProperty *data) 1400s # { 1400s # g_value_unset (&data->orig_value); 1400s # g_free (data); 1400s # } 1400s # 1400s # static gboolean 1400s # _g_strv_equal0 (gchar **a, gchar **b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # guint n; 1400s # if (a == NULL && b == NULL) 1400s # { 1400s # ret = TRUE; 1400s # goto out; 1400s # } 1400s # if (a == NULL || b == NULL) 1400s # goto out; 1400s # if (g_strv_length (a) != g_strv_length (b)) 1400s # goto out; 1400s # for (n = 0; a[n] != NULL; n++) 1400s # if (g_strcmp0 (a[n], b[n]) != 0) 1400s # goto out; 1400s # ret = TRUE; 1400s # out: 1400s # return ret; 1400s # } 1400s # 1400s # static gboolean 1400s # _g_variant_equal0 (GVariant *a, GVariant *b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # if (a == NULL && b == NULL) 1400s # { 1400s # ret = TRUE; 1400s # goto out; 1400s # } 1400s # if (a == NULL || b == NULL) 1400s # goto out; 1400s # ret = g_variant_equal (a, b); 1400s # out: 1400s # return ret; 1400s # } 1400s # 1400s # G_GNUC_UNUSED static gboolean 1400s # _g_value_equal (const GValue *a, const GValue *b) 1400s # { 1400s # gboolean ret = FALSE; 1400s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1400s # switch (G_VALUE_TYPE (a)) 1400s # { 1400s # case G_TYPE_BOOLEAN: 1400s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1400s # break; 1400s # case G_TYPE_UCHAR: 1400s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1400s # break; 1400s # case G_TYPE_INT: 1400s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1400s # break; 1400s # case G_TYPE_UINT: 1400s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1400s # break; 1400s # case G_TYPE_INT64: 1400s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1400s # break; 1400s # case G_TYPE_UINT64: 1400s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1400s # break; 1400s # case G_TYPE_DOUBLE: 1400s # { 1400s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1400s # gdouble da = g_value_get_double (a); 1400s # gdouble db = g_value_get_double (b); 1400s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1400s # } 1400s # break; 1400s # case G_TYPE_STRING: 1400s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1400s # break; 1400s # case G_TYPE_VARIANT: 1400s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1400s # break; 1400s # default: 1400s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1400s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1400s # else 1400s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1400s # break; 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static void 1400s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1400s # GClosure *closure, 1400s # GValue *return_value, 1400s # unsigned int n_param_values, 1400s # const GValue *param_values, 1400s # void *invocation_hint G_GNUC_UNUSED, 1400s # void *marshal_data) 1400s # { 1400s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1400s # (void *data1, 1400s # GDBusMethodInvocation *arg_method_invocation, 1400s # void *data2); 1400s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1400s # GCClosure *cc = (GCClosure*) closure; 1400s # void *data1, *data2; 1400s # gboolean v_return; 1400s # 1400s # g_return_if_fail (return_value != NULL); 1400s # g_return_if_fail (n_param_values == 2); 1400s # 1400s # if (G_CCLOSURE_SWAP_DATA (closure)) 1400s # { 1400s # data1 = closure->data; 1400s # data2 = g_value_peek_pointer (param_values + 0); 1400s # } 1400s # else 1400s # { 1400s # data1 = g_value_peek_pointer (param_values + 0); 1400s # data2 = closure->data; 1400s # } 1400s # 1400s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1400s # (marshal_data ? marshal_data : cc->callback); 1400s # 1400s # v_return = 1400s # callback (data1, 1400s # g_marshal_value_peek_object (param_values + 1), 1400s # data2); 1400s # 1400s # g_value_set_boolean (return_value, v_return); 1400s # } 1400s # 1400s # /* ------------------------------------------------------------------------ 1400s # * Code for interface org.project.UsefulInterface 1400s # * ------------------------------------------------------------------------ 1400s # */ 1400s # 1400s # /** 1400s # * SECTION:OrgProjectUsefulInterface 1400s # * @title: OrgProjectUsefulInterface 1400s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1400s # * 1400s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1400s # */ 1400s # 1400s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1400s # 1400s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "arg_u", 1400s # (gchar *) "u", 1400s # NULL 1400s # }, 1400s # FALSE 1400s # }; 1400s # 1400s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1400s # { 1400s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1400s # NULL 1400s # }; 1400s # 1400s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "SingleArgMethodU", 1400s # NULL, 1400s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1400s # NULL 1400s # }, 1400s # "handle-single-arg-method-u", 1400s # FALSE 1400s # }; 1400s # 1400s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1400s # { 1400s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1400s # NULL 1400s # }; 1400s # 1400s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1400s # { 1400s # { 1400s # -1, 1400s # (gchar *) "org.project.UsefulInterface", 1400s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1400s # NULL, 1400s # NULL, 1400s # NULL 1400s # }, 1400s # "org-project-useful-interface", 1400s # }; 1400s # 1400s # 1400s # /** 1400s # * org_project_useful_interface_interface_info: 1400s # * 1400s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1400s # * 1400s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1400s # */ 1400s # GDBusInterfaceInfo * 1400s # org_project_useful_interface_interface_info (void) 1400s # { 1400s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_override_properties: 1400s # * @klass: The class structure for a #GObject derived class. 1400s # * @property_id_begin: The property id to assign to the first overridden property. 1400s # * 1400s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1400s # * The properties are overridden in the order they are defined. 1400s # * 1400s # * Returns: The last property id. 1400s # */ 1400s # guint 1400s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1400s # { 1400s # return property_id_begin - 1; 1400s # } 1400s # 1400s # 1400s # inline static void 1400s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1400s # GClosure *closure, 1400s # GValue *return_value, 1400s # unsigned int n_param_values, 1400s # const GValue *param_values, 1400s # void *invocation_hint, 1400s # void *marshal_data) 1400s # { 1400s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1400s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1400s # } 1400s # 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterface: 1400s # * 1400s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceIface: 1400s # * @parent_iface: The parent interface. 1400s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1400s # * 1400s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1400s # */ 1400s # 1400s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1400s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1400s # 1400s # static void 1400s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1400s # { 1400s # /* GObject signals for incoming D-Bus method calls: */ 1400s # /** 1400s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1400s # * @object: A #OrgProjectUsefulInterface. 1400s # * @invocation: A #GDBusMethodInvocation. 1400s # * 1400s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1400s # * 1400s # * 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. 1400s # * 1400s # * 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. 1400s # */ 1400s # g_signal_new ("handle-single-arg-method-u", 1400s # G_TYPE_FROM_INTERFACE (iface), 1400s # G_SIGNAL_RUN_LAST, 1400s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1400s # g_signal_accumulator_true_handled, 1400s # NULL, 1400s # org_project_useful_interface_method_marshal_single_arg_method_u, 1400s # G_TYPE_BOOLEAN, 1400s # 1, 1400s # G_TYPE_DBUS_METHOD_INVOCATION); 1400s # 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_u: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1400s # */ 1400s # void 1400s # org_project_useful_interface_call_single_arg_method_u ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1400s # "SingleArgMethodU", 1400s # g_variant_new ("()"), 1400s # G_DBUS_CALL_FLAGS_NONE, 1400s # -1, 1400s # cancellable, 1400s # callback, 1400s # user_data); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_u_finish: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1400s # * @error: Return location for error or %NULL. 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1400s # * 1400s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1400s # */ 1400s # gboolean 1400s # org_project_useful_interface_call_single_arg_method_u_finish ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # guint *out_arg_u, 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GVariant *_ret; 1400s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1400s # if (_ret == NULL) 1400s # goto _out; 1400s # g_variant_get (_ret, 1400s # "(u)", 1400s # out_arg_u); 1400s # g_variant_unref (_ret); 1400s # _out: 1400s # return _ret != NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_call_single_arg_method_u_sync: 1400s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1400s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL. 1400s # * 1400s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1400s # * 1400s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1400s # */ 1400s # gboolean 1400s # org_project_useful_interface_call_single_arg_method_u_sync ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # guint *out_arg_u, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GVariant *_ret; 1400s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1400s # "SingleArgMethodU", 1400s # g_variant_new ("()"), 1400s # G_DBUS_CALL_FLAGS_NONE, 1400s # -1, 1400s # cancellable, 1400s # error); 1400s # if (_ret == NULL) 1400s # goto _out; 1400s # g_variant_get (_ret, 1400s # "(u)", 1400s # out_arg_u); 1400s # g_variant_unref (_ret); 1400s # _out: 1400s # return _ret != NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_complete_single_arg_method_u: 1400s # * @object: A #OrgProjectUsefulInterface. 1400s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1400s # * @arg_u: Parameter to return. 1400s # * 1400s # * 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. 1400s # * 1400s # * This method will free @invocation, you cannot use it afterwards. 1400s # */ 1400s # void 1400s # org_project_useful_interface_complete_single_arg_method_u ( 1400s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1400s # GDBusMethodInvocation *invocation, 1400s # guint arg_u) 1400s # { 1400s # g_dbus_method_invocation_return_value (invocation, 1400s # g_variant_new ("(u)", 1400s # arg_u)); 1400s # } 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceProxy: 1400s # * 1400s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceProxyClass: 1400s # * @parent_class: The parent class. 1400s # * 1400s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1400s # */ 1400s # 1400s # struct _OrgProjectUsefulInterfaceProxyPrivate 1400s # { 1400s # GData *qdata; 1400s # }; 1400s # 1400s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1400s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1400s # 1400s # #else 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1400s # 1400s # #endif 1400s # static void 1400s # org_project_useful_interface_proxy_finalize (GObject *object) 1400s # { 1400s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1400s # g_datalist_clear (&proxy->priv->qdata); 1400s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1400s # guint prop_id G_GNUC_UNUSED, 1400s # GValue *value G_GNUC_UNUSED, 1400s # GParamSpec *pspec G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1400s # guint prop_id G_GNUC_UNUSED, 1400s # const GValue *value G_GNUC_UNUSED, 1400s # GParamSpec *pspec G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1400s # const gchar *sender_name G_GNUC_UNUSED, 1400s # const gchar *signal_name, 1400s # GVariant *parameters) 1400s # { 1400s # _ExtendedGDBusSignalInfo *info; 1400s # GVariantIter iter; 1400s # GVariant *child; 1400s # GValue *paramv; 1400s # gsize num_params; 1400s # gsize n; 1400s # guint signal_id; 1400s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1400s # if (info == NULL) 1400s # return; 1400s # num_params = g_variant_n_children (parameters); 1400s # paramv = g_new0 (GValue, num_params + 1); 1400s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_set_object (¶mv[0], proxy); 1400s # g_variant_iter_init (&iter, parameters); 1400s # n = 1; 1400s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1400s # { 1400s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1400s # if (arg_info->use_gvariant) 1400s # { 1400s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1400s # g_value_set_variant (¶mv[n], child); 1400s # n++; 1400s # } 1400s # else 1400s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1400s # g_variant_unref (child); 1400s # } 1400s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_signal_emitv (paramv, signal_id, 0, NULL); 1400s # for (n = 0; n < num_params + 1; n++) 1400s # g_value_unset (¶mv[n]); 1400s # g_free (paramv); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1400s # GVariant *changed_properties, 1400s # const gchar *const *invalidated_properties) 1400s # { 1400s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1400s # guint n; 1400s # const gchar *key; 1400s # GVariantIter *iter; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # g_variant_get (changed_properties, "a{sv}", &iter); 1400s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1400s # { 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1400s # g_datalist_remove_data (&proxy->priv->qdata, key); 1400s # if (info != NULL) 1400s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1400s # } 1400s # g_variant_iter_free (iter); 1400s # for (n = 0; invalidated_properties[n] != NULL; n++) 1400s # { 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1400s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1400s # if (info != NULL) 1400s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1400s # } 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1400s # { 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1400s # #else 1400s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1400s # #endif 1400s # 1400s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1400s # { 1400s # GObjectClass *gobject_class; 1400s # GDBusProxyClass *proxy_class; 1400s # 1400s # gobject_class = G_OBJECT_CLASS (klass); 1400s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1400s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1400s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1400s # 1400s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1400s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1400s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1400s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1400s # #endif 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new: 1400s # * @connection: A #GDBusConnection. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1400s # * 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1400s # */ 1400s # void 1400s # org_project_useful_interface_proxy_new ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_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); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_finish: 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_finish ( 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GObject *ret; 1400s # GObject *source_object; 1400s # source_object = g_async_result_get_source_object (res); 1400s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1400s # g_object_unref (source_object); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_sync: 1400s # * @connection: A #GDBusConnection. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1400s # * 1400s # * The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_sync ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GInitable *ret; 1400s # 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); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus: 1400s # * @bus_type: A #GBusType. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: A bus name (well-known or unique). 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1400s # * @user_data: User data to pass to @callback. 1400s # * 1400s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1400s # * 1400s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1400s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1400s # */ 1400s # void 1400s # org_project_useful_interface_proxy_new_for_bus ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data) 1400s # { 1400s # g_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); 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus_finish: 1400s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_for_bus_finish ( 1400s # GAsyncResult *res, 1400s # GError **error) 1400s # { 1400s # GObject *ret; 1400s # GObject *source_object; 1400s # source_object = g_async_result_get_source_object (res); 1400s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1400s # g_object_unref (source_object); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_proxy_new_for_bus_sync: 1400s # * @bus_type: A #GBusType. 1400s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1400s # * @name: A bus name (well-known or unique). 1400s # * @object_path: An object path. 1400s # * @cancellable: (nullable): A #GCancellable or %NULL. 1400s # * @error: Return location for error or %NULL 1400s # * 1400s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1400s # * 1400s # * The calling thread is blocked until a reply is received. 1400s # * 1400s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_proxy_new_for_bus_sync ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error) 1400s # { 1400s # GInitable *ret; 1400s # 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); 1400s # if (ret != NULL) 1400s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1400s # else 1400s # return NULL; 1400s # } 1400s # 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceSkeleton: 1400s # * 1400s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1400s # */ 1400s # 1400s # /** 1400s # * OrgProjectUsefulInterfaceSkeletonClass: 1400s # * @parent_class: The parent class. 1400s # * 1400s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1400s # */ 1400s # 1400s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1400s # { 1400s # GValue *properties; 1400s # GList *changed_properties; 1400s # GSource *changed_properties_idle_source; 1400s # GMainContext *context; 1400s # GMutex lock; 1400s # }; 1400s # 1400s # static void 1400s # _org_project_useful_interface_skeleton_handle_method_call ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name, 1400s # const gchar *method_name, 1400s # GVariant *parameters, 1400s # GDBusMethodInvocation *invocation, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # _ExtendedGDBusMethodInfo *info; 1400s # GVariantIter iter; 1400s # GVariant *child; 1400s # GValue *paramv; 1400s # gsize num_params; 1400s # guint num_extra; 1400s # gsize n; 1400s # guint signal_id; 1400s # GValue return_value = G_VALUE_INIT; 1400s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1400s # g_assert (info != NULL); 1400s # num_params = g_variant_n_children (parameters); 1400s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1400s # n = 0; 1400s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_set_object (¶mv[n++], skeleton); 1400s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1400s # g_value_set_object (¶mv[n++], invocation); 1400s # if (info->pass_fdlist) 1400s # { 1400s # #ifdef G_OS_UNIX 1400s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1400s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1400s # #else 1400s # g_assert_not_reached (); 1400s # #endif 1400s # } 1400s # g_variant_iter_init (&iter, parameters); 1400s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1400s # { 1400s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1400s # if (arg_info->use_gvariant) 1400s # { 1400s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1400s # g_value_set_variant (¶mv[n], child); 1400s # n++; 1400s # } 1400s # else 1400s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1400s # g_variant_unref (child); 1400s # } 1400s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1400s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1400s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1400s # if (!g_value_get_boolean (&return_value)) 1400s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1400s # g_value_unset (&return_value); 1400s # for (n = 0; n < num_params + num_extra; n++) 1400s # g_value_unset (¶mv[n]); 1400s # g_free (paramv); 1400s # } 1400s # 1400s # static GVariant * 1400s # _org_project_useful_interface_skeleton_handle_get_property ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name G_GNUC_UNUSED, 1400s # const gchar *property_name, 1400s # GError **error, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # GValue value = G_VALUE_INIT; 1400s # GParamSpec *pspec; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # GVariant *ret; 1400s # ret = NULL; 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1400s # g_assert (info != NULL); 1400s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1400s # if (pspec == NULL) 1400s # { 1400s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1400s # } 1400s # else 1400s # { 1400s # g_value_init (&value, pspec->value_type); 1400s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1400s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1400s # g_value_unset (&value); 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static gboolean 1400s # _org_project_useful_interface_skeleton_handle_set_property ( 1400s # GDBusConnection *connection G_GNUC_UNUSED, 1400s # const gchar *sender G_GNUC_UNUSED, 1400s # const gchar *object_path G_GNUC_UNUSED, 1400s # const gchar *interface_name G_GNUC_UNUSED, 1400s # const gchar *property_name, 1400s # GVariant *variant, 1400s # GError **error, 1400s # gpointer user_data) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1400s # GValue value = G_VALUE_INIT; 1400s # GParamSpec *pspec; 1400s # _ExtendedGDBusPropertyInfo *info; 1400s # gboolean ret; 1400s # ret = FALSE; 1400s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1400s # g_assert (info != NULL); 1400s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1400s # if (pspec == NULL) 1400s # { 1400s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1400s # } 1400s # else 1400s # { 1400s # if (info->use_gvariant) 1400s # g_value_set_variant (&value, variant); 1400s # else 1400s # g_dbus_gvariant_to_gvalue (variant, &value); 1400s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1400s # g_value_unset (&value); 1400s # ret = TRUE; 1400s # } 1400s # return ret; 1400s # } 1400s # 1400s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1400s # { 1400s # _org_project_useful_interface_skeleton_handle_method_call, 1400s # _org_project_useful_interface_skeleton_handle_get_property, 1400s # _org_project_useful_interface_skeleton_handle_set_property, 1400s # {NULL} 1400s # }; 1400s # 1400s # static GDBusInterfaceInfo * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1400s # { 1400s # return org_project_useful_interface_interface_info (); 1400s # } 1400s # 1400s # static GDBusInterfaceVTable * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1400s # { 1400s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1400s # } 1400s # 1400s # static GVariant * 1400s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1400s # 1400s # GVariantBuilder builder; 1400s # guint n; 1400s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1400s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1400s # goto out; 1400s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1400s # { 1400s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1400s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1400s # { 1400s # GVariant *value; 1400s # 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); 1400s # if (value != NULL) 1400s # { 1400s # g_variant_take_ref (value); 1400s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1400s # g_variant_unref (value); 1400s # } 1400s # } 1400s # } 1400s # out: 1400s # return g_variant_builder_end (&builder); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1400s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1400s # 1400s # #else 1400s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1400s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1400s # 1400s # #endif 1400s # static void 1400s # org_project_useful_interface_skeleton_finalize (GObject *object) 1400s # { 1400s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1400s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1400s # if (skeleton->priv->changed_properties_idle_source != NULL) 1400s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1400s # g_main_context_unref (skeleton->priv->context); 1400s # g_mutex_clear (&skeleton->priv->lock); 1400s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1400s # { 1400s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1400s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1400s # #else 1400s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1400s # #endif 1400s # 1400s # g_mutex_init (&skeleton->priv->lock); 1400s # skeleton->priv->context = g_main_context_ref_thread_default (); 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1400s # { 1400s # GObjectClass *gobject_class; 1400s # GDBusInterfaceSkeletonClass *skeleton_class; 1400s # 1400s # gobject_class = G_OBJECT_CLASS (klass); 1400s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1400s # 1400s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1400s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1400s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1400s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1400s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1400s # 1400s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1400s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1400s # #endif 1400s # } 1400s # 1400s # static void 1400s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1400s # { 1400s # } 1400s # 1400s # /** 1400s # * org_project_useful_interface_skeleton_new: 1400s # * 1400s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1400s # * 1400s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1400s # */ 1400s # OrgProjectUsefulInterface * 1400s # org_project_useful_interface_skeleton_new (void) 1400s # { 1400s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1400s # } 1400s # /tmp/tmpw2_lzjx2/tmptvazocix.xml: 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmptvazocix.xml', '--output', '-', '--body'] 1400s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1400s # Output: /* 1400s # * This file is generated by gdbus-codegen, do not modify it. 1400s # * 1400s # * The license of this code is the same as for the D-Bus interface description 1400s # * it was derived from. Note that it links to GLib, so must comply with the 1400s # * LGPL linking clauses. 1400s # */ 1400s # 1400s # #ifdef HAVE_CONFIG_H 1400s # # include "config.h" 1400s # #endif 1400s # 1400s # #include 1400s # #ifdef G_OS_UNIX 1400s # # include 1400s # #endif 1400s # 1400s # #ifdef G_ENABLE_DEBUG 1400s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1400s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1400s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1400s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1400s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1400s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1400s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1400s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1400s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1400s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1400s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1400s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1400s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1400s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1400s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1400s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1400s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1400s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1400s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1400s # #else /* !G_ENABLE_DEBUG */ 1400s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1400s # * Do not access GValues directly in your code. Instead, use the 1400s # * g_value_get_*() functions 1400s # */ 1400s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1400s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1400s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1400s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1400s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1400s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1400s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1400s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1400s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1400s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1400s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1400s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1400s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1400s # #endif /* !G_ENABLE_DEBUG */ 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusArgInfo parent_struct; 1400s # gboolean use_gvariant; 1400s # } _ExtendedGDBusArgInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusMethodInfo parent_struct; 1400s # const gchar *signal_name; 1400s # gboolean pass_fdlist; 1400s # } _ExtendedGDBusMethodInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusSignalInfo parent_struct; 1400s # const gchar *signal_name; 1400s # } _ExtendedGDBusSignalInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusPropertyInfo parent_struct; 1400s # const gchar *hyphen_name; 1400s # guint use_gvariant : 1; 1400s # guint emits_changed_signal : 1; 1400s # } _ExtendedGDBusPropertyInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # GDBusInterfaceInfo parent_struct; 1400s # const gchar *hyphen_name; 1400s # } _ExtendedGDBusInterfaceInfo; 1400s # 1400s # typedef struct 1400s # { 1400s # const _ExtendedGDBusPropertyInfo *info; 1400s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.UsefulInterface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectUsefulInterface 1401s # * @title: OrgProjectUsefulInterface 1401s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "arg_x", 1401s # (gchar *) "x", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgMethodX", 1401s # NULL, 1401s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "handle-single-arg-method-x", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.UsefulInterface", 1401s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-useful-interface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_useful_interface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-single-arg-method-x", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_useful_interface_method_marshal_single_arg_method_x, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_x: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_useful_interface_call_single_arg_method_x ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodX", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_x_finish: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_x_finish ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gint64 *out_arg_x, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(x)", 1401s # out_arg_x); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_x_sync: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_x_sync ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gint64 *out_arg_x, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodX", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(x)", 1401s # out_arg_x); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_complete_single_arg_method_x: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * @arg_x: Parameter to return. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_useful_interface_complete_single_arg_method_x ( 1401s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation, 1401s # gint64 arg_x) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("(x)", 1401s # arg_x)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxy: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1401s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1401s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeleton: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_useful_interface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_useful_interface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_useful_interface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1401s # { 1401s # _org_project_useful_interface_skeleton_handle_method_call, 1401s # _org_project_useful_interface_skeleton_handle_get_property, 1401s # _org_project_useful_interface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_useful_interface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1401s # } 1401s # /tmp/tmpw2_lzjx2/tmpinqktorf.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmpinqktorf.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.UsefulInterface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectUsefulInterface 1401s # * @title: OrgProjectUsefulInterface 1401s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "arg_t", 1401s # (gchar *) "t", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgMethodT", 1401s # NULL, 1401s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "handle-single-arg-method-t", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.UsefulInterface", 1401s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-useful-interface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_useful_interface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-single-arg-method-t", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_useful_interface_method_marshal_single_arg_method_t, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_t: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_useful_interface_call_single_arg_method_t ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodT", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_t_finish: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_t_finish ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # guint64 *out_arg_t, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(t)", 1401s # out_arg_t); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_t_sync: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_t_sync ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # guint64 *out_arg_t, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodT", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(t)", 1401s # out_arg_t); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_complete_single_arg_method_t: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * @arg_t: Parameter to return. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_useful_interface_complete_single_arg_method_t ( 1401s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation, 1401s # guint64 arg_t) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("(t)", 1401s # arg_t)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxy: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1401s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1401s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeleton: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_useful_interface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_useful_interface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_useful_interface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1401s # { 1401s # _org_project_useful_interface_skeleton_handle_method_call, 1401s # _org_project_useful_interface_skeleton_handle_get_property, 1401s # _org_project_useful_interface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_useful_interface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1401s # } 1401s # /tmp/tmpw2_lzjx2/tmpvyhsf60f.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmpvyhsf60f.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.UsefulInterface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectUsefulInterface 1401s # * @title: OrgProjectUsefulInterface 1401s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "arg_d", 1401s # (gchar *) "d", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgMethodD", 1401s # NULL, 1401s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "handle-single-arg-method-d", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.UsefulInterface", 1401s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-useful-interface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_useful_interface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-single-arg-method-d", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_useful_interface_method_marshal_single_arg_method_d, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_d: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_useful_interface_call_single_arg_method_d ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodD", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_d_finish: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_d_finish ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gdouble *out_arg_d, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(d)", 1401s # out_arg_d); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_d_sync: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_d_sync ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gdouble *out_arg_d, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodD", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(d)", 1401s # out_arg_d); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_complete_single_arg_method_d: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * @arg_d: Parameter to return. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_useful_interface_complete_single_arg_method_d ( 1401s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation, 1401s # gdouble arg_d) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("(d)", 1401s # arg_d)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxy: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1401s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1401s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeleton: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_useful_interface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_useful_interface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_useful_interface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1401s # { 1401s # _org_project_useful_interface_skeleton_handle_method_call, 1401s # _org_project_useful_interface_skeleton_handle_get_property, 1401s # _org_project_useful_interface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_useful_interface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1401s # } 1401s # /tmp/tmpw2_lzjx2/tmp7v3x4jvk.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmp7v3x4jvk.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.UsefulInterface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectUsefulInterface 1401s # * @title: OrgProjectUsefulInterface 1401s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "arg_s", 1401s # (gchar *) "s", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgMethodS", 1401s # NULL, 1401s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "handle-single-arg-method-s", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.UsefulInterface", 1401s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-useful-interface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_useful_interface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-single-arg-method-s", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_useful_interface_method_marshal_single_arg_method_s, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_s: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_useful_interface_call_single_arg_method_s ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodS", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_s_finish: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_s_finish ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gchar **out_arg_s, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(s)", 1401s # out_arg_s); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_s_sync: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_s_sync ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gchar **out_arg_s, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodS", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(s)", 1401s # out_arg_s); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_complete_single_arg_method_s: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * @arg_s: Parameter to return. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_useful_interface_complete_single_arg_method_s ( 1401s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation, 1401s # const gchar *arg_s) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("(s)", 1401s # arg_s)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxy: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1401s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1401s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeleton: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_useful_interface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_useful_interface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_useful_interface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1401s # { 1401s # _org_project_useful_interface_skeleton_handle_method_call, 1401s # _org_project_useful_interface_skeleton_handle_get_property, 1401s # _org_project_useful_interface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_useful_interface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1401s # } 1401s # /tmp/tmpw2_lzjx2/tmptl0fhpqt.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmptl0fhpqt.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.UsefulInterface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectUsefulInterface 1401s # * @title: OrgProjectUsefulInterface 1401s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "arg_o", 1401s # (gchar *) "o", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgMethodO", 1401s # NULL, 1401s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "handle-single-arg-method-o", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.UsefulInterface", 1401s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-useful-interface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_useful_interface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-single-arg-method-o", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_useful_interface_method_marshal_single_arg_method_o, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_o: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_useful_interface_call_single_arg_method_o ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodO", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_o_finish: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_o_finish ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gchar **out_arg_o, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(o)", 1401s # out_arg_o); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_o_sync: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_o_sync ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gchar **out_arg_o, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodO", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(o)", 1401s # out_arg_o); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_complete_single_arg_method_o: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * @arg_o: Parameter to return. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_useful_interface_complete_single_arg_method_o ( 1401s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation, 1401s # const gchar *arg_o) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("(o)", 1401s # arg_o)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxy: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1401s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1401s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeleton: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_useful_interface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_useful_interface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_useful_interface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1401s # { 1401s # _org_project_useful_interface_skeleton_handle_method_call, 1401s # _org_project_useful_interface_skeleton_handle_get_property, 1401s # _org_project_useful_interface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_useful_interface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1401s # } 1401s # /tmp/tmpw2_lzjx2/tmphbydhq7e.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmphbydhq7e.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.UsefulInterface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectUsefulInterface 1401s # * @title: OrgProjectUsefulInterface 1401s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "arg_g", 1401s # (gchar *) "g", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgMethodG", 1401s # NULL, 1401s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "handle-single-arg-method-g", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.UsefulInterface", 1401s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-useful-interface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_useful_interface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-single-arg-method-g", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_useful_interface_method_marshal_single_arg_method_g, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_g: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_useful_interface_call_single_arg_method_g ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodG", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_g_finish: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_g_finish ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gchar **out_arg_g, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(g)", 1401s # out_arg_g); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_g_sync: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_g_sync ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gchar **out_arg_g, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodG", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(g)", 1401s # out_arg_g); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_complete_single_arg_method_g: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * @arg_g: Parameter to return. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_useful_interface_complete_single_arg_method_g ( 1401s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation, 1401s # const gchar *arg_g) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("(g)", 1401s # arg_g)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxy: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1401s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1401s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeleton: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_useful_interface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_useful_interface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_useful_interface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1401s # { 1401s # _org_project_useful_interface_skeleton_handle_method_call, 1401s # _org_project_useful_interface_skeleton_handle_get_property, 1401s # _org_project_useful_interface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_useful_interface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1401s # } 1401s # /tmp/tmpw2_lzjx2/tmpw_pyfb07.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmpw_pyfb07.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.UsefulInterface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectUsefulInterface 1401s # * @title: OrgProjectUsefulInterface 1401s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "arg_h", 1401s # (gchar *) "h", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgMethodH", 1401s # NULL, 1401s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "handle-single-arg-method-h", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.UsefulInterface", 1401s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-useful-interface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_useful_interface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-single-arg-method-h", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_useful_interface_method_marshal_single_arg_method_h, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_h: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_useful_interface_call_single_arg_method_h ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodH", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_h_finish: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_h_finish ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GVariant **out_arg_h, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(@h)", 1401s # out_arg_h); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_h_sync: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_h_sync ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GVariant **out_arg_h, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodH", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(@h)", 1401s # out_arg_h); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_complete_single_arg_method_h: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * @arg_h: Parameter to return. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_useful_interface_complete_single_arg_method_h ( 1401s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation, 1401s # GVariant *arg_h) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("(@h)", 1401s # arg_h)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxy: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1401s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1401s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeleton: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_useful_interface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_useful_interface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_useful_interface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1401s # { 1401s # _org_project_useful_interface_skeleton_handle_method_call, 1401s # _org_project_useful_interface_skeleton_handle_get_property, 1401s # _org_project_useful_interface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_useful_interface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1401s # } 1401s # /tmp/tmpw2_lzjx2/tmp7ma7923c.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmp7ma7923c.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.UsefulInterface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectUsefulInterface 1401s # * @title: OrgProjectUsefulInterface 1401s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "arg_ay", 1401s # (gchar *) "ay", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgMethodAy", 1401s # NULL, 1401s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "handle-single-arg-method-ay", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.UsefulInterface", 1401s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-useful-interface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_useful_interface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-single-arg-method-ay", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_ay: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_useful_interface_call_single_arg_method_ay ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodAy", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gchar **out_arg_ay, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(^ay)", 1401s # out_arg_ay); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gchar **out_arg_ay, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodAy", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(^ay)", 1401s # out_arg_ay); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_complete_single_arg_method_ay: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * @arg_ay: Parameter to return. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_useful_interface_complete_single_arg_method_ay ( 1401s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation, 1401s # const gchar *arg_ay) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("(^ay)", 1401s # arg_ay)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxy: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1401s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1401s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeleton: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_useful_interface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_useful_interface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_useful_interface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1401s # { 1401s # _org_project_useful_interface_skeleton_handle_method_call, 1401s # _org_project_useful_interface_skeleton_handle_get_property, 1401s # _org_project_useful_interface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_useful_interface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1401s # } 1401s # /tmp/tmpw2_lzjx2/tmpo8lij2st.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmpo8lij2st.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.UsefulInterface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectUsefulInterface 1401s # * @title: OrgProjectUsefulInterface 1401s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "arg_as", 1401s # (gchar *) "as", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgMethodAs", 1401s # NULL, 1401s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "handle-single-arg-method-as", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.UsefulInterface", 1401s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-useful-interface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_useful_interface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-single-arg-method-as", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_useful_interface_method_marshal_single_arg_method_as, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_as: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_useful_interface_call_single_arg_method_as ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodAs", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_as_finish: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_as_finish ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gchar ***out_arg_as, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(^as)", 1401s # out_arg_as); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_as_sync: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_as_sync ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gchar ***out_arg_as, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodAs", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(^as)", 1401s # out_arg_as); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_complete_single_arg_method_as: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * @arg_as: Parameter to return. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_useful_interface_complete_single_arg_method_as ( 1401s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation, 1401s # const gchar *const *arg_as) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("(^as)", 1401s # arg_as)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxy: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1401s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1401s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeleton: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_useful_interface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_useful_interface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_useful_interface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1401s # { 1401s # _org_project_useful_interface_skeleton_handle_method_call, 1401s # _org_project_useful_interface_skeleton_handle_get_property, 1401s # _org_project_useful_interface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_useful_interface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1401s # } 1401s # /tmp/tmpw2_lzjx2/tmpm04gsk95.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmpm04gsk95.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.UsefulInterface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectUsefulInterface 1401s # * @title: OrgProjectUsefulInterface 1401s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "arg_ao", 1401s # (gchar *) "ao", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgMethodAo", 1401s # NULL, 1401s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "handle-single-arg-method-ao", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.UsefulInterface", 1401s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-useful-interface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_useful_interface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-single-arg-method-ao", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_ao: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_useful_interface_call_single_arg_method_ao ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodAo", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gchar ***out_arg_ao, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(^ao)", 1401s # out_arg_ao); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gchar ***out_arg_ao, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodAo", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(^ao)", 1401s # out_arg_ao); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_complete_single_arg_method_ao: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * @arg_ao: Parameter to return. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_useful_interface_complete_single_arg_method_ao ( 1401s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation, 1401s # const gchar *const *arg_ao) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("(^ao)", 1401s # arg_ao)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxy: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1401s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1401s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeleton: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_useful_interface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_useful_interface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_useful_interface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1401s # { 1401s # _org_project_useful_interface_skeleton_handle_method_call, 1401s # _org_project_useful_interface_skeleton_handle_get_property, 1401s # _org_project_useful_interface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_useful_interface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1401s # } 1401s # /tmp/tmpw2_lzjx2/tmpzoxnu0eq.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmpzoxnu0eq.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.UsefulInterface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectUsefulInterface 1401s # * @title: OrgProjectUsefulInterface 1401s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "arg_aay", 1401s # (gchar *) "aay", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgMethodAay", 1401s # NULL, 1401s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "handle-single-arg-method-aay", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.UsefulInterface", 1401s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-useful-interface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_useful_interface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-single-arg-method-aay", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_aay: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_useful_interface_call_single_arg_method_aay ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodAay", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gchar ***out_arg_aay, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(^aay)", 1401s # out_arg_aay); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # gchar ***out_arg_aay, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodAay", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(^aay)", 1401s # out_arg_aay); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_complete_single_arg_method_aay: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * @arg_aay: Parameter to return. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_useful_interface_complete_single_arg_method_aay ( 1401s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation, 1401s # const gchar *const *arg_aay) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("(^aay)", 1401s # arg_aay)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxy: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1401s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1401s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeleton: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_useful_interface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_useful_interface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_useful_interface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1401s # { 1401s # _org_project_useful_interface_skeleton_handle_method_call, 1401s # _org_project_useful_interface_skeleton_handle_get_property, 1401s # _org_project_useful_interface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_useful_interface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1401s # } 1401s # /tmp/tmpw2_lzjx2/tmpytfz_2u6.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2_lzjx2/tmpytfz_2u6.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.UsefulInterface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectUsefulInterface 1401s # * @title: OrgProjectUsefulInterface 1401s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "arg_asv", 1401s # (gchar *) "a{sv}", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgMethodAsv", 1401s # NULL, 1401s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "handle-single-arg-method-asv", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.UsefulInterface", 1401s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-useful-interface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_useful_interface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-single-arg-method-asv", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_asv: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_useful_interface_call_single_arg_method_asv ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodAsv", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GVariant **out_arg_asv, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(@a{sv})", 1401s # out_arg_asv); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1401s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1401s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1401s # OrgProjectUsefulInterface *proxy, 1401s # GVariant **out_arg_asv, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SingleArgMethodAsv", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(@a{sv})", 1401s # out_arg_asv); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_complete_single_arg_method_asv: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * @arg_asv: Parameter to return. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_useful_interface_complete_single_arg_method_asv ( 1401s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation, 1401s # GVariant *arg_asv) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("(@a{sv})", 1401s # arg_asv)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxy: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1401s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1401s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeleton: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_useful_interface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_useful_interface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_useful_interface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1401s # { 1401s # _org_project_useful_interface_skeleton_handle_method_call, 1401s # _org_project_useful_interface_skeleton_handle_get_property, 1401s # _org_project_useful_interface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_useful_interface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1401s # } 1401s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1401s # tmpdir: /tmp/tmpdpz4vvau 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpdpz4vvau/tmpc_pizbld.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdpz4vvau/tmpc_pizbld.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # gboolean arg_an_b, 1401s # guchar arg_an_y, 1401s # gint16 arg_an_n, 1401s # guint16 arg_an_q, 1401s # gint arg_an_i, 1401s # guint arg_an_u, 1401s # gint64 arg_an_x, 1401s # guint64 arg_an_t, 1401s # gdouble arg_an_d, 1401s # const gchar *arg_an_s, 1401s # const gchar *arg_an_o, 1401s # const gchar *arg_an_g, 1401s # GVariant *arg_an_h, 1401s # const gchar *arg_an_ay, 1401s # const gchar *const *arg_an_as, 1401s # const gchar *const *arg_an_ao, 1401s # const gchar *const *arg_an_aay, 1401s # GVariant *arg_an_asv, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 20); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # g_marshal_value_peek_boolean (param_values + 2), 1401s # g_marshal_value_peek_uchar (param_values + 3), 1401s # g_marshal_value_peek_int (param_values + 4), 1401s # g_marshal_value_peek_uint (param_values + 5), 1401s # g_marshal_value_peek_int (param_values + 6), 1401s # g_marshal_value_peek_uint (param_values + 7), 1401s # g_marshal_value_peek_int64 (param_values + 8), 1401s # g_marshal_value_peek_uint64 (param_values + 9), 1401s # g_marshal_value_peek_double (param_values + 10), 1401s # g_marshal_value_peek_string (param_values + 11), 1401s # g_marshal_value_peek_string (param_values + 12), 1401s # g_marshal_value_peek_string (param_values + 13), 1401s # g_marshal_value_peek_variant (param_values + 14), 1401s # g_marshal_value_peek_string (param_values + 15), 1401s # g_marshal_value_peek_boxed (param_values + 16), 1401s # g_marshal_value_peek_boxed (param_values + 17), 1401s # g_marshal_value_peek_boxed (param_values + 18), 1401s # g_marshal_value_peek_variant (param_values + 19), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.CallableIface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectCallableIface 1401s # * @title: OrgProjectCallableIface 1401s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.CallableIface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_b", 1401s # (gchar *) "b", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_y", 1401s # (gchar *) "y", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_n", 1401s # (gchar *) "n", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_q", 1401s # (gchar *) "q", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_i", 1401s # (gchar *) "i", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_u", 1401s # (gchar *) "u", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_x", 1401s # (gchar *) "x", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_t", 1401s # (gchar *) "t", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_d", 1401s # (gchar *) "d", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_s", 1401s # (gchar *) "s", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_o", 1401s # (gchar *) "o", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_g", 1401s # (gchar *) "g", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_h", 1401s # (gchar *) "h", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_ay", 1401s # (gchar *) "ay", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_as", 1401s # (gchar *) "as", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_ao", 1401s # (gchar *) "ao", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_aay", 1401s # (gchar *) "aay", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_asv", 1401s # (gchar *) "a{sv}", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1401s # { 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "MethodWithManyArgs", 1401s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "handle-method-with-many-args", 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_b", 1401s # (gchar *) "b", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_y", 1401s # (gchar *) "y", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_n", 1401s # (gchar *) "n", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_q", 1401s # (gchar *) "q", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_i", 1401s # (gchar *) "i", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_u", 1401s # (gchar *) "u", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_x", 1401s # (gchar *) "x", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_t", 1401s # (gchar *) "t", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_d", 1401s # (gchar *) "d", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_s", 1401s # (gchar *) "s", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_o", 1401s # (gchar *) "o", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_g", 1401s # (gchar *) "g", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_h", 1401s # (gchar *) "h", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_ay", 1401s # (gchar *) "ay", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_as", 1401s # (gchar *) "as", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_ao", 1401s # (gchar *) "ao", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_aay", 1401s # (gchar *) "aay", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_asv", 1401s # (gchar *) "a{sv}", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1401s # { 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SameMethodWithManyArgs", 1401s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "handle-same-method-with-many-args", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1401s # { 1401s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1401s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.CallableIface", 1401s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-callable-iface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_callable_iface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_callable_iface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_callable_iface_method_marshal_method_with_many_args ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _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, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _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, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectCallableIface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1401s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.CallableIface. 1401s # */ 1401s # 1401s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectCallableIface::handle-method-with-many-args: 1401s # * @object: A #OrgProjectCallableIface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * @arg_an_b: Argument passed by remote caller. 1401s # * @arg_an_y: Argument passed by remote caller. 1401s # * @arg_an_n: Argument passed by remote caller. 1401s # * @arg_an_q: Argument passed by remote caller. 1401s # * @arg_an_i: Argument passed by remote caller. 1401s # * @arg_an_u: Argument passed by remote caller. 1401s # * @arg_an_x: Argument passed by remote caller. 1401s # * @arg_an_t: Argument passed by remote caller. 1401s # * @arg_an_d: Argument passed by remote caller. 1401s # * @arg_an_s: Argument passed by remote caller. 1401s # * @arg_an_o: Argument passed by remote caller. 1401s # * @arg_an_g: Argument passed by remote caller. 1401s # * @arg_an_h: Argument passed by remote caller. 1401s # * @arg_an_ay: Argument passed by remote caller. 1401s # * @arg_an_as: Argument passed by remote caller. 1401s # * @arg_an_ao: Argument passed by remote caller. 1401s # * @arg_an_aay: Argument passed by remote caller. 1401s # * @arg_an_asv: Argument passed by remote caller. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-method-with-many-args", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_callable_iface_method_marshal_method_with_many_args, 1401s # G_TYPE_BOOLEAN, 1401s # 19, 1401s # 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); 1401s # 1401s # /** 1401s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1401s # * @object: A #OrgProjectCallableIface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * @arg_an_b: Argument passed by remote caller. 1401s # * @arg_an_y: Argument passed by remote caller. 1401s # * @arg_an_n: Argument passed by remote caller. 1401s # * @arg_an_q: Argument passed by remote caller. 1401s # * @arg_an_i: Argument passed by remote caller. 1401s # * @arg_an_u: Argument passed by remote caller. 1401s # * @arg_an_x: Argument passed by remote caller. 1401s # * @arg_an_t: Argument passed by remote caller. 1401s # * @arg_an_d: Argument passed by remote caller. 1401s # * @arg_an_s: Argument passed by remote caller. 1401s # * @arg_an_o: Argument passed by remote caller. 1401s # * @arg_an_g: Argument passed by remote caller. 1401s # * @arg_an_h: Argument passed by remote caller. 1401s # * @arg_an_ay: Argument passed by remote caller. 1401s # * @arg_an_as: Argument passed by remote caller. 1401s # * @arg_an_ao: Argument passed by remote caller. 1401s # * @arg_an_aay: Argument passed by remote caller. 1401s # * @arg_an_asv: Argument passed by remote caller. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-same-method-with-many-args", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1401s # G_TYPE_BOOLEAN, 1401s # 19, 1401s # 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); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_call_method_with_many_args: 1401s # * @proxy: A #OrgProjectCallableIfaceProxy. 1401s # * @arg_an_b: Argument to pass with the method invocation. 1401s # * @arg_an_y: Argument to pass with the method invocation. 1401s # * @arg_an_n: Argument to pass with the method invocation. 1401s # * @arg_an_q: Argument to pass with the method invocation. 1401s # * @arg_an_i: Argument to pass with the method invocation. 1401s # * @arg_an_u: Argument to pass with the method invocation. 1401s # * @arg_an_x: Argument to pass with the method invocation. 1401s # * @arg_an_t: Argument to pass with the method invocation. 1401s # * @arg_an_d: Argument to pass with the method invocation. 1401s # * @arg_an_s: Argument to pass with the method invocation. 1401s # * @arg_an_o: Argument to pass with the method invocation. 1401s # * @arg_an_g: Argument to pass with the method invocation. 1401s # * @arg_an_h: Argument to pass with the method invocation. 1401s # * @arg_an_ay: Argument to pass with the method invocation. 1401s # * @arg_an_as: Argument to pass with the method invocation. 1401s # * @arg_an_ao: Argument to pass with the method invocation. 1401s # * @arg_an_aay: Argument to pass with the method invocation. 1401s # * @arg_an_asv: Argument to pass with the method invocation. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_callable_iface_call_method_with_many_args ( 1401s # OrgProjectCallableIface *proxy, 1401s # gboolean arg_an_b, 1401s # guchar arg_an_y, 1401s # gint16 arg_an_n, 1401s # guint16 arg_an_q, 1401s # gint arg_an_i, 1401s # guint arg_an_u, 1401s # gint64 arg_an_x, 1401s # guint64 arg_an_t, 1401s # gdouble arg_an_d, 1401s # const gchar *arg_an_s, 1401s # const gchar *arg_an_o, 1401s # const gchar *arg_an_g, 1401s # GVariant *arg_an_h, 1401s # const gchar *arg_an_ay, 1401s # const gchar *const *arg_an_as, 1401s # const gchar *const *arg_an_ao, 1401s # const gchar *const *arg_an_aay, 1401s # GVariant *arg_an_asv, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "MethodWithManyArgs", 1401s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1401s # arg_an_b, 1401s # arg_an_y, 1401s # arg_an_n, 1401s # arg_an_q, 1401s # arg_an_i, 1401s # arg_an_u, 1401s # arg_an_x, 1401s # arg_an_t, 1401s # arg_an_d, 1401s # arg_an_s, 1401s # arg_an_o, 1401s # arg_an_g, 1401s # arg_an_h, 1401s # arg_an_ay, 1401s # arg_an_as, 1401s # arg_an_ao, 1401s # arg_an_aay, 1401s # arg_an_asv), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_call_method_with_many_args_finish: 1401s # * @proxy: A #OrgProjectCallableIfaceProxy. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_callable_iface_call_method_with_many_args_finish ( 1401s # OrgProjectCallableIface *proxy, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "()"); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_call_method_with_many_args_sync: 1401s # * @proxy: A #OrgProjectCallableIfaceProxy. 1401s # * @arg_an_b: Argument to pass with the method invocation. 1401s # * @arg_an_y: Argument to pass with the method invocation. 1401s # * @arg_an_n: Argument to pass with the method invocation. 1401s # * @arg_an_q: Argument to pass with the method invocation. 1401s # * @arg_an_i: Argument to pass with the method invocation. 1401s # * @arg_an_u: Argument to pass with the method invocation. 1401s # * @arg_an_x: Argument to pass with the method invocation. 1401s # * @arg_an_t: Argument to pass with the method invocation. 1401s # * @arg_an_d: Argument to pass with the method invocation. 1401s # * @arg_an_s: Argument to pass with the method invocation. 1401s # * @arg_an_o: Argument to pass with the method invocation. 1401s # * @arg_an_g: Argument to pass with the method invocation. 1401s # * @arg_an_h: Argument to pass with the method invocation. 1401s # * @arg_an_ay: Argument to pass with the method invocation. 1401s # * @arg_an_as: Argument to pass with the method invocation. 1401s # * @arg_an_ao: Argument to pass with the method invocation. 1401s # * @arg_an_aay: Argument to pass with the method invocation. 1401s # * @arg_an_asv: Argument to pass with the method invocation. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_callable_iface_call_method_with_many_args_sync ( 1401s # OrgProjectCallableIface *proxy, 1401s # gboolean arg_an_b, 1401s # guchar arg_an_y, 1401s # gint16 arg_an_n, 1401s # guint16 arg_an_q, 1401s # gint arg_an_i, 1401s # guint arg_an_u, 1401s # gint64 arg_an_x, 1401s # guint64 arg_an_t, 1401s # gdouble arg_an_d, 1401s # const gchar *arg_an_s, 1401s # const gchar *arg_an_o, 1401s # const gchar *arg_an_g, 1401s # GVariant *arg_an_h, 1401s # const gchar *arg_an_ay, 1401s # const gchar *const *arg_an_as, 1401s # const gchar *const *arg_an_ao, 1401s # const gchar *const *arg_an_aay, 1401s # GVariant *arg_an_asv, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "MethodWithManyArgs", 1401s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1401s # arg_an_b, 1401s # arg_an_y, 1401s # arg_an_n, 1401s # arg_an_q, 1401s # arg_an_i, 1401s # arg_an_u, 1401s # arg_an_x, 1401s # arg_an_t, 1401s # arg_an_d, 1401s # arg_an_s, 1401s # arg_an_o, 1401s # arg_an_g, 1401s # arg_an_h, 1401s # arg_an_ay, 1401s # arg_an_as, 1401s # arg_an_ao, 1401s # arg_an_aay, 1401s # arg_an_asv), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "()"); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_call_same_method_with_many_args: 1401s # * @proxy: A #OrgProjectCallableIfaceProxy. 1401s # * @arg_an_b: Argument to pass with the method invocation. 1401s # * @arg_an_y: Argument to pass with the method invocation. 1401s # * @arg_an_n: Argument to pass with the method invocation. 1401s # * @arg_an_q: Argument to pass with the method invocation. 1401s # * @arg_an_i: Argument to pass with the method invocation. 1401s # * @arg_an_u: Argument to pass with the method invocation. 1401s # * @arg_an_x: Argument to pass with the method invocation. 1401s # * @arg_an_t: Argument to pass with the method invocation. 1401s # * @arg_an_d: Argument to pass with the method invocation. 1401s # * @arg_an_s: Argument to pass with the method invocation. 1401s # * @arg_an_o: Argument to pass with the method invocation. 1401s # * @arg_an_g: Argument to pass with the method invocation. 1401s # * @arg_an_h: Argument to pass with the method invocation. 1401s # * @arg_an_ay: Argument to pass with the method invocation. 1401s # * @arg_an_as: Argument to pass with the method invocation. 1401s # * @arg_an_ao: Argument to pass with the method invocation. 1401s # * @arg_an_aay: Argument to pass with the method invocation. 1401s # * @arg_an_asv: Argument to pass with the method invocation. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_callable_iface_call_same_method_with_many_args ( 1401s # OrgProjectCallableIface *proxy, 1401s # gboolean arg_an_b, 1401s # guchar arg_an_y, 1401s # gint16 arg_an_n, 1401s # guint16 arg_an_q, 1401s # gint arg_an_i, 1401s # guint arg_an_u, 1401s # gint64 arg_an_x, 1401s # guint64 arg_an_t, 1401s # gdouble arg_an_d, 1401s # const gchar *arg_an_s, 1401s # const gchar *arg_an_o, 1401s # const gchar *arg_an_g, 1401s # GVariant *arg_an_h, 1401s # const gchar *arg_an_ay, 1401s # const gchar *const *arg_an_as, 1401s # const gchar *const *arg_an_ao, 1401s # const gchar *const *arg_an_aay, 1401s # GVariant *arg_an_asv, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SameMethodWithManyArgs", 1401s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1401s # arg_an_b, 1401s # arg_an_y, 1401s # arg_an_n, 1401s # arg_an_q, 1401s # arg_an_i, 1401s # arg_an_u, 1401s # arg_an_x, 1401s # arg_an_t, 1401s # arg_an_d, 1401s # arg_an_s, 1401s # arg_an_o, 1401s # arg_an_g, 1401s # arg_an_h, 1401s # arg_an_ay, 1401s # arg_an_as, 1401s # arg_an_ao, 1401s # arg_an_aay, 1401s # arg_an_asv), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1401s # * @proxy: A #OrgProjectCallableIfaceProxy. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1401s # OrgProjectCallableIface *proxy, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "()"); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1401s # * @proxy: A #OrgProjectCallableIfaceProxy. 1401s # * @arg_an_b: Argument to pass with the method invocation. 1401s # * @arg_an_y: Argument to pass with the method invocation. 1401s # * @arg_an_n: Argument to pass with the method invocation. 1401s # * @arg_an_q: Argument to pass with the method invocation. 1401s # * @arg_an_i: Argument to pass with the method invocation. 1401s # * @arg_an_u: Argument to pass with the method invocation. 1401s # * @arg_an_x: Argument to pass with the method invocation. 1401s # * @arg_an_t: Argument to pass with the method invocation. 1401s # * @arg_an_d: Argument to pass with the method invocation. 1401s # * @arg_an_s: Argument to pass with the method invocation. 1401s # * @arg_an_o: Argument to pass with the method invocation. 1401s # * @arg_an_g: Argument to pass with the method invocation. 1401s # * @arg_an_h: Argument to pass with the method invocation. 1401s # * @arg_an_ay: Argument to pass with the method invocation. 1401s # * @arg_an_as: Argument to pass with the method invocation. 1401s # * @arg_an_ao: Argument to pass with the method invocation. 1401s # * @arg_an_aay: Argument to pass with the method invocation. 1401s # * @arg_an_asv: Argument to pass with the method invocation. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1401s # OrgProjectCallableIface *proxy, 1401s # gboolean arg_an_b, 1401s # guchar arg_an_y, 1401s # gint16 arg_an_n, 1401s # guint16 arg_an_q, 1401s # gint arg_an_i, 1401s # guint arg_an_u, 1401s # gint64 arg_an_x, 1401s # guint64 arg_an_t, 1401s # gdouble arg_an_d, 1401s # const gchar *arg_an_s, 1401s # const gchar *arg_an_o, 1401s # const gchar *arg_an_g, 1401s # GVariant *arg_an_h, 1401s # const gchar *arg_an_ay, 1401s # const gchar *const *arg_an_as, 1401s # const gchar *const *arg_an_ao, 1401s # const gchar *const *arg_an_aay, 1401s # GVariant *arg_an_asv, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SameMethodWithManyArgs", 1401s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1401s # arg_an_b, 1401s # arg_an_y, 1401s # arg_an_n, 1401s # arg_an_q, 1401s # arg_an_i, 1401s # arg_an_u, 1401s # arg_an_x, 1401s # arg_an_t, 1401s # arg_an_d, 1401s # arg_an_s, 1401s # arg_an_o, 1401s # arg_an_g, 1401s # arg_an_h, 1401s # arg_an_ay, 1401s # arg_an_as, 1401s # arg_an_ao, 1401s # arg_an_aay, 1401s # arg_an_asv), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "()"); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_complete_method_with_many_args: 1401s # * @object: A #OrgProjectCallableIface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_callable_iface_complete_method_with_many_args ( 1401s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("()")); 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_complete_same_method_with_many_args: 1401s # * @object: A #OrgProjectCallableIface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_callable_iface_complete_same_method_with_many_args ( 1401s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("()")); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceProxy: 1401s # * 1401s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectCallableIfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectCallableIfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_callable_iface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1401s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1401s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_callable_iface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_callable_iface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceSkeleton: 1401s # * 1401s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectCallableIfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_callable_iface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_callable_iface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_callable_iface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1401s # { 1401s # _org_project_callable_iface_skeleton_handle_method_call, 1401s # _org_project_callable_iface_skeleton_handle_get_property, 1401s # _org_project_callable_iface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_callable_iface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_callable_iface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.OtherCallableIface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectOtherCallableIface 1401s # * @title: OrgProjectOtherCallableIface 1401s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_b", 1401s # (gchar *) "b", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_y", 1401s # (gchar *) "y", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_n", 1401s # (gchar *) "n", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_q", 1401s # (gchar *) "q", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_i", 1401s # (gchar *) "i", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_u", 1401s # (gchar *) "u", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_x", 1401s # (gchar *) "x", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_t", 1401s # (gchar *) "t", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_d", 1401s # (gchar *) "d", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_s", 1401s # (gchar *) "s", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_o", 1401s # (gchar *) "o", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_g", 1401s # (gchar *) "g", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_h", 1401s # (gchar *) "h", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_ay", 1401s # (gchar *) "ay", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_as", 1401s # (gchar *) "as", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_ao", 1401s # (gchar *) "ao", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_aay", 1401s # (gchar *) "aay", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_asv", 1401s # (gchar *) "a{sv}", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1401s # { 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "MethodWithManyArgs", 1401s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "handle-method-with-many-args", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1401s # { 1401s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.OtherCallableIface", 1401s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-other-callable-iface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_other_callable_iface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _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, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectOtherCallableIface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectOtherCallableIfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1401s # */ 1401s # 1401s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1401s # * @object: A #OrgProjectOtherCallableIface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * @arg_an_b: Argument passed by remote caller. 1401s # * @arg_an_y: Argument passed by remote caller. 1401s # * @arg_an_n: Argument passed by remote caller. 1401s # * @arg_an_q: Argument passed by remote caller. 1401s # * @arg_an_i: Argument passed by remote caller. 1401s # * @arg_an_u: Argument passed by remote caller. 1401s # * @arg_an_x: Argument passed by remote caller. 1401s # * @arg_an_t: Argument passed by remote caller. 1401s # * @arg_an_d: Argument passed by remote caller. 1401s # * @arg_an_s: Argument passed by remote caller. 1401s # * @arg_an_o: Argument passed by remote caller. 1401s # * @arg_an_g: Argument passed by remote caller. 1401s # * @arg_an_h: Argument passed by remote caller. 1401s # * @arg_an_ay: Argument passed by remote caller. 1401s # * @arg_an_as: Argument passed by remote caller. 1401s # * @arg_an_ao: Argument passed by remote caller. 1401s # * @arg_an_aay: Argument passed by remote caller. 1401s # * @arg_an_asv: Argument passed by remote caller. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-method-with-many-args", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1401s # G_TYPE_BOOLEAN, 1401s # 19, 1401s # 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); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_call_method_with_many_args: 1401s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1401s # * @arg_an_b: Argument to pass with the method invocation. 1401s # * @arg_an_y: Argument to pass with the method invocation. 1401s # * @arg_an_n: Argument to pass with the method invocation. 1401s # * @arg_an_q: Argument to pass with the method invocation. 1401s # * @arg_an_i: Argument to pass with the method invocation. 1401s # * @arg_an_u: Argument to pass with the method invocation. 1401s # * @arg_an_x: Argument to pass with the method invocation. 1401s # * @arg_an_t: Argument to pass with the method invocation. 1401s # * @arg_an_d: Argument to pass with the method invocation. 1401s # * @arg_an_s: Argument to pass with the method invocation. 1401s # * @arg_an_o: Argument to pass with the method invocation. 1401s # * @arg_an_g: Argument to pass with the method invocation. 1401s # * @arg_an_h: Argument to pass with the method invocation. 1401s # * @arg_an_ay: Argument to pass with the method invocation. 1401s # * @arg_an_as: Argument to pass with the method invocation. 1401s # * @arg_an_ao: Argument to pass with the method invocation. 1401s # * @arg_an_aay: Argument to pass with the method invocation. 1401s # * @arg_an_asv: Argument to pass with the method invocation. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_other_callable_iface_call_method_with_many_args ( 1401s # OrgProjectOtherCallableIface *proxy, 1401s # gboolean arg_an_b, 1401s # guchar arg_an_y, 1401s # gint16 arg_an_n, 1401s # guint16 arg_an_q, 1401s # gint arg_an_i, 1401s # guint arg_an_u, 1401s # gint64 arg_an_x, 1401s # guint64 arg_an_t, 1401s # gdouble arg_an_d, 1401s # const gchar *arg_an_s, 1401s # const gchar *arg_an_o, 1401s # const gchar *arg_an_g, 1401s # GVariant *arg_an_h, 1401s # const gchar *arg_an_ay, 1401s # const gchar *const *arg_an_as, 1401s # const gchar *const *arg_an_ao, 1401s # const gchar *const *arg_an_aay, 1401s # GVariant *arg_an_asv, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "MethodWithManyArgs", 1401s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1401s # arg_an_b, 1401s # arg_an_y, 1401s # arg_an_n, 1401s # arg_an_q, 1401s # arg_an_i, 1401s # arg_an_u, 1401s # arg_an_x, 1401s # arg_an_t, 1401s # arg_an_d, 1401s # arg_an_s, 1401s # arg_an_o, 1401s # arg_an_g, 1401s # arg_an_h, 1401s # arg_an_ay, 1401s # arg_an_as, 1401s # arg_an_ao, 1401s # arg_an_aay, 1401s # arg_an_asv), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1401s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1401s # OrgProjectOtherCallableIface *proxy, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "()"); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1401s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1401s # * @arg_an_b: Argument to pass with the method invocation. 1401s # * @arg_an_y: Argument to pass with the method invocation. 1401s # * @arg_an_n: Argument to pass with the method invocation. 1401s # * @arg_an_q: Argument to pass with the method invocation. 1401s # * @arg_an_i: Argument to pass with the method invocation. 1401s # * @arg_an_u: Argument to pass with the method invocation. 1401s # * @arg_an_x: Argument to pass with the method invocation. 1401s # * @arg_an_t: Argument to pass with the method invocation. 1401s # * @arg_an_d: Argument to pass with the method invocation. 1401s # * @arg_an_s: Argument to pass with the method invocation. 1401s # * @arg_an_o: Argument to pass with the method invocation. 1401s # * @arg_an_g: Argument to pass with the method invocation. 1401s # * @arg_an_h: Argument to pass with the method invocation. 1401s # * @arg_an_ay: Argument to pass with the method invocation. 1401s # * @arg_an_as: Argument to pass with the method invocation. 1401s # * @arg_an_ao: Argument to pass with the method invocation. 1401s # * @arg_an_aay: Argument to pass with the method invocation. 1401s # * @arg_an_asv: Argument to pass with the method invocation. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1401s # OrgProjectOtherCallableIface *proxy, 1401s # gboolean arg_an_b, 1401s # guchar arg_an_y, 1401s # gint16 arg_an_n, 1401s # guint16 arg_an_q, 1401s # gint arg_an_i, 1401s # guint arg_an_u, 1401s # gint64 arg_an_x, 1401s # guint64 arg_an_t, 1401s # gdouble arg_an_d, 1401s # const gchar *arg_an_s, 1401s # const gchar *arg_an_o, 1401s # const gchar *arg_an_g, 1401s # GVariant *arg_an_h, 1401s # const gchar *arg_an_ay, 1401s # const gchar *const *arg_an_as, 1401s # const gchar *const *arg_an_ao, 1401s # const gchar *const *arg_an_aay, 1401s # GVariant *arg_an_asv, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "MethodWithManyArgs", 1401s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1401s # arg_an_b, 1401s # arg_an_y, 1401s # arg_an_n, 1401s # arg_an_q, 1401s # arg_an_i, 1401s # arg_an_u, 1401s # arg_an_x, 1401s # arg_an_t, 1401s # arg_an_d, 1401s # arg_an_s, 1401s # arg_an_o, 1401s # arg_an_g, 1401s # arg_an_h, 1401s # arg_an_ay, 1401s # arg_an_as, 1401s # arg_an_ao, 1401s # arg_an_aay, 1401s # arg_an_asv), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "()"); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_complete_method_with_many_args: 1401s # * @object: A #OrgProjectOtherCallableIface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_other_callable_iface_complete_method_with_many_args ( 1401s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("()")); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectOtherCallableIfaceProxy: 1401s # * 1401s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectOtherCallableIfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1401s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1401s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_other_callable_iface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherCallableIface * 1401s # org_project_other_callable_iface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherCallableIface * 1401s # org_project_other_callable_iface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_other_callable_iface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherCallableIface * 1401s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherCallableIface * 1401s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectOtherCallableIfaceSkeleton: 1401s # * 1401s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectOtherCallableIfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1401s # { 1401s # _org_project_other_callable_iface_skeleton_handle_method_call, 1401s # _org_project_other_callable_iface_skeleton_handle_get_property, 1401s # _org_project_other_callable_iface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_other_callable_iface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectOtherCallableIface * 1401s # org_project_other_callable_iface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1401s # } 1401s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1401s # tmpdir: /tmp/tmpqg4u4844 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpqg4u4844/tmpxiycpzz9.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqg4u4844/tmpxiycpzz9.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.CallableIface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectCallableIface 1401s # * @title: OrgProjectCallableIface 1401s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.CallableIface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_b", 1401s # (gchar *) "b", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_y", 1401s # (gchar *) "y", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_n", 1401s # (gchar *) "n", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_q", 1401s # (gchar *) "q", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_i", 1401s # (gchar *) "i", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_u", 1401s # (gchar *) "u", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_x", 1401s # (gchar *) "x", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_t", 1401s # (gchar *) "t", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_d", 1401s # (gchar *) "d", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_s", 1401s # (gchar *) "s", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_o", 1401s # (gchar *) "o", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_g", 1401s # (gchar *) "g", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_h", 1401s # (gchar *) "h", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_ay", 1401s # (gchar *) "ay", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_as", 1401s # (gchar *) "as", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_ao", 1401s # (gchar *) "ao", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_aay", 1401s # (gchar *) "aay", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_asv", 1401s # (gchar *) "a{sv}", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1401s # { 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1401s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "MethodWithManyArgs", 1401s # NULL, 1401s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "handle-method-with-many-args", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1401s # { 1401s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.CallableIface", 1401s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-callable-iface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_callable_iface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_callable_iface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_callable_iface_method_marshal_method_with_many_args ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectCallableIface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.CallableIface. 1401s # */ 1401s # 1401s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectCallableIface::handle-method-with-many-args: 1401s # * @object: A #OrgProjectCallableIface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-method-with-many-args", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_callable_iface_method_marshal_method_with_many_args, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_call_method_with_many_args: 1401s # * @proxy: A #OrgProjectCallableIfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_callable_iface_call_method_with_many_args ( 1401s # OrgProjectCallableIface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "MethodWithManyArgs", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_call_method_with_many_args_finish: 1401s # * @proxy: A #OrgProjectCallableIfaceProxy. 1401s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_callable_iface_call_method_with_many_args_finish ( 1401s # OrgProjectCallableIface *proxy, 1401s # gboolean *out_an_b, 1401s # guchar *out_an_y, 1401s # gint16 *out_an_n, 1401s # guint16 *out_an_q, 1401s # gint *out_an_i, 1401s # guint *out_an_u, 1401s # gint64 *out_an_x, 1401s # guint64 *out_an_t, 1401s # gdouble *out_an_d, 1401s # gchar **out_an_s, 1401s # gchar **out_an_o, 1401s # gchar **out_an_g, 1401s # GVariant **out_an_h, 1401s # gchar **out_an_ay, 1401s # gchar ***out_an_as, 1401s # gchar ***out_an_ao, 1401s # gchar ***out_an_aay, 1401s # GVariant **out_an_asv, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1401s # out_an_b, 1401s # out_an_y, 1401s # out_an_n, 1401s # out_an_q, 1401s # out_an_i, 1401s # out_an_u, 1401s # out_an_x, 1401s # out_an_t, 1401s # out_an_d, 1401s # out_an_s, 1401s # out_an_o, 1401s # out_an_g, 1401s # out_an_h, 1401s # out_an_ay, 1401s # out_an_as, 1401s # out_an_ao, 1401s # out_an_aay, 1401s # out_an_asv); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_call_method_with_many_args_sync: 1401s # * @proxy: A #OrgProjectCallableIfaceProxy. 1401s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1401s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_callable_iface_call_method_with_many_args_sync ( 1401s # OrgProjectCallableIface *proxy, 1401s # gboolean *out_an_b, 1401s # guchar *out_an_y, 1401s # gint16 *out_an_n, 1401s # guint16 *out_an_q, 1401s # gint *out_an_i, 1401s # guint *out_an_u, 1401s # gint64 *out_an_x, 1401s # guint64 *out_an_t, 1401s # gdouble *out_an_d, 1401s # gchar **out_an_s, 1401s # gchar **out_an_o, 1401s # gchar **out_an_g, 1401s # GVariant **out_an_h, 1401s # gchar **out_an_ay, 1401s # gchar ***out_an_as, 1401s # gchar ***out_an_ao, 1401s # gchar ***out_an_aay, 1401s # GVariant **out_an_asv, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "MethodWithManyArgs", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1401s # out_an_b, 1401s # out_an_y, 1401s # out_an_n, 1401s # out_an_q, 1401s # out_an_i, 1401s # out_an_u, 1401s # out_an_x, 1401s # out_an_t, 1401s # out_an_d, 1401s # out_an_s, 1401s # out_an_o, 1401s # out_an_g, 1401s # out_an_h, 1401s # out_an_ay, 1401s # out_an_as, 1401s # out_an_ao, 1401s # out_an_aay, 1401s # out_an_asv); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_complete_method_with_many_args: 1401s # * @object: A #OrgProjectCallableIface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * @an_b: Parameter to return. 1401s # * @an_y: Parameter to return. 1401s # * @an_n: Parameter to return. 1401s # * @an_q: Parameter to return. 1401s # * @an_i: Parameter to return. 1401s # * @an_u: Parameter to return. 1401s # * @an_x: Parameter to return. 1401s # * @an_t: Parameter to return. 1401s # * @an_d: Parameter to return. 1401s # * @an_s: Parameter to return. 1401s # * @an_o: Parameter to return. 1401s # * @an_g: Parameter to return. 1401s # * @an_h: Parameter to return. 1401s # * @an_ay: Parameter to return. 1401s # * @an_as: Parameter to return. 1401s # * @an_ao: Parameter to return. 1401s # * @an_aay: Parameter to return. 1401s # * @an_asv: Parameter to return. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_callable_iface_complete_method_with_many_args ( 1401s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation, 1401s # gboolean an_b, 1401s # guchar an_y, 1401s # gint16 an_n, 1401s # guint16 an_q, 1401s # gint an_i, 1401s # guint an_u, 1401s # gint64 an_x, 1401s # guint64 an_t, 1401s # gdouble an_d, 1401s # const gchar *an_s, 1401s # const gchar *an_o, 1401s # const gchar *an_g, 1401s # GVariant *an_h, 1401s # const gchar *an_ay, 1401s # const gchar *const *an_as, 1401s # const gchar *const *an_ao, 1401s # const gchar *const *an_aay, 1401s # GVariant *an_asv) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1401s # an_b, 1401s # an_y, 1401s # an_n, 1401s # an_q, 1401s # an_i, 1401s # an_u, 1401s # an_x, 1401s # an_t, 1401s # an_d, 1401s # an_s, 1401s # an_o, 1401s # an_g, 1401s # an_h, 1401s # an_ay, 1401s # an_as, 1401s # an_ao, 1401s # an_aay, 1401s # an_asv)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceProxy: 1401s # * 1401s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectCallableIfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectCallableIfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_callable_iface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1401s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1401s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_callable_iface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_callable_iface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceSkeleton: 1401s # * 1401s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectCallableIfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_callable_iface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_callable_iface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_callable_iface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1401s # { 1401s # _org_project_callable_iface_skeleton_handle_method_call, 1401s # _org_project_callable_iface_skeleton_handle_get_property, 1401s # _org_project_callable_iface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_callable_iface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_callable_iface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1401s # } 1401s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1401s # tmpdir: /tmp/tmpe0bcjwgs 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpe0bcjwgs/tmp2210jtsa.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe0bcjwgs/tmp2210jtsa.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1401s # (void *data1, 1401s # GUnixFDList *arg_fd_list, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # const gchar *arg_greeting, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 4); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # g_marshal_value_peek_object (param_values + 2), 1401s # g_marshal_value_peek_string (param_values + 3), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface test.FDPassing 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:TestFDPassing 1401s # * @title: TestFDPassing 1401s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1401s # * 1401s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for test.FDPassing ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "greeting", 1401s # (gchar *) "s", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1401s # { 1401s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "response", 1401s # (gchar *) "s", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1401s # { 1401s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "HelloFD", 1401s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1401s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "handle-hello-fd", 1401s # TRUE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1401s # { 1401s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "test.FDPassing", 1401s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "test-fdpassing", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * test_fdpassing_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # test_fdpassing_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * test_fdpassing_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # test_fdpassing_method_marshal_hello_fd ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * TestFDPassing: 1401s # * 1401s # * Abstract interface type for the D-Bus interface test.FDPassing. 1401s # */ 1401s # 1401s # /** 1401s # * TestFDPassingIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1401s # * 1401s # * Virtual table for the D-Bus interface test.FDPassing. 1401s # */ 1401s # 1401s # typedef TestFDPassingIface TestFDPassingInterface; 1401s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # test_fdpassing_default_init (TestFDPassingIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * TestFDPassing::handle-hello-fd: 1401s # * @object: A #TestFDPassing. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1401s # * @arg_greeting: Argument passed by remote caller. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-hello-fd", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # test_fdpassing_method_marshal_hello_fd, 1401s # G_TYPE_BOOLEAN, 1401s # 3, 1401s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * test_fdpassing_call_hello_fd: 1401s # * @proxy: A #TestFDPassingProxy. 1401s # * @arg_greeting: Argument to pass with the method invocation. 1401s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1401s # * 1401s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # test_fdpassing_call_hello_fd ( 1401s # TestFDPassing *proxy, 1401s # const gchar *arg_greeting, 1401s # GUnixFDList *fd_list, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1401s # "HelloFD", 1401s # g_variant_new ("(s)", 1401s # arg_greeting), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # fd_list, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * test_fdpassing_call_hello_fd_finish: 1401s # * @proxy: A #TestFDPassingProxy. 1401s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # test_fdpassing_call_hello_fd_finish ( 1401s # TestFDPassing *proxy, 1401s # gchar **out_response, 1401s # GUnixFDList **out_fd_list, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(s)", 1401s # out_response); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * test_fdpassing_call_hello_fd_sync: 1401s # * @proxy: A #TestFDPassingProxy. 1401s # * @arg_greeting: Argument to pass with the method invocation. 1401s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1401s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1401s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # test_fdpassing_call_hello_fd_sync ( 1401s # TestFDPassing *proxy, 1401s # const gchar *arg_greeting, 1401s # GUnixFDList *fd_list, 1401s # gchar **out_response, 1401s # GUnixFDList **out_fd_list, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1401s # "HelloFD", 1401s # g_variant_new ("(s)", 1401s # arg_greeting), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # fd_list, 1401s # out_fd_list, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "(s)", 1401s # out_response); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * test_fdpassing_complete_hello_fd: 1401s # * @object: A #TestFDPassing. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1401s # * @response: Parameter to return. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # test_fdpassing_complete_hello_fd ( 1401s # TestFDPassing *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation, 1401s # GUnixFDList *fd_list, 1401s # const gchar *response) 1401s # { 1401s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1401s # g_variant_new ("(s)", 1401s # response), 1401s # fd_list); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * TestFDPassingProxy: 1401s # * 1401s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * TestFDPassingProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #TestFDPassingProxy. 1401s # */ 1401s # 1401s # struct _TestFDPassingProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (TestFDPassingProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # test_fdpassing_proxy_finalize (GObject *object) 1401s # { 1401s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1401s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1401s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1401s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * test_fdpassing_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # test_fdpassing_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * test_fdpassing_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with test_fdpassing_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # TestFDPassing * 1401s # test_fdpassing_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return TEST_FDPASSING (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * test_fdpassing_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # TestFDPassing * 1401s # test_fdpassing_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return TEST_FDPASSING (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * test_fdpassing_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # test_fdpassing_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * test_fdpassing_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # TestFDPassing * 1401s # test_fdpassing_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return TEST_FDPASSING (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * test_fdpassing_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # TestFDPassing * 1401s # test_fdpassing_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return TEST_FDPASSING (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * TestFDPassingSkeleton: 1401s # * 1401s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * TestFDPassingSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #TestFDPassingSkeleton. 1401s # */ 1401s # 1401s # struct _TestFDPassingSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _test_fdpassing_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _test_fdpassing_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _test_fdpassing_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1401s # { 1401s # _test_fdpassing_skeleton_handle_method_call, 1401s # _test_fdpassing_skeleton_handle_get_property, 1401s # _test_fdpassing_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return test_fdpassing_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # test_fdpassing_skeleton_finalize (GObject *object) 1401s # { 1401s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * test_fdpassing_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1401s # * 1401s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1401s # */ 1401s # TestFDPassing * 1401s # test_fdpassing_skeleton_new (void) 1401s # { 1401s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1401s # } 1401s ok 15 __main__.TestCodegen.test_generate_rst 1401s # tmpdir: /tmp/tmp2jdwk2dn 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmp2jdwk2dn/tmpygnhy37d.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2jdwk2dn/tmpygnhy37d.xml', '--generate-rst', 'test'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: 1401s ok 16 __main__.TestCodegen.test_generate_rst_method 1401s # tmpdir: /tmp/tmpcnq02j6v 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpcnq02j6v/tmp7qnf4eze.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcnq02j6v/tmp7qnf4eze.xml', '--generate-rst', 'test'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: 1401s ok 17 __main__.TestCodegen.test_generate_rst_property 1401s # tmpdir: /tmp/tmpae7vhi21 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpae7vhi21/tmp_jpwrc9t.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpae7vhi21/tmp_jpwrc9t.xml', '--generate-rst', 'test'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: 1401s ok 18 __main__.TestCodegen.test_generate_rst_signal 1401s # tmpdir: /tmp/tmpzhhd5vgf 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpzhhd5vgf/tmp0kxymahf.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzhhd5vgf/tmp0kxymahf.xml', '--generate-rst', 'test'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: 1401s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1401s # tmpdir: /tmp/tmpbw8uplhj 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpbw8uplhj/tmpg4j4l6hi.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbw8uplhj/tmpg4j4l6hi.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1401s # GClosure *closure, 1401s # GValue *return_value G_GNUC_UNUSED, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1401s # (void *data1, 1401s # gboolean arg_an_b, 1401s # guchar arg_an_y, 1401s # gint16 arg_an_n, 1401s # guint16 arg_an_q, 1401s # gint arg_an_i, 1401s # guint arg_an_u, 1401s # gint64 arg_an_x, 1401s # guint64 arg_an_t, 1401s # gdouble arg_an_d, 1401s # const gchar *arg_an_s, 1401s # const gchar *arg_an_o, 1401s # const gchar *arg_an_g, 1401s # GVariant *arg_an_h, 1401s # const gchar *arg_an_ay, 1401s # const gchar *const *arg_an_as, 1401s # const gchar *const *arg_an_ao, 1401s # const gchar *const *arg_an_aay, 1401s # GVariant *arg_an_asv, 1401s # void *data2); 1401s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # 1401s # g_return_if_fail (n_param_values == 19); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # callback (data1, 1401s # g_marshal_value_peek_boolean (param_values + 1), 1401s # g_marshal_value_peek_uchar (param_values + 2), 1401s # g_marshal_value_peek_int (param_values + 3), 1401s # g_marshal_value_peek_uint (param_values + 4), 1401s # g_marshal_value_peek_int (param_values + 5), 1401s # g_marshal_value_peek_uint (param_values + 6), 1401s # g_marshal_value_peek_int64 (param_values + 7), 1401s # g_marshal_value_peek_uint64 (param_values + 8), 1401s # g_marshal_value_peek_double (param_values + 9), 1401s # g_marshal_value_peek_string (param_values + 10), 1401s # g_marshal_value_peek_string (param_values + 11), 1401s # g_marshal_value_peek_string (param_values + 12), 1401s # g_marshal_value_peek_variant (param_values + 13), 1401s # g_marshal_value_peek_string (param_values + 14), 1401s # g_marshal_value_peek_boxed (param_values + 15), 1401s # g_marshal_value_peek_boxed (param_values + 16), 1401s # g_marshal_value_peek_boxed (param_values + 17), 1401s # g_marshal_value_peek_variant (param_values + 18), 1401s # data2); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.SignalingIface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectSignalingIface 1401s # * @title: OrgProjectSignalingIface 1401s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1401s # */ 1401s # 1401s # enum 1401s # { 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1401s # }; 1401s # 1401s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1401s # 1401s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_b", 1401s # (gchar *) "b", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_y", 1401s # (gchar *) "y", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_n", 1401s # (gchar *) "n", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_q", 1401s # (gchar *) "q", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_i", 1401s # (gchar *) "i", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_u", 1401s # (gchar *) "u", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_x", 1401s # (gchar *) "x", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_t", 1401s # (gchar *) "t", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_d", 1401s # (gchar *) "d", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_s", 1401s # (gchar *) "s", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_o", 1401s # (gchar *) "o", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_g", 1401s # (gchar *) "g", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_h", 1401s # (gchar *) "h", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_ay", 1401s # (gchar *) "ay", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_as", 1401s # (gchar *) "as", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_ao", 1401s # (gchar *) "ao", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_aay", 1401s # (gchar *) "aay", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_asv", 1401s # (gchar *) "a{sv}", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SignalWithManyArgs", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "signal-with-many-args" 1401s # }; 1401s # 1401s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.SignalingIface", 1401s # NULL, 1401s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-signaling-iface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_signaling_iface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_signaling_iface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1401s # */ 1401s # 1401s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1401s # { 1401s # /* GObject signals for received D-Bus signals: */ 1401s # /** 1401s # * OrgProjectSignalingIface::signal-with-many-args: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_b: Argument. 1401s # * @arg_an_y: Argument. 1401s # * @arg_an_n: Argument. 1401s # * @arg_an_q: Argument. 1401s # * @arg_an_i: Argument. 1401s # * @arg_an_u: Argument. 1401s # * @arg_an_x: Argument. 1401s # * @arg_an_t: Argument. 1401s # * @arg_an_d: Argument. 1401s # * @arg_an_s: Argument. 1401s # * @arg_an_o: Argument. 1401s # * @arg_an_g: Argument. 1401s # * @arg_an_h: Argument. 1401s # * @arg_an_ay: Argument. 1401s # * @arg_an_as: Argument. 1401s # * @arg_an_ao: Argument. 1401s # * @arg_an_aay: Argument. 1401s # * @arg_an_asv: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1401s # g_signal_new ("signal-with-many-args", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1401s # G_TYPE_NONE, 1401s # 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); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_signal_with_many_args: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_b: Argument to pass with the signal. 1401s # * @arg_an_y: Argument to pass with the signal. 1401s # * @arg_an_n: Argument to pass with the signal. 1401s # * @arg_an_q: Argument to pass with the signal. 1401s # * @arg_an_i: Argument to pass with the signal. 1401s # * @arg_an_u: Argument to pass with the signal. 1401s # * @arg_an_x: Argument to pass with the signal. 1401s # * @arg_an_t: Argument to pass with the signal. 1401s # * @arg_an_d: Argument to pass with the signal. 1401s # * @arg_an_s: Argument to pass with the signal. 1401s # * @arg_an_o: Argument to pass with the signal. 1401s # * @arg_an_g: Argument to pass with the signal. 1401s # * @arg_an_h: Argument to pass with the signal. 1401s # * @arg_an_ay: Argument to pass with the signal. 1401s # * @arg_an_as: Argument to pass with the signal. 1401s # * @arg_an_ao: Argument to pass with the signal. 1401s # * @arg_an_aay: Argument to pass with the signal. 1401s # * @arg_an_asv: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SignalWithManyArgs" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_signal_with_many_args ( 1401s # OrgProjectSignalingIface *object, 1401s # gboolean arg_an_b, 1401s # guchar arg_an_y, 1401s # gint16 arg_an_n, 1401s # guint16 arg_an_q, 1401s # gint arg_an_i, 1401s # guint arg_an_u, 1401s # gint64 arg_an_x, 1401s # guint64 arg_an_t, 1401s # gdouble arg_an_d, 1401s # const gchar *arg_an_s, 1401s # const gchar *arg_an_o, 1401s # const gchar *arg_an_g, 1401s # GVariant *arg_an_h, 1401s # const gchar *arg_an_ay, 1401s # const gchar *const *arg_an_as, 1401s # const gchar *const *arg_an_ao, 1401s # const gchar *const *arg_an_aay, 1401s # GVariant *arg_an_asv) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceProxy: 1401s # * 1401s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectSignalingIfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectSignalingIfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_signaling_iface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1401s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1401s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceSkeleton: 1401s # * 1401s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_signaling_iface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_signaling_iface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_signaling_iface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1401s # { 1401s # _org_project_signaling_iface_skeleton_handle_method_call, 1401s # _org_project_signaling_iface_skeleton_handle_get_property, 1401s # _org_project_signaling_iface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_signaling_iface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1401s # OrgProjectSignalingIface *object, 1401s # gboolean arg_an_b, 1401s # guchar arg_an_y, 1401s # gint16 arg_an_n, 1401s # guint16 arg_an_q, 1401s # gint arg_an_i, 1401s # guint arg_an_u, 1401s # gint64 arg_an_x, 1401s # guint64 arg_an_t, 1401s # gdouble arg_an_d, 1401s # const gchar *arg_an_s, 1401s # const gchar *arg_an_o, 1401s # const gchar *arg_an_g, 1401s # GVariant *arg_an_h, 1401s # const gchar *arg_an_ay, 1401s # const gchar *const *arg_an_as, 1401s # const gchar *const *arg_an_ao, 1401s # const gchar *const *arg_an_aay, 1401s # GVariant *arg_an_asv) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1401s # arg_an_b, 1401s # arg_an_y, 1401s # arg_an_n, 1401s # arg_an_q, 1401s # arg_an_i, 1401s # arg_an_u, 1401s # arg_an_x, 1401s # arg_an_t, 1401s # arg_an_d, 1401s # arg_an_s, 1401s # arg_an_o, 1401s # arg_an_g, 1401s # arg_an_h, 1401s # arg_an_ay, 1401s # arg_an_as, 1401s # arg_an_ao, 1401s # arg_an_aay, 1401s # arg_an_asv)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1401s # { 1401s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1401s # } 1401s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1401s # tmpdir: /tmp/tmpnwyq5vvb 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpnwyq5vvb/tmp6gx4q8y5.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnwyq5vvb/tmp6gx4q8y5.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_VOID__INT64 ( 1401s # GClosure *closure, 1401s # GValue *return_value G_GNUC_UNUSED, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1401s # (void *data1, 1401s # gint64 arg_an_x, 1401s # void *data2); 1401s # _GDbusCodegenMarshalVoid_Int64Func callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # callback (data1, 1401s # g_marshal_value_peek_int64 (param_values + 1), 1401s # data2); 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1401s # GClosure *closure, 1401s # GValue *return_value G_GNUC_UNUSED, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1401s # (void *data1, 1401s # guint64 arg_an_t, 1401s # void *data2); 1401s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # callback (data1, 1401s # g_marshal_value_peek_uint64 (param_values + 1), 1401s # data2); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.SignalingIface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectSignalingIface 1401s # * @title: OrgProjectSignalingIface 1401s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1401s # */ 1401s # 1401s # enum 1401s # { 1401s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1401s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1401s # }; 1401s # 1401s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1401s # 1401s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "NoArgSignal", 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "no-arg-signal" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_b", 1401s # (gchar *) "b", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalB", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-b" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_y", 1401s # (gchar *) "y", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalY", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-y" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_n", 1401s # (gchar *) "n", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalN", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-n" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_q", 1401s # (gchar *) "q", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalQ", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-q" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_i", 1401s # (gchar *) "i", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalI", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-i" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_u", 1401s # (gchar *) "u", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalU", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-u" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_x", 1401s # (gchar *) "x", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalX", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-x" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_t", 1401s # (gchar *) "t", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalT", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-t" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_d", 1401s # (gchar *) "d", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalD", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-d" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_s", 1401s # (gchar *) "s", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalS", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-s" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_o", 1401s # (gchar *) "o", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalO", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-o" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_g", 1401s # (gchar *) "g", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalG", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-g" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_h", 1401s # (gchar *) "h", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalH", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-h" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_ay", 1401s # (gchar *) "ay", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalAY", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-ay" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_as", 1401s # (gchar *) "as", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalAS", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-as" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_ao", 1401s # (gchar *) "ao", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalAO", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-ao" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_aay", 1401s # (gchar *) "aay", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalAAY", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-aay" 1401s # }; 1401s # 1401s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "an_asv", 1401s # (gchar *) "a{sv}", 1401s # NULL 1401s # }, 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SingleArgSignalASV", 1401s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1401s # NULL 1401s # }, 1401s # "single-arg-signal-asv" 1401s # }; 1401s # 1401s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1401s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.SignalingIface", 1401s # NULL, 1401s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-signaling-iface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_signaling_iface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_signaling_iface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__VOID (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__UCHAR (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__INT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__UINT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__INT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__UINT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__DOUBLE (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__STRING (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__STRING (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__STRING (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__VARIANT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__STRING (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__BOXED (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__BOXED (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__BOXED (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__VARIANT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1401s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1401s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1401s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1401s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1401s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1401s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1401s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1401s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1401s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1401s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1401s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1401s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1401s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1401s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1401s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1401s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1401s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1401s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1401s # */ 1401s # 1401s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1401s # { 1401s # /* GObject signals for received D-Bus signals: */ 1401s # /** 1401s # * OrgProjectSignalingIface::no-arg-signal: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1401s # g_signal_new ("no-arg-signal", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1401s # G_TYPE_NONE, 1401s # 0); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-b: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_b: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1401s # g_signal_new ("single-arg-signal-b", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_BOOLEAN); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-y: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_y: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1401s # g_signal_new ("single-arg-signal-y", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_UCHAR); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-n: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_n: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1401s # g_signal_new ("single-arg-signal-n", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_INT); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-q: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_q: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1401s # g_signal_new ("single-arg-signal-q", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_UINT); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-i: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_i: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1401s # g_signal_new ("single-arg-signal-i", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_INT); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-u: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_u: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1401s # g_signal_new ("single-arg-signal-u", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_UINT); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-x: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_x: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1401s # g_signal_new ("single-arg-signal-x", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_INT64); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-t: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_t: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1401s # g_signal_new ("single-arg-signal-t", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_UINT64); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-d: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_d: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1401s # g_signal_new ("single-arg-signal-d", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_DOUBLE); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-s: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_s: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1401s # g_signal_new ("single-arg-signal-s", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_STRING); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-o: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_o: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1401s # g_signal_new ("single-arg-signal-o", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_STRING); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-g: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_g: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1401s # g_signal_new ("single-arg-signal-g", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_STRING); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-h: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_h: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1401s # g_signal_new ("single-arg-signal-h", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_VARIANT); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-ay: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_ay: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1401s # g_signal_new ("single-arg-signal-ay", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_STRING); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-as: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_as: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1401s # g_signal_new ("single-arg-signal-as", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_STRV); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-ao: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_ao: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1401s # g_signal_new ("single-arg-signal-ao", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_STRV); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-aay: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_aay: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1401s # g_signal_new ("single-arg-signal-aay", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_STRV); 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface::single-arg-signal-asv: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_asv: Argument. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1401s # g_signal_new ("single-arg-signal-asv", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1401s # G_TYPE_NONE, 1401s # 1, G_TYPE_VARIANT); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_no_arg_signal: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * 1401s # * Emits the "NoArgSignal" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_no_arg_signal ( 1401s # OrgProjectSignalingIface *object) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_b: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_b: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalB" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_b ( 1401s # OrgProjectSignalingIface *object, 1401s # gboolean arg_an_b) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_y: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_y: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalY" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_y ( 1401s # OrgProjectSignalingIface *object, 1401s # guchar arg_an_y) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_n: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_n: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalN" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_n ( 1401s # OrgProjectSignalingIface *object, 1401s # gint16 arg_an_n) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_q: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_q: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalQ" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_q ( 1401s # OrgProjectSignalingIface *object, 1401s # guint16 arg_an_q) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_i: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_i: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalI" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_i ( 1401s # OrgProjectSignalingIface *object, 1401s # gint arg_an_i) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_u: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_u: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalU" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_u ( 1401s # OrgProjectSignalingIface *object, 1401s # guint arg_an_u) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_x: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_x: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalX" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_x ( 1401s # OrgProjectSignalingIface *object, 1401s # gint64 arg_an_x) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_t: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_t: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalT" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_t ( 1401s # OrgProjectSignalingIface *object, 1401s # guint64 arg_an_t) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_d: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_d: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalD" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_d ( 1401s # OrgProjectSignalingIface *object, 1401s # gdouble arg_an_d) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_s: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_s: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalS" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_s ( 1401s # OrgProjectSignalingIface *object, 1401s # const gchar *arg_an_s) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_o: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_o: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalO" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_o ( 1401s # OrgProjectSignalingIface *object, 1401s # const gchar *arg_an_o) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_g: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_g: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalG" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_g ( 1401s # OrgProjectSignalingIface *object, 1401s # const gchar *arg_an_g) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_h: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_h: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalH" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_h ( 1401s # OrgProjectSignalingIface *object, 1401s # GVariant *arg_an_h) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_ay: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalAY" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1401s # OrgProjectSignalingIface *object, 1401s # const gchar *arg_an_ay) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_as: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_as: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalAS" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_as ( 1401s # OrgProjectSignalingIface *object, 1401s # const gchar *const *arg_an_as) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_ao: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalAO" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1401s # OrgProjectSignalingIface *object, 1401s # const gchar *const *arg_an_ao) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_aay: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1401s # OrgProjectSignalingIface *object, 1401s # const gchar *const *arg_an_aay) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * @arg_an_asv: Argument to pass with the signal. 1401s # * 1401s # * Emits the "SingleArgSignalASV" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1401s # OrgProjectSignalingIface *object, 1401s # GVariant *arg_an_asv) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceProxy: 1401s # * 1401s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectSignalingIfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectSignalingIfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_signaling_iface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1401s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1401s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceSkeleton: 1401s # * 1401s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_signaling_iface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_signaling_iface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_signaling_iface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1401s # { 1401s # _org_project_signaling_iface_skeleton_handle_method_call, 1401s # _org_project_signaling_iface_skeleton_handle_get_property, 1401s # _org_project_signaling_iface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_signaling_iface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1401s # OrgProjectSignalingIface *object) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1401s # OrgProjectSignalingIface *object, 1401s # gboolean arg_an_b) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1401s # arg_an_b)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1401s # OrgProjectSignalingIface *object, 1401s # guchar arg_an_y) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1401s # arg_an_y)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1401s # OrgProjectSignalingIface *object, 1401s # gint16 arg_an_n) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1401s # arg_an_n)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1401s # OrgProjectSignalingIface *object, 1401s # guint16 arg_an_q) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1401s # arg_an_q)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1401s # OrgProjectSignalingIface *object, 1401s # gint arg_an_i) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1401s # arg_an_i)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1401s # OrgProjectSignalingIface *object, 1401s # guint arg_an_u) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1401s # arg_an_u)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1401s # OrgProjectSignalingIface *object, 1401s # gint64 arg_an_x) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1401s # arg_an_x)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1401s # OrgProjectSignalingIface *object, 1401s # guint64 arg_an_t) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1401s # arg_an_t)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1401s # OrgProjectSignalingIface *object, 1401s # gdouble arg_an_d) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1401s # arg_an_d)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1401s # OrgProjectSignalingIface *object, 1401s # const gchar *arg_an_s) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1401s # arg_an_s)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1401s # OrgProjectSignalingIface *object, 1401s # const gchar *arg_an_o) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1401s # arg_an_o)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1401s # OrgProjectSignalingIface *object, 1401s # const gchar *arg_an_g) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1401s # arg_an_g)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1401s # OrgProjectSignalingIface *object, 1401s # GVariant *arg_an_h) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1401s # arg_an_h)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1401s # OrgProjectSignalingIface *object, 1401s # const gchar *arg_an_ay) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1401s # arg_an_ay)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1401s # OrgProjectSignalingIface *object, 1401s # const gchar *const *arg_an_as) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1401s # arg_an_as)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1401s # OrgProjectSignalingIface *object, 1401s # const gchar *const *arg_an_ao) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1401s # arg_an_ao)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1401s # OrgProjectSignalingIface *object, 1401s # const gchar *const *arg_an_aay) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1401s # arg_an_aay)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1401s # OrgProjectSignalingIface *object, 1401s # GVariant *arg_an_asv) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1401s # arg_an_asv)); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1401s # { 1401s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1401s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1401s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1401s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1401s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1401s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1401s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1401s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1401s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1401s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1401s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1401s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1401s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1401s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1401s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1401s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1401s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1401s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1401s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1401s # } 1401s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1401s # tmpdir: /tmp/tmpzr9u888_ 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpzr9u888_/tmpgufp91j9.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzr9u888_/tmpgufp91j9.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.UsefulInterface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectUsefulInterface 1401s # * @title: OrgProjectUsefulInterface 1401s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1401s # */ 1401s # 1401s # enum 1401s # { 1401s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1401s # }; 1401s # 1401s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1401s # 1401s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SimpleSignal", 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "simple-signal" 1401s # }; 1401s # 1401s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1401s # { 1401s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.UsefulInterface", 1401s # NULL, 1401s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-useful-interface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_useful_interface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_useful_interface_signal_marshal_simple_signal ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__VOID (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1401s # */ 1401s # 1401s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1401s # { 1401s # /* GObject signals for received D-Bus signals: */ 1401s # /** 1401s # * OrgProjectUsefulInterface::simple-signal: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1401s # g_signal_new ("simple-signal", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1401s # NULL, 1401s # NULL, 1401s # org_project_useful_interface_signal_marshal_simple_signal, 1401s # G_TYPE_NONE, 1401s # 0); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_emit_simple_signal: 1401s # * @object: A #OrgProjectUsefulInterface. 1401s # * 1401s # * Emits the "SimpleSignal" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_useful_interface_emit_simple_signal ( 1401s # OrgProjectUsefulInterface *object) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxy: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1401s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1401s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_useful_interface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeleton: 1401s # * 1401s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectUsefulInterfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_useful_interface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_useful_interface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_useful_interface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1401s # { 1401s # _org_project_useful_interface_skeleton_handle_method_call, 1401s # _org_project_useful_interface_skeleton_handle_get_property, 1401s # _org_project_useful_interface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_useful_interface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # _org_project_useful_interface_on_signal_simple_signal ( 1401s # OrgProjectUsefulInterface *object) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_useful_interface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1401s # { 1401s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1401s # } 1401s # 1401s # /** 1401s # * org_project_useful_interface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectUsefulInterface * 1401s # org_project_useful_interface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.OtherIface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectOtherIface 1401s # * @title: OrgProjectOtherIface 1401s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1401s # */ 1401s # 1401s # enum 1401s # { 1401s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1401s # }; 1401s # 1401s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1401s # 1401s # /* ---- Introspection data for org.project.OtherIface ---- */ 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SimpleSignal", 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "simple-signal" 1401s # }; 1401s # 1401s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1401s # { 1401s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.OtherIface", 1401s # NULL, 1401s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-other-iface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_other_iface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_other_iface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_iface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_other_iface_signal_marshal_simple_signal ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__VOID (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectOtherIface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectOtherIfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.OtherIface. 1401s # */ 1401s # 1401s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1401s # { 1401s # /* GObject signals for received D-Bus signals: */ 1401s # /** 1401s # * OrgProjectOtherIface::simple-signal: 1401s # * @object: A #OrgProjectOtherIface. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1401s # g_signal_new ("simple-signal", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1401s # NULL, 1401s # NULL, 1401s # org_project_other_iface_signal_marshal_simple_signal, 1401s # G_TYPE_NONE, 1401s # 0); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_iface_emit_simple_signal: 1401s # * @object: A #OrgProjectOtherIface. 1401s # * 1401s # * Emits the "SimpleSignal" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_other_iface_emit_simple_signal ( 1401s # OrgProjectOtherIface *object) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectOtherIfaceProxy: 1401s # * 1401s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectOtherIfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectOtherIfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectOtherIfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_other_iface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1401s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1401s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_iface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_other_iface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_iface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherIface * 1401s # org_project_other_iface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_iface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherIface * 1401s # org_project_other_iface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_other_iface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_other_iface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_iface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherIface * 1401s # org_project_other_iface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_iface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherIface * 1401s # org_project_other_iface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectOtherIfaceSkeleton: 1401s # * 1401s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectOtherIfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectOtherIfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_other_iface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_other_iface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_other_iface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1401s # { 1401s # _org_project_other_iface_skeleton_handle_method_call, 1401s # _org_project_other_iface_skeleton_handle_get_property, 1401s # _org_project_other_iface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_other_iface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # _org_project_other_iface_on_signal_simple_signal ( 1401s # OrgProjectOtherIface *object) 1401s # { 1401s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_other_iface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1401s # { 1401s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_iface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectOtherIface * 1401s # org_project_other_iface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1401s # } 1401s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1401s # tmpdir: /tmp/tmp3xtsz3bs 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmp3xtsz3bs/tmp08mj8dwf.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3xtsz3bs/tmp08mj8dwf.xml', '--output', '-', '--body'] 1401s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.SignalingIface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectSignalingIface 1401s # * @title: OrgProjectSignalingIface 1401s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1401s # */ 1401s # 1401s # enum 1401s # { 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1401s # }; 1401s # 1401s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1401s # 1401s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SimpleSignal", 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "simple-signal" 1401s # }; 1401s # 1401s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1401s # { 1401s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.SignalingIface", 1401s # NULL, 1401s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-signaling-iface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_signaling_iface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_signaling_iface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_signaling_iface_signal_marshal_simple_signal ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__VOID (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectSignalingIface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1401s # */ 1401s # 1401s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1401s # { 1401s # /* GObject signals for received D-Bus signals: */ 1401s # /** 1401s # * OrgProjectSignalingIface::simple-signal: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1401s # g_signal_new ("simple-signal", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1401s # NULL, 1401s # NULL, 1401s # org_project_signaling_iface_signal_marshal_simple_signal, 1401s # G_TYPE_NONE, 1401s # 0); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_emit_simple_signal: 1401s # * @object: A #OrgProjectSignalingIface. 1401s # * 1401s # * Emits the "SimpleSignal" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_emit_simple_signal ( 1401s # OrgProjectSignalingIface *object) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceProxy: 1401s # * 1401s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectSignalingIfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectSignalingIfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_signaling_iface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1401s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1401s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_signaling_iface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceSkeleton: 1401s # * 1401s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectSignalingIfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_signaling_iface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_signaling_iface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_signaling_iface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1401s # { 1401s # _org_project_signaling_iface_skeleton_handle_method_call, 1401s # _org_project_signaling_iface_skeleton_handle_get_property, 1401s # _org_project_signaling_iface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_signaling_iface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # _org_project_signaling_iface_on_signal_simple_signal ( 1401s # OrgProjectSignalingIface *object) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1401s # { 1401s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1401s # } 1401s # 1401s # /** 1401s # * org_project_signaling_iface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectSignalingIface * 1401s # org_project_signaling_iface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.OtherSignalingIface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectOtherSignalingIface 1401s # * @title: OrgProjectOtherSignalingIface 1401s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1401s # */ 1401s # 1401s # enum 1401s # { 1401s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1401s # }; 1401s # 1401s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1401s # 1401s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1401s # 1401s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SimpleSignal", 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "simple-signal" 1401s # }; 1401s # 1401s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1401s # { 1401s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.OtherSignalingIface", 1401s # NULL, 1401s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-other-signaling-iface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_other_signaling_iface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_other_signaling_iface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_signaling_iface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # g_cclosure_marshal_VOID__VOID (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectOtherSignalingIface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectOtherSignalingIfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1401s # */ 1401s # 1401s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1401s # { 1401s # /* GObject signals for received D-Bus signals: */ 1401s # /** 1401s # * OrgProjectOtherSignalingIface::simple-signal: 1401s # * @object: A #OrgProjectOtherSignalingIface. 1401s # * 1401s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1401s # * 1401s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1401s # */ 1401s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1401s # g_signal_new ("simple-signal", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1401s # NULL, 1401s # NULL, 1401s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1401s # G_TYPE_NONE, 1401s # 0); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_signaling_iface_emit_simple_signal: 1401s # * @object: A #OrgProjectOtherSignalingIface. 1401s # * 1401s # * Emits the "SimpleSignal" D-Bus signal. 1401s # */ 1401s # void 1401s # org_project_other_signaling_iface_emit_simple_signal ( 1401s # OrgProjectOtherSignalingIface *object) 1401s # { 1401s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectOtherSignalingIfaceProxy: 1401s # * 1401s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectOtherSignalingIfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1401s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1401s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_signaling_iface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_other_signaling_iface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_signaling_iface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherSignalingIface * 1401s # org_project_other_signaling_iface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_signaling_iface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherSignalingIface * 1401s # org_project_other_signaling_iface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_other_signaling_iface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_other_signaling_iface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherSignalingIface * 1401s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherSignalingIface * 1401s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectOtherSignalingIfaceSkeleton: 1401s # * 1401s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1401s # { 1401s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1401s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1401s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_other_signaling_iface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1401s # OrgProjectOtherSignalingIface *object) 1401s # { 1401s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1401s # 1401s # GList *connections, *l; 1401s # GVariant *signal_variant; 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1401s # for (l = connections; l != NULL; l = l->next) 1401s # { 1401s # GDBusConnection *connection = l->data; 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1401s # signal_variant, NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # 1401s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1401s # { 1401s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_signaling_iface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectOtherSignalingIface * 1401s # org_project_other_signaling_iface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1401s # } 1403s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1403s # tmpdir: /tmp/tmpw4huybnb 1403s # codegen: /usr/bin/gdbus-codegen 1403s # /tmp/tmpw4huybnb/tmpe3jsoson.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmpe3jsoson.xml', '--output', '-', '--body'] 1403s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.SignalingIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectSignalingIface 1403s # * @title: OrgProjectSignalingIface 1403s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SimpleSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "simple-signal" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_b", 1403s # (gchar *) "b", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalB", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-b" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.SignalingIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-signaling-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_signaling_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_simple_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1403s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectSignalingIface::simple-signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1403s # g_signal_new ("simple-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_simple_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-b: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_b: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1403s # g_signal_new ("single-arg-signal-b", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_BOOLEAN); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_simple_signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * Emits the "SimpleSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_b: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_b: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalB" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_b ( 1403s # OrgProjectSignalingIface *object, 1403s # gboolean arg_arg_b) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxy: 1403s # * 1403s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_signaling_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_signaling_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_signaling_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1403s # { 1403s # _org_project_signaling_iface_skeleton_handle_method_call, 1403s # _org_project_signaling_iface_skeleton_handle_get_property, 1403s # _org_project_signaling_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_signaling_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1403s # OrgProjectSignalingIface *object, 1403s # gboolean arg_arg_b) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1403s # arg_arg_b)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1403s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmpw4huybnb/tmpq8iajgqc.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmpq8iajgqc.xml', '--output', '-', '--body'] 1403s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.SignalingIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectSignalingIface 1403s # * @title: OrgProjectSignalingIface 1403s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SimpleSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "simple-signal" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_y", 1403s # (gchar *) "y", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalY", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-y" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.SignalingIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-signaling-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_signaling_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_simple_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__UCHAR (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1403s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectSignalingIface::simple-signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1403s # g_signal_new ("simple-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_simple_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-y: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_y: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1403s # g_signal_new ("single-arg-signal-y", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_UCHAR); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_simple_signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * Emits the "SimpleSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_y: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_y: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalY" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_y ( 1403s # OrgProjectSignalingIface *object, 1403s # guchar arg_arg_y) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxy: 1403s # * 1403s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_signaling_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_signaling_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_signaling_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1403s # { 1403s # _org_project_signaling_iface_skeleton_handle_method_call, 1403s # _org_project_signaling_iface_skeleton_handle_get_property, 1403s # _org_project_signaling_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_signaling_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1403s # OrgProjectSignalingIface *object, 1403s # guchar arg_arg_y) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1403s # arg_arg_y)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1403s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmpw4huybnb/tmpp2ml9t_q.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmpp2ml9t_q.xml', '--output', '-', '--body'] 1403s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.SignalingIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectSignalingIface 1403s # * @title: OrgProjectSignalingIface 1403s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SimpleSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "simple-signal" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_n", 1403s # (gchar *) "n", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalN", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-n" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.SignalingIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-signaling-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_signaling_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_simple_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__INT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1403s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectSignalingIface::simple-signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1403s # g_signal_new ("simple-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_simple_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-n: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_n: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1403s # g_signal_new ("single-arg-signal-n", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_INT); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_simple_signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * Emits the "SimpleSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_n: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_n: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalN" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_n ( 1403s # OrgProjectSignalingIface *object, 1403s # gint16 arg_arg_n) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxy: 1403s # * 1403s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_signaling_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_signaling_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_signaling_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1403s # { 1403s # _org_project_signaling_iface_skeleton_handle_method_call, 1403s # _org_project_signaling_iface_skeleton_handle_get_property, 1403s # _org_project_signaling_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_signaling_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1403s # OrgProjectSignalingIface *object, 1403s # gint16 arg_arg_n) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1403s # arg_arg_n)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1403s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmpw4huybnb/tmpgqnuc6_s.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmpgqnuc6_s.xml', '--output', '-', '--body'] 1403s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.SignalingIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectSignalingIface 1403s # * @title: OrgProjectSignalingIface 1403s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SimpleSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "simple-signal" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_q", 1403s # (gchar *) "q", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalQ", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-q" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.SignalingIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-signaling-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_signaling_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_simple_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__UINT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1403s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectSignalingIface::simple-signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1403s # g_signal_new ("simple-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_simple_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-q: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_q: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1403s # g_signal_new ("single-arg-signal-q", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_UINT); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_simple_signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * Emits the "SimpleSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_q: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_q: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalQ" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_q ( 1403s # OrgProjectSignalingIface *object, 1403s # guint16 arg_arg_q) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxy: 1403s # * 1403s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_signaling_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_signaling_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_signaling_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1403s # { 1403s # _org_project_signaling_iface_skeleton_handle_method_call, 1403s # _org_project_signaling_iface_skeleton_handle_get_property, 1403s # _org_project_signaling_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_signaling_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1403s # OrgProjectSignalingIface *object, 1403s # guint16 arg_arg_q) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1403s # arg_arg_q)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1403s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmpw4huybnb/tmpve_vj74t.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmpve_vj74t.xml', '--output', '-', '--body'] 1403s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.SignalingIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectSignalingIface 1403s # * @title: OrgProjectSignalingIface 1403s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SimpleSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "simple-signal" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_i", 1403s # (gchar *) "i", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalI", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-i" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.SignalingIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-signaling-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_signaling_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_simple_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__INT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1403s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectSignalingIface::simple-signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1403s # g_signal_new ("simple-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_simple_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-i: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_i: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1403s # g_signal_new ("single-arg-signal-i", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_INT); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_simple_signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * Emits the "SimpleSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_i: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_i: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalI" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_i ( 1403s # OrgProjectSignalingIface *object, 1403s # gint arg_arg_i) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxy: 1403s # * 1403s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_signaling_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_signaling_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_signaling_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1403s # { 1403s # _org_project_signaling_iface_skeleton_handle_method_call, 1403s # _org_project_signaling_iface_skeleton_handle_get_property, 1403s # _org_project_signaling_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_signaling_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1403s # OrgProjectSignalingIface *object, 1403s # gint arg_arg_i) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1403s # arg_arg_i)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1403s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmpw4huybnb/tmpdf2ih99_.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmpdf2ih99_.xml', '--output', '-', '--body'] 1403s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.SignalingIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectSignalingIface 1403s # * @title: OrgProjectSignalingIface 1403s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SimpleSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "simple-signal" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_u", 1403s # (gchar *) "u", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalU", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-u" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.SignalingIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-signaling-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_signaling_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_simple_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__UINT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1403s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectSignalingIface::simple-signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1403s # g_signal_new ("simple-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_simple_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-u: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_u: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1403s # g_signal_new ("single-arg-signal-u", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_UINT); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_simple_signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * Emits the "SimpleSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_u: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_u: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalU" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_u ( 1403s # OrgProjectSignalingIface *object, 1403s # guint arg_arg_u) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxy: 1403s # * 1403s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_signaling_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_signaling_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_signaling_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1403s # { 1403s # _org_project_signaling_iface_skeleton_handle_method_call, 1403s # _org_project_signaling_iface_skeleton_handle_get_property, 1403s # _org_project_signaling_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_signaling_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1403s # OrgProjectSignalingIface *object, 1403s # guint arg_arg_u) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1403s # arg_arg_u)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1403s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmpw4huybnb/tmph24vptbk.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmph24vptbk.xml', '--output', '-', '--body'] 1403s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_VOID__INT64 ( 1403s # GClosure *closure, 1403s # GValue *return_value G_GNUC_UNUSED, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1403s # (void *data1, 1403s # gint64 arg_arg_x, 1403s # void *data2); 1403s # _GDbusCodegenMarshalVoid_Int64Func callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # callback (data1, 1403s # g_marshal_value_peek_int64 (param_values + 1), 1403s # data2); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.SignalingIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectSignalingIface 1403s # * @title: OrgProjectSignalingIface 1403s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SimpleSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "simple-signal" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_x", 1403s # (gchar *) "x", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalX", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-x" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.SignalingIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-signaling-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_signaling_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_simple_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1403s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectSignalingIface::simple-signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1403s # g_signal_new ("simple-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_simple_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-x: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_x: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1403s # g_signal_new ("single-arg-signal-x", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_INT64); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_simple_signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * Emits the "SimpleSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_x: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_x: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalX" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_x ( 1403s # OrgProjectSignalingIface *object, 1403s # gint64 arg_arg_x) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxy: 1403s # * 1403s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_signaling_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_signaling_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_signaling_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1403s # { 1403s # _org_project_signaling_iface_skeleton_handle_method_call, 1403s # _org_project_signaling_iface_skeleton_handle_get_property, 1403s # _org_project_signaling_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_signaling_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1403s # OrgProjectSignalingIface *object, 1403s # gint64 arg_arg_x) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1403s # arg_arg_x)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1403s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmpw4huybnb/tmpnuektmhu.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmpnuektmhu.xml', '--output', '-', '--body'] 1403s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1403s # GClosure *closure, 1403s # GValue *return_value G_GNUC_UNUSED, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1403s # (void *data1, 1403s # guint64 arg_arg_t, 1403s # void *data2); 1403s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # callback (data1, 1403s # g_marshal_value_peek_uint64 (param_values + 1), 1403s # data2); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.SignalingIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectSignalingIface 1403s # * @title: OrgProjectSignalingIface 1403s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SimpleSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "simple-signal" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_t", 1403s # (gchar *) "t", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalT", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-t" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.SignalingIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-signaling-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_signaling_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_simple_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1403s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectSignalingIface::simple-signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1403s # g_signal_new ("simple-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_simple_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-t: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_t: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1403s # g_signal_new ("single-arg-signal-t", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_UINT64); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_simple_signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * Emits the "SimpleSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_t: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_t: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalT" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_t ( 1403s # OrgProjectSignalingIface *object, 1403s # guint64 arg_arg_t) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxy: 1403s # * 1403s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_signaling_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_signaling_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_signaling_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1403s # { 1403s # _org_project_signaling_iface_skeleton_handle_method_call, 1403s # _org_project_signaling_iface_skeleton_handle_get_property, 1403s # _org_project_signaling_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_signaling_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1403s # OrgProjectSignalingIface *object, 1403s # guint64 arg_arg_t) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1403s # arg_arg_t)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1403s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmpw4huybnb/tmphozi2y1o.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmphozi2y1o.xml', '--output', '-', '--body'] 1403s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.SignalingIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectSignalingIface 1403s # * @title: OrgProjectSignalingIface 1403s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SimpleSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "simple-signal" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_d", 1403s # (gchar *) "d", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalD", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-d" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.SignalingIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-signaling-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_signaling_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_simple_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__DOUBLE (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1403s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectSignalingIface::simple-signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1403s # g_signal_new ("simple-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_simple_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-d: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_d: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1403s # g_signal_new ("single-arg-signal-d", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_DOUBLE); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_simple_signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * Emits the "SimpleSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_d: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_d: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalD" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_d ( 1403s # OrgProjectSignalingIface *object, 1403s # gdouble arg_arg_d) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxy: 1403s # * 1403s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_signaling_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_signaling_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_signaling_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1403s # { 1403s # _org_project_signaling_iface_skeleton_handle_method_call, 1403s # _org_project_signaling_iface_skeleton_handle_get_property, 1403s # _org_project_signaling_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_signaling_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1403s # OrgProjectSignalingIface *object, 1403s # gdouble arg_arg_d) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1403s # arg_arg_d)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1403s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmpw4huybnb/tmpiz82yx_5.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmpiz82yx_5.xml', '--output', '-', '--body'] 1403s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.SignalingIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectSignalingIface 1403s # * @title: OrgProjectSignalingIface 1403s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SimpleSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "simple-signal" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_s", 1403s # (gchar *) "s", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalS", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-s" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.SignalingIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-signaling-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_signaling_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_simple_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__STRING (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1403s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectSignalingIface::simple-signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1403s # g_signal_new ("simple-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_simple_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-s: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_s: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1403s # g_signal_new ("single-arg-signal-s", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_STRING); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_simple_signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * Emits the "SimpleSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_s: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_arg_s: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalS" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_s ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *arg_arg_s) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxy: 1403s # * 1403s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_signaling_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_s) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1404s # arg_arg_s)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmpw4huybnb/tmpxl0_yfj0.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmpxl0_yfj0.xml', '--output', '-', '--body'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_o", 1404s # (gchar *) "o", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalO", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-o" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__STRING (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-o: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_o: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1404s # g_signal_new ("single-arg-signal-o", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_STRING); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_o: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_o: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalO" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_o ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_o) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_o) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1404s # arg_arg_o)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmpw4huybnb/tmplj3nn3r2.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmplj3nn3r2.xml', '--output', '-', '--body'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_g", 1404s # (gchar *) "g", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalG", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-g" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__STRING (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-g: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_g: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1404s # g_signal_new ("single-arg-signal-g", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_STRING); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_g: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_g: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalG" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_g ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_g) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_g) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1404s # arg_arg_g)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmpw4huybnb/tmp291_v8nf.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmp291_v8nf.xml', '--output', '-', '--body'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_h", 1404s # (gchar *) "h", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalH", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-h" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VARIANT (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-h: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_h: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1404s # g_signal_new ("single-arg-signal-h", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_VARIANT); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_h: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_h: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalH" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_h ( 1404s # OrgProjectSignalingIface *object, 1404s # GVariant *arg_arg_h) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1404s # OrgProjectSignalingIface *object, 1404s # GVariant *arg_arg_h) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1404s # arg_arg_h)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmpw4huybnb/tmpcsckqnf7.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmpcsckqnf7.xml', '--output', '-', '--body'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_ay", 1404s # (gchar *) "ay", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalAy", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-ay" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__STRING (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-ay: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_ay: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1404s # g_signal_new ("single-arg-signal-ay", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_STRING); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_ay: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalAy" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_ay) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_ay) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1404s # arg_arg_ay)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmpw4huybnb/tmpdb4ielmt.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmpdb4ielmt.xml', '--output', '-', '--body'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_as", 1404s # (gchar *) "as", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalAs", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-as" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__BOXED (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-as: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_as: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1404s # g_signal_new ("single-arg-signal-as", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_STRV); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_as: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_as: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalAs" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_as ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *const *arg_arg_as) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *const *arg_arg_as) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1404s # arg_arg_as)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmpw4huybnb/tmpixtrupvb.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmpixtrupvb.xml', '--output', '-', '--body'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_ao", 1404s # (gchar *) "ao", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalAo", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-ao" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__BOXED (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-ao: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_ao: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1404s # g_signal_new ("single-arg-signal-ao", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_STRV); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_ao: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalAo" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *const *arg_arg_ao) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *const *arg_arg_ao) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1404s # arg_arg_ao)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmpw4huybnb/tmpc2rd0y_n.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmpc2rd0y_n.xml', '--output', '-', '--body'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_aay", 1404s # (gchar *) "aay", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalAay", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-aay" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__BOXED (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-aay: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_aay: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1404s # g_signal_new ("single-arg-signal-aay", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_STRV); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_aay: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalAay" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *const *arg_arg_aay) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *const *arg_arg_aay) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1404s # arg_arg_aay)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmpw4huybnb/tmpngen0q4j.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4huybnb/tmpngen0q4j.xml', '--output', '-', '--body'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_asv", 1404s # (gchar *) "a{sv}", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalAsv", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-asv" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VARIANT (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-asv: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_asv: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1404s # g_signal_new ("single-arg-signal-asv", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_VARIANT); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_asv: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1404s # OrgProjectSignalingIface *object, 1404s # GVariant *arg_arg_asv) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1404s # OrgProjectSignalingIface *object, 1404s # GVariant *arg_arg_asv) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1404s # arg_arg_asv)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1404s # tmpdir: /tmp/tmphrp5hoo6 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmphrp5hoo6/tmpe5ontotw.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphrp5hoo6/tmpe5ontotw.xml', '--output', '-', '--body'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static void 1404s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1404s # GClosure *closure, 1404s # GValue *return_value G_GNUC_UNUSED, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint G_GNUC_UNUSED, 1404s # void *marshal_data) 1404s # { 1404s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1404s # (void *data1, 1404s # gboolean arg_an_b, 1404s # guchar arg_an_y, 1404s # gint16 arg_an_n, 1404s # guint16 arg_an_q, 1404s # gint arg_an_i, 1404s # guint arg_an_u, 1404s # gint64 arg_an_x, 1404s # guint64 arg_an_t, 1404s # gdouble arg_an_d, 1404s # const gchar *arg_an_s, 1404s # const gchar *arg_an_o, 1404s # const gchar *arg_an_g, 1404s # GVariant *arg_an_h, 1404s # const gchar *arg_an_ay, 1404s # const gchar *const *arg_an_as, 1404s # const gchar *const *arg_an_ao, 1404s # const gchar *const *arg_an_aay, 1404s # GVariant *arg_an_asv, 1404s # void *data2); 1404s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1404s # GCClosure *cc = (GCClosure*) closure; 1404s # void *data1, *data2; 1404s # 1404s # g_return_if_fail (n_param_values == 19); 1404s # 1404s # if (G_CCLOSURE_SWAP_DATA (closure)) 1404s # { 1404s # data1 = closure->data; 1404s # data2 = g_value_peek_pointer (param_values + 0); 1404s # } 1404s # else 1404s # { 1404s # data1 = g_value_peek_pointer (param_values + 0); 1404s # data2 = closure->data; 1404s # } 1404s # 1404s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1404s # (marshal_data ? marshal_data : cc->callback); 1404s # 1404s # callback (data1, 1404s # g_marshal_value_peek_boolean (param_values + 1), 1404s # g_marshal_value_peek_uchar (param_values + 2), 1404s # g_marshal_value_peek_int (param_values + 3), 1404s # g_marshal_value_peek_uint (param_values + 4), 1404s # g_marshal_value_peek_int (param_values + 5), 1404s # g_marshal_value_peek_uint (param_values + 6), 1404s # g_marshal_value_peek_int64 (param_values + 7), 1404s # g_marshal_value_peek_uint64 (param_values + 8), 1404s # g_marshal_value_peek_double (param_values + 9), 1404s # g_marshal_value_peek_string (param_values + 10), 1404s # g_marshal_value_peek_string (param_values + 11), 1404s # g_marshal_value_peek_string (param_values + 12), 1404s # g_marshal_value_peek_variant (param_values + 13), 1404s # g_marshal_value_peek_string (param_values + 14), 1404s # g_marshal_value_peek_boxed (param_values + 15), 1404s # g_marshal_value_peek_boxed (param_values + 16), 1404s # g_marshal_value_peek_boxed (param_values + 17), 1404s # g_marshal_value_peek_variant (param_values + 18), 1404s # data2); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_b", 1404s # (gchar *) "b", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_y", 1404s # (gchar *) "y", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_n", 1404s # (gchar *) "n", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_q", 1404s # (gchar *) "q", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_i", 1404s # (gchar *) "i", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_u", 1404s # (gchar *) "u", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_x", 1404s # (gchar *) "x", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_t", 1404s # (gchar *) "t", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_d", 1404s # (gchar *) "d", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_s", 1404s # (gchar *) "s", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_o", 1404s # (gchar *) "o", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_g", 1404s # (gchar *) "g", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_h", 1404s # (gchar *) "h", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_ay", 1404s # (gchar *) "ay", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_as", 1404s # (gchar *) "as", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_ao", 1404s # (gchar *) "ao", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_aay", 1404s # (gchar *) "aay", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_asv", 1404s # (gchar *) "a{sv}", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SignalWithManyArgs", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "signal-with-many-args" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::signal-with-many-args: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_an_b: Argument. 1404s # * @arg_an_y: Argument. 1404s # * @arg_an_n: Argument. 1404s # * @arg_an_q: Argument. 1404s # * @arg_an_i: Argument. 1404s # * @arg_an_u: Argument. 1404s # * @arg_an_x: Argument. 1404s # * @arg_an_t: Argument. 1404s # * @arg_an_d: Argument. 1404s # * @arg_an_s: Argument. 1404s # * @arg_an_o: Argument. 1404s # * @arg_an_g: Argument. 1404s # * @arg_an_h: Argument. 1404s # * @arg_an_ay: Argument. 1404s # * @arg_an_as: Argument. 1404s # * @arg_an_ao: Argument. 1404s # * @arg_an_aay: Argument. 1404s # * @arg_an_asv: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1404s # g_signal_new ("signal-with-many-args", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1404s # G_TYPE_NONE, 1404s # 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); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_signal_with_many_args: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_an_b: Argument to pass with the signal. 1404s # * @arg_an_y: Argument to pass with the signal. 1404s # * @arg_an_n: Argument to pass with the signal. 1404s # * @arg_an_q: Argument to pass with the signal. 1404s # * @arg_an_i: Argument to pass with the signal. 1404s # * @arg_an_u: Argument to pass with the signal. 1404s # * @arg_an_x: Argument to pass with the signal. 1404s # * @arg_an_t: Argument to pass with the signal. 1404s # * @arg_an_d: Argument to pass with the signal. 1404s # * @arg_an_s: Argument to pass with the signal. 1404s # * @arg_an_o: Argument to pass with the signal. 1404s # * @arg_an_g: Argument to pass with the signal. 1404s # * @arg_an_h: Argument to pass with the signal. 1404s # * @arg_an_ay: Argument to pass with the signal. 1404s # * @arg_an_as: Argument to pass with the signal. 1404s # * @arg_an_ao: Argument to pass with the signal. 1404s # * @arg_an_aay: Argument to pass with the signal. 1404s # * @arg_an_asv: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SignalWithManyArgs" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_signal_with_many_args ( 1404s # OrgProjectSignalingIface *object, 1404s # gboolean arg_an_b, 1404s # guchar arg_an_y, 1404s # gint16 arg_an_n, 1404s # guint16 arg_an_q, 1404s # gint arg_an_i, 1404s # guint arg_an_u, 1404s # gint64 arg_an_x, 1404s # guint64 arg_an_t, 1404s # gdouble arg_an_d, 1404s # const gchar *arg_an_s, 1404s # const gchar *arg_an_o, 1404s # const gchar *arg_an_g, 1404s # GVariant *arg_an_h, 1404s # const gchar *arg_an_ay, 1404s # const gchar *const *arg_an_as, 1404s # const gchar *const *arg_an_ao, 1404s # const gchar *const *arg_an_aay, 1404s # GVariant *arg_an_asv) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1404s # OrgProjectSignalingIface *object, 1404s # gboolean arg_an_b, 1404s # guchar arg_an_y, 1404s # gint16 arg_an_n, 1404s # guint16 arg_an_q, 1404s # gint arg_an_i, 1404s # guint arg_an_u, 1404s # gint64 arg_an_x, 1404s # guint64 arg_an_t, 1404s # gdouble arg_an_d, 1404s # const gchar *arg_an_s, 1404s # const gchar *arg_an_o, 1404s # const gchar *arg_an_g, 1404s # GVariant *arg_an_h, 1404s # const gchar *arg_an_ay, 1404s # const gchar *const *arg_an_as, 1404s # const gchar *const *arg_an_ao, 1404s # const gchar *const *arg_an_aay, 1404s # GVariant *arg_an_asv) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1404s # arg_an_b, 1404s # arg_an_y, 1404s # arg_an_n, 1404s # arg_an_q, 1404s # arg_an_i, 1404s # arg_an_u, 1404s # arg_an_x, 1404s # arg_an_t, 1404s # arg_an_d, 1404s # arg_an_s, 1404s # arg_an_o, 1404s # arg_an_g, 1404s # arg_an_h, 1404s # arg_an_ay, 1404s # arg_an_as, 1404s # arg_an_ao, 1404s # arg_an_aay, 1404s # arg_an_asv)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1404s # tmpdir: /tmp/tmpfblyw3an 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmpfblyw3an/tmpwheywb14.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfblyw3an/tmpwheywb14.xml', '--generate-docbook', 'test'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: 1404s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1404s # tmpdir: /tmp/tmpbcjtay2a 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmpbcjtay2a/tmpauqi191g.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbcjtay2a/tmpauqi191g.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1404s # tmpdir: /tmp/tmp5k_m2c6b 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmp5k_m2c6b/tmp0i1t9uu7.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5k_m2c6b/tmp0i1t9uu7.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifndef __STDOUT__ 1404s # #define __STDOUT__ 1404s # 1404s # #include 1404s # 1404s # G_BEGIN_DECLS 1404s # 1404s # 1404s # G_END_DECLS 1404s # 1404s # #endif /* __STDOUT__ */ 1404s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1404s # tmpdir: /tmp/tmpznwqmgrh 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmpznwqmgrh/tmpki3j24nv.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpznwqmgrh/tmpki3j24nv.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1404s # tmpdir: /tmp/tmp7p8tch25 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmp7p8tch25/tmpys1u5hh8.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7p8tch25/tmpys1u5hh8.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifndef __STDOUT__ 1404s # #define __STDOUT__ 1404s # 1404s # #include 1404s # 1404s # G_BEGIN_DECLS 1404s # 1404s # 1404s # G_END_DECLS 1404s # 1404s # #endif /* __STDOUT__ */ 1404s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1404s # tmpdir: /tmp/tmpaerayl6i 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmpaerayl6i/tmpdcxjww7v.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaerayl6i/tmpdcxjww7v.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifndef __STDOUT__ 1404s # #define __STDOUT__ 1404s # 1404s # #include 1404s # 1404s # G_BEGIN_DECLS 1404s # 1404s # 1404s # G_END_DECLS 1404s # 1404s # #endif /* __STDOUT__ */ 1404s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1404s # tmpdir: /tmp/tmpa_kw8f6j 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmpa_kw8f6j/tmpfm2wnu7v.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa_kw8f6j/tmpfm2wnu7v.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Executing: glib/codegen.py.test 1404s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1404s # tmpdir: /tmp/tmp33pqdmqk 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmp33pqdmqk/tmp7utu4d2i.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp33pqdmqk/tmp7utu4d2i.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifndef __STDOUT__ 1404s # #define __STDOUT__ 1404s # 1404s # #include 1404s # 1404s # G_BEGIN_DECLS 1404s # 1404s # 1404s # G_END_DECLS 1404s # 1404s # #endif /* __STDOUT__ */ 1404s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1404s # tmpdir: /tmp/tmpt3192yyi 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmpt3192yyi/tmpzcvlusbv.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt3192yyi/tmpzcvlusbv.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1404s # tmpdir: /tmp/tmpk_50b8g_ 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmpk_50b8g_/tmpawv3_wrm.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk_50b8g_/tmpawv3_wrm.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifndef __STDOUT__ 1404s # #define __STDOUT__ 1404s # 1404s # #include 1404s # 1404s # G_BEGIN_DECLS 1404s # 1404s # 1404s # G_END_DECLS 1404s # 1404s # #endif /* __STDOUT__ */ 1404s ok 35 __main__.TestCodegen.test_help 1404s # tmpdir: /tmp/tmpuzjen_e3 1404s # codegen: /usr/bin/gdbus-codegen 1404s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1404s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1404s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1404s # [--c-generate-autocleanup {none,objects,all}] 1404s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1404s # [--generate-rst OUTFILES] [--pragma-once] 1404s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1404s # [--glib-min-required VERSION] 1404s # [--glib-max-allowed VERSION] 1404s # [--symbol-decorator SYMBOL_DECORATOR] 1404s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1404s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1404s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1404s # [--output FILE | --output-directory OUTDIR] 1404s # FILE [FILE ...] 1404s # 1404s # D-Bus code and documentation generator 1404s # 1404s # positional arguments: 1404s # FILE D-Bus introspection XML file 1404s # 1404s # options: 1404s # -h, --help show this help message and exit 1404s # --interface-prefix PREFIX 1404s # String to strip from D-Bus interface names for code 1404s # and docs 1404s # --c-namespace NAMESPACE 1404s # The namespace to use for generated C code 1404s # --c-generate-object-manager 1404s # Generate a GDBusObjectManagerClient subclass when 1404s # generating C code 1404s # --c-generate-autocleanup {none,objects,all} 1404s # Generate autocleanup support 1404s # --generate-docbook OUTFILES 1404s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1404s # --generate-md OUTFILES 1404s # Generate Markdown in OUTFILES-org.Project.IFace.md 1404s # --generate-rst OUTFILES 1404s # Generate reStructuredText in OUTFILES- 1404s # org.Project.IFace.rst 1404s # --pragma-once Use "pragma once" as the inclusion guard 1404s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1404s # Add annotation (may be used several times) 1404s # --glib-min-required VERSION 1404s # Minimum version of GLib to be supported by the 1404s # outputted code (default: 2.30) 1404s # --glib-max-allowed VERSION 1404s # Maximum version of GLib to be used by the outputted 1404s # code (default: current GLib version) 1404s # --symbol-decorator SYMBOL_DECORATOR 1404s # Macro used to decorate a symbol in the outputted 1404s # header, possibly to export symbols 1404s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1404s # Additional header required for decorator specified by 1404s # --symbol-decorator 1404s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1404s # Additional define required for decorator specified by 1404s # --symbol-decorator 1404s # --generate-c-code OUTFILES 1404s # Generate C code in OUTFILES.[ch] 1404s # --header Generate C headers 1404s # --body Generate C code 1404s # --interface-info-header 1404s # Generate GDBusInterfaceInfo C header 1404s # --interface-info-body 1404s # Generate GDBusInterfaceInfo C code 1404s # --output FILE Write output into the specified file 1404s # --output-directory OUTDIR 1404s # Location to output generated files 1405s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1405s # tmpdir: /tmp/tmp4925pzfo 1405s # codegen: /usr/bin/gdbus-codegen 1405s # /tmp/tmp4925pzfo/tmps_61dnsn.xml: 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4925pzfo/tmps_61dnsn.xml', '--generate-rst', 'test'] 1405s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: 1405s # /tmp/tmp4925pzfo/tmp7hem2yow.xml: 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4925pzfo/tmp7hem2yow.xml', '--generate-md', 'test'] 1405s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: 1405s # /tmp/tmp4925pzfo/tmp7fcacq29.xml: 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4925pzfo/tmp7fcacq29.xml', '--generate-docbook', 'test'] 1405s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: 1405s ok 37 __main__.TestCodegen.test_no_args 1405s # tmpdir: /tmp/tmpa_cq5e9t 1405s # codegen: /usr/bin/gdbus-codegen 1405s # Running: ['/usr/bin/gdbus-codegen'] 1405s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s ok 38 __main__.TestCodegen.test_reproducible 1405s # tmpdir: /tmp/tmpi7p9sit9 1405s # codegen: /usr/bin/gdbus-codegen 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi7p9sit9/tmp9_823u751.xml', '/tmp/tmpi7p9sit9/tmplcp914or2.xml', '--output', '-', '--header'] 1405s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: /* 1405s # * This file is generated by gdbus-codegen, do not modify it. 1405s # * 1405s # * The license of this code is the same as for the D-Bus interface description 1405s # * it was derived from. Note that it links to GLib, so must comply with the 1405s # * LGPL linking clauses. 1405s # */ 1405s # 1405s # #ifndef __STDOUT__ 1405s # #define __STDOUT__ 1405s # 1405s # #include 1405s # 1405s # G_BEGIN_DECLS 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # /* Declarations for com.acme.Coyote */ 1405s # 1405s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1405s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1405s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1405s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1405s # 1405s # struct _ComAcmeCoyote; 1405s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1405s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1405s # 1405s # struct _ComAcmeCoyoteIface 1405s # { 1405s # GTypeInterface parent_iface; 1405s # 1405s # 1405s # 1405s # gboolean (*handle_attack) ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # gboolean (*handle_run) ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # gboolean (*handle_sleep) ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1405s # 1405s # void (*surprised) ( 1405s # ComAcmeCoyote *object); 1405s # 1405s # }; 1405s # 1405s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1405s # 1405s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1405s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1405s # 1405s # 1405s # /* D-Bus method call completion functions: */ 1405s # void com_acme_coyote_complete_run ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # void com_acme_coyote_complete_sleep ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # void com_acme_coyote_complete_attack ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # 1405s # 1405s # /* D-Bus signal emissions functions: */ 1405s # void com_acme_coyote_emit_surprised ( 1405s # ComAcmeCoyote *object); 1405s # 1405s # 1405s # 1405s # /* D-Bus method calls: */ 1405s # void com_acme_coyote_call_run ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean com_acme_coyote_call_run_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean com_acme_coyote_call_run_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void com_acme_coyote_call_sleep ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean com_acme_coyote_call_sleep_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean com_acme_coyote_call_sleep_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void com_acme_coyote_call_attack ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean com_acme_coyote_call_attack_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean com_acme_coyote_call_attack_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # 1405s # /* D-Bus property accessors: */ 1405s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1405s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1405s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1405s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1405s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1405s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1405s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1405s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1405s # 1405s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1405s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1405s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1405s # 1405s # struct _ComAcmeCoyoteProxy 1405s # { 1405s # /*< private >*/ 1405s # GDBusProxy parent_instance; 1405s # ComAcmeCoyoteProxyPrivate *priv; 1405s # }; 1405s # 1405s # struct _ComAcmeCoyoteProxyClass 1405s # { 1405s # GDBusProxyClass parent_class; 1405s # }; 1405s # 1405s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1405s # #endif 1405s # 1405s # void com_acme_coyote_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void com_acme_coyote_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1405s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1405s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1405s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1405s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1405s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1405s # 1405s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1405s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1405s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1405s # 1405s # struct _ComAcmeCoyoteSkeleton 1405s # { 1405s # /*< private >*/ 1405s # GDBusInterfaceSkeleton parent_instance; 1405s # ComAcmeCoyoteSkeletonPrivate *priv; 1405s # }; 1405s # 1405s # struct _ComAcmeCoyoteSkeletonClass 1405s # { 1405s # GDBusInterfaceSkeletonClass parent_class; 1405s # }; 1405s # 1405s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1405s # #endif 1405s # 1405s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # /* Declarations for org.project.Bar.Frobnicator */ 1405s # 1405s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1405s # 1405s # struct _OrgProjectBarFrobnicator; 1405s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1405s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1405s # 1405s # struct _OrgProjectBarFrobnicatorIface 1405s # { 1405s # GTypeInterface parent_iface; 1405s # 1405s # gboolean (*handle_random_method) ( 1405s # OrgProjectBarFrobnicator *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # }; 1405s # 1405s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1405s # 1405s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1405s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1405s # 1405s # 1405s # /* D-Bus method call completion functions: */ 1405s # void org_project_bar_frobnicator_complete_random_method ( 1405s # OrgProjectBarFrobnicator *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # 1405s # 1405s # /* D-Bus method calls: */ 1405s # void org_project_bar_frobnicator_call_random_method ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1405s # 1405s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1405s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1405s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1405s # 1405s # struct _OrgProjectBarFrobnicatorProxy 1405s # { 1405s # /*< private >*/ 1405s # GDBusProxy parent_instance; 1405s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1405s # }; 1405s # 1405s # struct _OrgProjectBarFrobnicatorProxyClass 1405s # { 1405s # GDBusProxyClass parent_class; 1405s # }; 1405s # 1405s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1405s # #endif 1405s # 1405s # void org_project_bar_frobnicator_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1405s # 1405s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1405s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1405s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1405s # 1405s # struct _OrgProjectBarFrobnicatorSkeleton 1405s # { 1405s # /*< private >*/ 1405s # GDBusInterfaceSkeleton parent_instance; 1405s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1405s # }; 1405s # 1405s # struct _OrgProjectBarFrobnicatorSkeletonClass 1405s # { 1405s # GDBusInterfaceSkeletonClass parent_class; 1405s # }; 1405s # 1405s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1405s # #endif 1405s # 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1405s # 1405s # 1405s # G_END_DECLS 1405s # 1405s # #endif /* __STDOUT__ */ 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi7p9sit9/tmplcp914or2.xml', '/tmp/tmpi7p9sit9/tmp9_823u751.xml', '--output', '-', '--header'] 1405s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: /* 1405s # * This file is generated by gdbus-codegen, do not modify it. 1405s # * 1405s # * The license of this code is the same as for the D-Bus interface description 1405s # * it was derived from. Note that it links to GLib, so must comply with the 1405s # * LGPL linking clauses. 1405s # */ 1405s # 1405s # #ifndef __STDOUT__ 1405s # #define __STDOUT__ 1405s # 1405s # #include 1405s # 1405s # G_BEGIN_DECLS 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # /* Declarations for com.acme.Coyote */ 1405s # 1405s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1405s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1405s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1405s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1405s # 1405s # struct _ComAcmeCoyote; 1405s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1405s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1405s # 1405s # struct _ComAcmeCoyoteIface 1405s # { 1405s # GTypeInterface parent_iface; 1405s # 1405s # 1405s # 1405s # gboolean (*handle_attack) ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # gboolean (*handle_run) ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # gboolean (*handle_sleep) ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1405s # 1405s # void (*surprised) ( 1405s # ComAcmeCoyote *object); 1405s # 1405s # }; 1405s # 1405s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1405s # 1405s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1405s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1405s # 1405s # 1405s # /* D-Bus method call completion functions: */ 1405s # void com_acme_coyote_complete_run ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # void com_acme_coyote_complete_sleep ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # void com_acme_coyote_complete_attack ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # 1405s # 1405s # /* D-Bus signal emissions functions: */ 1405s # void com_acme_coyote_emit_surprised ( 1405s # ComAcmeCoyote *object); 1405s # 1405s # 1405s # 1405s # /* D-Bus method calls: */ 1405s # void com_acme_coyote_call_run ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean com_acme_coyote_call_run_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean com_acme_coyote_call_run_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void com_acme_coyote_call_sleep ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean com_acme_coyote_call_sleep_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean com_acme_coyote_call_sleep_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void com_acme_coyote_call_attack ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean com_acme_coyote_call_attack_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean com_acme_coyote_call_attack_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # 1405s # /* D-Bus property accessors: */ 1405s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1405s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1405s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1405s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1405s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1405s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1405s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1405s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1405s # 1405s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1405s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1405s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1405s # 1405s # struct _ComAcmeCoyoteProxy 1405s # { 1405s # /*< private >*/ 1405s # GDBusProxy parent_instance; 1405s # ComAcmeCoyoteProxyPrivate *priv; 1405s # }; 1405s # 1405s # struct _ComAcmeCoyoteProxyClass 1405s # { 1405s # GDBusProxyClass parent_class; 1405s # }; 1405s # 1405s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1405s # #endif 1405s # 1405s # void com_acme_coyote_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void com_acme_coyote_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1405s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1405s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1405s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1405s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1405s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1405s # 1405s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1405s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1405s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1405s # 1405s # struct _ComAcmeCoyoteSkeleton 1405s # { 1405s # /*< private >*/ 1405s # GDBusInterfaceSkeleton parent_instance; 1405s # ComAcmeCoyoteSkeletonPrivate *priv; 1405s # }; 1405s # 1405s # struct _ComAcmeCoyoteSkeletonClass 1405s # { 1405s # GDBusInterfaceSkeletonClass parent_class; 1405s # }; 1405s # 1405s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1405s # #endif 1405s # 1405s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # /* Declarations for org.project.Bar.Frobnicator */ 1405s # 1405s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1405s # 1405s # struct _OrgProjectBarFrobnicator; 1405s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1405s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1405s # 1405s # struct _OrgProjectBarFrobnicatorIface 1405s # { 1405s # GTypeInterface parent_iface; 1405s # 1405s # gboolean (*handle_random_method) ( 1405s # OrgProjectBarFrobnicator *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # }; 1405s # 1405s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1405s # 1405s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1405s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1405s # 1405s # 1405s # /* D-Bus method call completion functions: */ 1405s # void org_project_bar_frobnicator_complete_random_method ( 1405s # OrgProjectBarFrobnicator *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # 1405s # 1405s # /* D-Bus method calls: */ 1405s # void org_project_bar_frobnicator_call_random_method ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1405s # 1405s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1405s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1405s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1405s # 1405s # struct _OrgProjectBarFrobnicatorProxy 1405s # { 1405s # /*< private >*/ 1405s # GDBusProxy parent_instance; 1405s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1405s # }; 1405s # 1405s # struct _OrgProjectBarFrobnicatorProxyClass 1405s # { 1405s # GDBusProxyClass parent_class; 1405s # }; 1405s # 1405s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1405s # #endif 1405s # 1405s # void org_project_bar_frobnicator_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1405s # 1405s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1405s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1405s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1405s # 1405s # struct _OrgProjectBarFrobnicatorSkeleton 1405s # { 1405s # /*< private >*/ 1405s # GDBusInterfaceSkeleton parent_instance; 1405s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1405s # }; 1405s # 1405s # struct _OrgProjectBarFrobnicatorSkeletonClass 1405s # { 1405s # GDBusInterfaceSkeletonClass parent_class; 1405s # }; 1405s # 1405s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1405s # #endif 1405s # 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1405s # 1405s # 1405s # G_END_DECLS 1405s # 1405s # #endif /* __STDOUT__ */ 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi7p9sit9/tmp9_823u751.xml', '/tmp/tmpi7p9sit9/tmplcp914or2.xml', '--output', '-', '--body'] 1405s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: /* 1405s # * This file is generated by gdbus-codegen, do not modify it. 1405s # * 1405s # * The license of this code is the same as for the D-Bus interface description 1405s # * it was derived from. Note that it links to GLib, so must comply with the 1405s # * LGPL linking clauses. 1405s # */ 1405s # 1405s # #ifdef HAVE_CONFIG_H 1405s # # include "config.h" 1405s # #endif 1405s # 1405s # #include 1405s # #ifdef G_OS_UNIX 1405s # # include 1405s # #endif 1405s # 1405s # #ifdef G_ENABLE_DEBUG 1405s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1405s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1405s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1405s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1405s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1405s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1405s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1405s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1405s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1405s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1405s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1405s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1405s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1405s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1405s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1405s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1405s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1405s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1405s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1405s # #else /* !G_ENABLE_DEBUG */ 1405s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1405s # * Do not access GValues directly in your code. Instead, use the 1405s # * g_value_get_*() functions 1405s # */ 1405s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1405s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1405s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1405s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1405s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1405s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1405s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1405s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1405s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1405s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1405s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1405s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1405s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1405s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1405s # #endif /* !G_ENABLE_DEBUG */ 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusArgInfo parent_struct; 1405s # gboolean use_gvariant; 1405s # } _ExtendedGDBusArgInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusMethodInfo parent_struct; 1405s # const gchar *signal_name; 1405s # gboolean pass_fdlist; 1405s # } _ExtendedGDBusMethodInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusSignalInfo parent_struct; 1405s # const gchar *signal_name; 1405s # } _ExtendedGDBusSignalInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusPropertyInfo parent_struct; 1405s # const gchar *hyphen_name; 1405s # guint use_gvariant : 1; 1405s # guint emits_changed_signal : 1; 1405s # } _ExtendedGDBusPropertyInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusInterfaceInfo parent_struct; 1405s # const gchar *hyphen_name; 1405s # } _ExtendedGDBusInterfaceInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # guint prop_id; 1405s # GValue orig_value; /* the value before the change */ 1405s # } ChangedProperty; 1405s # 1405s # static void 1405s # _changed_property_free (ChangedProperty *data) 1405s # { 1405s # g_value_unset (&data->orig_value); 1405s # g_free (data); 1405s # } 1405s # 1405s # static gboolean 1405s # _g_strv_equal0 (gchar **a, gchar **b) 1405s # { 1405s # gboolean ret = FALSE; 1405s # guint n; 1405s # if (a == NULL && b == NULL) 1405s # { 1405s # ret = TRUE; 1405s # goto out; 1405s # } 1405s # if (a == NULL || b == NULL) 1405s # goto out; 1405s # if (g_strv_length (a) != g_strv_length (b)) 1405s # goto out; 1405s # for (n = 0; a[n] != NULL; n++) 1405s # if (g_strcmp0 (a[n], b[n]) != 0) 1405s # goto out; 1405s # ret = TRUE; 1405s # out: 1405s # return ret; 1405s # } 1405s # 1405s # static gboolean 1405s # _g_variant_equal0 (GVariant *a, GVariant *b) 1405s # { 1405s # gboolean ret = FALSE; 1405s # if (a == NULL && b == NULL) 1405s # { 1405s # ret = TRUE; 1405s # goto out; 1405s # } 1405s # if (a == NULL || b == NULL) 1405s # goto out; 1405s # ret = g_variant_equal (a, b); 1405s # out: 1405s # return ret; 1405s # } 1405s # 1405s # G_GNUC_UNUSED static gboolean 1405s # _g_value_equal (const GValue *a, const GValue *b) 1405s # { 1405s # gboolean ret = FALSE; 1405s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1405s # switch (G_VALUE_TYPE (a)) 1405s # { 1405s # case G_TYPE_BOOLEAN: 1405s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1405s # break; 1405s # case G_TYPE_UCHAR: 1405s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1405s # break; 1405s # case G_TYPE_INT: 1405s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1405s # break; 1405s # case G_TYPE_UINT: 1405s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1405s # break; 1405s # case G_TYPE_INT64: 1405s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1405s # break; 1405s # case G_TYPE_UINT64: 1405s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1405s # break; 1405s # case G_TYPE_DOUBLE: 1405s # { 1405s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1405s # gdouble da = g_value_get_double (a); 1405s # gdouble db = g_value_get_double (b); 1405s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1405s # } 1405s # break; 1405s # case G_TYPE_STRING: 1405s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1405s # break; 1405s # case G_TYPE_VARIANT: 1405s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1405s # break; 1405s # default: 1405s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1405s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1405s # else 1405s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1405s # break; 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static void 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint G_GNUC_UNUSED, 1405s # void *marshal_data) 1405s # { 1405s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1405s # (void *data1, 1405s # GDBusMethodInvocation *arg_method_invocation, 1405s # void *data2); 1405s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1405s # GCClosure *cc = (GCClosure*) closure; 1405s # void *data1, *data2; 1405s # gboolean v_return; 1405s # 1405s # g_return_if_fail (return_value != NULL); 1405s # g_return_if_fail (n_param_values == 2); 1405s # 1405s # if (G_CCLOSURE_SWAP_DATA (closure)) 1405s # { 1405s # data1 = closure->data; 1405s # data2 = g_value_peek_pointer (param_values + 0); 1405s # } 1405s # else 1405s # { 1405s # data1 = g_value_peek_pointer (param_values + 0); 1405s # data2 = closure->data; 1405s # } 1405s # 1405s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1405s # (marshal_data ? marshal_data : cc->callback); 1405s # 1405s # v_return = 1405s # callback (data1, 1405s # g_marshal_value_peek_object (param_values + 1), 1405s # data2); 1405s # 1405s # g_value_set_boolean (return_value, v_return); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ 1405s # * Code for interface com.acme.Coyote 1405s # * ------------------------------------------------------------------------ 1405s # */ 1405s # 1405s # /** 1405s # * SECTION:ComAcmeCoyote 1405s # * @title: ComAcmeCoyote 1405s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1405s # * 1405s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1405s # */ 1405s # 1405s # enum 1405s # { 1405s # _COM_ACME_COYOTE_SURPRISED, 1405s # }; 1405s # 1405s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1405s # 1405s # /* ---- Introspection data for com.acme.Coyote ---- */ 1405s # 1405s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Run", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-run", 1405s # FALSE 1405s # }; 1405s # 1405s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Sleep", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-sleep", 1405s # FALSE 1405s # }; 1405s # 1405s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Attack", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-attack", 1405s # FALSE 1405s # }; 1405s # 1405s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1405s # { 1405s # &_com_acme_coyote_method_info_run.parent_struct, 1405s # &_com_acme_coyote_method_info_sleep.parent_struct, 1405s # &_com_acme_coyote_method_info_attack.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Surprised", 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "surprised" 1405s # }; 1405s # 1405s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1405s # { 1405s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Mood", 1405s # (gchar *) "s", 1405s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1405s # NULL 1405s # }, 1405s # "mood", 1405s # FALSE, 1405s # TRUE 1405s # }; 1405s # 1405s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1405s # { 1405s # &_com_acme_coyote_property_info_mood.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "com.acme.Coyote", 1405s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1405s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1405s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1405s # NULL 1405s # }, 1405s # "com-acme-coyote", 1405s # }; 1405s # 1405s # 1405s # /** 1405s # * com_acme_coyote_interface_info: 1405s # * 1405s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1405s # * 1405s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1405s # */ 1405s # GDBusInterfaceInfo * 1405s # com_acme_coyote_interface_info (void) 1405s # { 1405s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_override_properties: 1405s # * @klass: The class structure for a #GObject derived class. 1405s # * @property_id_begin: The property id to assign to the first overridden property. 1405s # * 1405s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1405s # * The properties are overridden in the order they are defined. 1405s # * 1405s # * Returns: The last property id. 1405s # */ 1405s # guint 1405s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1405s # { 1405s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1405s # return property_id_begin - 1; 1405s # } 1405s # 1405s # 1405s # inline static void 1405s # com_acme_coyote_signal_marshal_surprised ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # g_cclosure_marshal_VOID__VOID (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # inline static void 1405s # com_acme_coyote_method_marshal_run ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # inline static void 1405s # com_acme_coyote_method_marshal_sleep ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # inline static void 1405s # com_acme_coyote_method_marshal_attack ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # 1405s # /** 1405s # * ComAcmeCoyote: 1405s # * 1405s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1405s # */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteIface: 1405s # * @parent_iface: The parent interface. 1405s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1405s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1405s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1405s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1405s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1405s # * 1405s # * Virtual table for the D-Bus interface com.acme.Coyote. 1405s # */ 1405s # 1405s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1405s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1405s # 1405s # static void 1405s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1405s # { 1405s # /* GObject signals for incoming D-Bus method calls: */ 1405s # /** 1405s # * ComAcmeCoyote::handle-run: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-run", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # com_acme_coyote_method_marshal_run, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # /** 1405s # * ComAcmeCoyote::handle-sleep: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-sleep", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # com_acme_coyote_method_marshal_sleep, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # /** 1405s # * ComAcmeCoyote::handle-attack: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-attack", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # com_acme_coyote_method_marshal_attack, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # /* GObject signals for received D-Bus signals: */ 1405s # /** 1405s # * ComAcmeCoyote::surprised: 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1405s # * 1405s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1405s # */ 1405s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1405s # g_signal_new ("surprised", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1405s # NULL, 1405s # NULL, 1405s # com_acme_coyote_signal_marshal_surprised, 1405s # G_TYPE_NONE, 1405s # 0); 1405s # 1405s # /* GObject properties for D-Bus properties: */ 1405s # /** 1405s # * ComAcmeCoyote:mood: 1405s # * 1405s # * Represents the D-Bus property "Mood". 1405s # * 1405s # * 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. 1405s # */ 1405s # g_object_interface_install_property (iface, 1405s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_get_mood: (skip) 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * Gets the value of the "Mood" D-Bus property. 1405s # * 1405s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # const gchar * 1405s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1405s # { 1405s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1405s # 1405s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_dup_mood: (skip) 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * Gets a copy of the "Mood" D-Bus property. 1405s # * 1405s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1405s # * 1405s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1405s # */ 1405s # gchar * 1405s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1405s # { 1405s # gchar *value; 1405s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1405s # return value; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_set_mood: (skip) 1405s # * @object: A #ComAcmeCoyote. 1405s # * @value: The value to set. 1405s # * 1405s # * Sets the "Mood" D-Bus property to @value. 1405s # * 1405s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1405s # */ 1405s # void 1405s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1405s # { 1405s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_emit_surprised: 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * Emits the "Surprised" D-Bus signal. 1405s # */ 1405s # void 1405s # com_acme_coyote_emit_surprised ( 1405s # ComAcmeCoyote *object) 1405s # { 1405s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_run: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # com_acme_coyote_call_run ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "Run", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_run_finish: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_call_run(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_run_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_run_sync: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_run_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "Run", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_sleep: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # com_acme_coyote_call_sleep ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "Sleep", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_sleep_finish: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_sleep_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_sleep_sync: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_sleep_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "Sleep", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_attack: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # com_acme_coyote_call_attack ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "Attack", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_attack_finish: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_call_attack(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_attack_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_attack_sync: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_attack_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "Attack", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_complete_run: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # com_acme_coyote_complete_run ( 1405s # ComAcmeCoyote *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_complete_sleep: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # com_acme_coyote_complete_sleep ( 1405s # ComAcmeCoyote *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_complete_attack: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # com_acme_coyote_complete_attack ( 1405s # ComAcmeCoyote *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteProxy: 1405s # * 1405s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteProxyClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #ComAcmeCoyoteProxy. 1405s # */ 1405s # 1405s # struct _ComAcmeCoyoteProxyPrivate 1405s # { 1405s # GData *qdata; 1405s # }; 1405s # 1405s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1405s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # com_acme_coyote_proxy_finalize (GObject *object) 1405s # { 1405s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1405s # g_datalist_clear (&proxy->priv->qdata); 1405s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_get_property (GObject *object, 1405s # guint prop_id, 1405s # GValue *value, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *variant; 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1405s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1405s # if (info->use_gvariant) 1405s # { 1405s # g_value_set_variant (value, variant); 1405s # } 1405s # else 1405s # { 1405s # if (variant != NULL) 1405s # g_dbus_gvariant_to_gvalue (variant, value); 1405s # } 1405s # if (variant != NULL) 1405s # g_variant_unref (variant); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1405s # GAsyncResult *res, 1405s # gpointer user_data) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info = user_data; 1405s # GError *error; 1405s # GVariant *_ret; 1405s # error = NULL; 1405s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1405s # if (!_ret) 1405s # { 1405s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1405s # info->parent_struct.name, 1405s # error->message, g_quark_to_string (error->domain), error->code); 1405s # g_error_free (error); 1405s # } 1405s # else 1405s # { 1405s # g_variant_unref (_ret); 1405s # } 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_set_property (GObject *object, 1405s # guint prop_id, 1405s # const GValue *value, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *variant; 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1405s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1405s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1405s # "org.freedesktop.DBus.Properties.Set", 1405s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1405s # g_variant_unref (variant); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1405s # const gchar *sender_name G_GNUC_UNUSED, 1405s # const gchar *signal_name, 1405s # GVariant *parameters) 1405s # { 1405s # _ExtendedGDBusSignalInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # gsize n; 1405s # guint signal_id; 1405s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1405s # if (info == NULL) 1405s # return; 1405s # num_params = g_variant_n_children (parameters); 1405s # paramv = g_new0 (GValue, num_params + 1); 1405s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1405s # g_value_set_object (¶mv[0], proxy); 1405s # g_variant_iter_init (&iter, parameters); 1405s # n = 1; 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1405s # g_signal_emitv (paramv, signal_id, 0, NULL); 1405s # for (n = 0; n < num_params + 1; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1405s # GVariant *changed_properties, 1405s # const gchar *const *invalidated_properties) 1405s # { 1405s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1405s # guint n; 1405s # const gchar *key; 1405s # GVariantIter *iter; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # g_variant_get (changed_properties, "a{sv}", &iter); 1405s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1405s # g_datalist_remove_data (&proxy->priv->qdata, key); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # g_variant_iter_free (iter); 1405s # for (n = 0; invalidated_properties[n] != NULL; n++) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1405s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # } 1405s # 1405s # static const gchar * 1405s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1405s # { 1405s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1405s # GVariant *variant; 1405s # const gchar *value = NULL; 1405s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1405s # if (variant != NULL) 1405s # { 1405s # value = g_variant_get_string (variant, NULL); 1405s # g_variant_unref (variant); 1405s # } 1405s # return value; 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1405s # #else 1405s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1405s # #endif 1405s # 1405s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusProxyClass *proxy_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1405s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1405s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1405s # 1405s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1405s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1405s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1405s # 1405s # com_acme_coyote_override_properties (gobject_class, 1); 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1405s # { 1405s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # com_acme_coyote_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_sync: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_for_bus: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # com_acme_coyote_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_for_bus_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_for_bus_sync: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteSkeleton: 1405s # * 1405s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteSkeletonClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #ComAcmeCoyoteSkeleton. 1405s # */ 1405s # 1405s # struct _ComAcmeCoyoteSkeletonPrivate 1405s # { 1405s # GValue *properties; 1405s # GList *changed_properties; 1405s # GSource *changed_properties_idle_source; 1405s # GMainContext *context; 1405s # GMutex lock; 1405s # }; 1405s # 1405s # static void 1405s # _com_acme_coyote_skeleton_handle_method_call ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name, 1405s # const gchar *method_name, 1405s # GVariant *parameters, 1405s # GDBusMethodInvocation *invocation, 1405s # gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # _ExtendedGDBusMethodInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # guint num_extra; 1405s # gsize n; 1405s # guint signal_id; 1405s # GValue return_value = G_VALUE_INIT; 1405s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1405s # g_assert (info != NULL); 1405s # num_params = g_variant_n_children (parameters); 1405s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1405s # n = 0; 1405s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1405s # g_value_set_object (¶mv[n++], skeleton); 1405s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1405s # g_value_set_object (¶mv[n++], invocation); 1405s # if (info->pass_fdlist) 1405s # { 1405s # #ifdef G_OS_UNIX 1405s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1405s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1405s # #else 1405s # g_assert_not_reached (); 1405s # #endif 1405s # } 1405s # g_variant_iter_init (&iter, parameters); 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1405s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1405s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1405s # if (!g_value_get_boolean (&return_value)) 1405s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1405s # g_value_unset (&return_value); 1405s # for (n = 0; n < num_params + num_extra; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static GVariant * 1405s # _com_acme_coyote_skeleton_handle_get_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *ret; 1405s # ret = NULL; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # g_value_init (&value, pspec->value_type); 1405s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1405s # g_value_unset (&value); 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static gboolean 1405s # _com_acme_coyote_skeleton_handle_set_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GVariant *variant, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # gboolean ret; 1405s # ret = FALSE; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # if (info->use_gvariant) 1405s # g_value_set_variant (&value, variant); 1405s # else 1405s # g_dbus_gvariant_to_gvalue (variant, &value); 1405s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # g_value_unset (&value); 1405s # ret = TRUE; 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1405s # { 1405s # _com_acme_coyote_skeleton_handle_method_call, 1405s # _com_acme_coyote_skeleton_handle_get_property, 1405s # _com_acme_coyote_skeleton_handle_set_property, 1405s # {NULL} 1405s # }; 1405s # 1405s # static GDBusInterfaceInfo * 1405s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return com_acme_coyote_interface_info (); 1405s # } 1405s # 1405s # static GDBusInterfaceVTable * 1405s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1405s # } 1405s # 1405s # static GVariant * 1405s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1405s # 1405s # GVariantBuilder builder; 1405s # guint n; 1405s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1405s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1405s # goto out; 1405s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1405s # { 1405s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1405s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1405s # { 1405s # GVariant *value; 1405s # 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); 1405s # if (value != NULL) 1405s # { 1405s # g_variant_take_ref (value); 1405s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1405s # g_variant_unref (value); 1405s # } 1405s # } 1405s # } 1405s # out: 1405s # return g_variant_builder_end (&builder); 1405s # } 1405s # 1405s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1405s # gboolean emit_changed = FALSE; 1405s # 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # if (skeleton->priv->changed_properties_idle_source != NULL) 1405s # { 1405s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1405s # skeleton->priv->changed_properties_idle_source = NULL; 1405s # emit_changed = TRUE; 1405s # } 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # 1405s # if (emit_changed) 1405s # _com_acme_coyote_emit_changed (skeleton); 1405s # } 1405s # 1405s # static void 1405s # _com_acme_coyote_on_signal_surprised ( 1405s # ComAcmeCoyote *object) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # 1405s # GList *connections, *l; 1405s # GVariant *signal_variant; 1405s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1405s # 1405s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1405s # for (l = connections; l != NULL; l = l->next) 1405s # { 1405s # GDBusConnection *connection = l->data; 1405s # g_dbus_connection_emit_signal (connection, 1405s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1405s # signal_variant, NULL); 1405s # } 1405s # g_variant_unref (signal_variant); 1405s # g_list_free_full (connections, g_object_unref); 1405s # } 1405s # 1405s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # com_acme_coyote_skeleton_finalize (GObject *object) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # guint n; 1405s # for (n = 0; n < 1; n++) 1405s # g_value_unset (&skeleton->priv->properties[n]); 1405s # g_free (skeleton->priv->properties); 1405s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1405s # if (skeleton->priv->changed_properties_idle_source != NULL) 1405s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1405s # g_main_context_unref (skeleton->priv->context); 1405s # g_mutex_clear (&skeleton->priv->lock); 1405s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_get_property (GObject *object, 1405s # guint prop_id, 1405s # GValue *value, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # } 1405s # 1405s # static gboolean 1405s # _com_acme_coyote_emit_changed (gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # GList *l; 1405s # GVariantBuilder builder; 1405s # GVariantBuilder invalidated_builder; 1405s # guint num_changes; 1405s # 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1405s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1405s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1405s # { 1405s # ChangedProperty *cp = l->data; 1405s # GVariant *variant; 1405s # const GValue *cur_value; 1405s # 1405s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1405s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1405s # { 1405s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1405s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1405s # g_variant_unref (variant); 1405s # num_changes++; 1405s # } 1405s # } 1405s # if (num_changes > 0) 1405s # { 1405s # GList *connections, *ll; 1405s # GVariant *signal_variant; 1405s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1405s # &builder, &invalidated_builder)); 1405s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1405s # for (ll = connections; ll != NULL; ll = ll->next) 1405s # { 1405s # GDBusConnection *connection = ll->data; 1405s # 1405s # g_dbus_connection_emit_signal (connection, 1405s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1405s # "org.freedesktop.DBus.Properties", 1405s # "PropertiesChanged", 1405s # signal_variant, 1405s # NULL); 1405s # } 1405s # g_variant_unref (signal_variant); 1405s # g_list_free_full (connections, g_object_unref); 1405s # } 1405s # else 1405s # { 1405s # g_variant_builder_clear (&builder); 1405s # g_variant_builder_clear (&invalidated_builder); 1405s # } 1405s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1405s # skeleton->priv->changed_properties = NULL; 1405s # skeleton->priv->changed_properties_idle_source = NULL; 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # return FALSE; 1405s # } 1405s # 1405s # static void 1405s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1405s # { 1405s # ChangedProperty *cp; 1405s # GList *l; 1405s # cp = NULL; 1405s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1405s # { 1405s # ChangedProperty *i_cp = l->data; 1405s # if (i_cp->info == info) 1405s # { 1405s # cp = i_cp; 1405s # break; 1405s # } 1405s # } 1405s # if (cp == NULL) 1405s # { 1405s # cp = g_new0 (ChangedProperty, 1); 1405s # cp->prop_id = prop_id; 1405s # cp->info = info; 1405s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1405s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1405s # g_value_copy (orig_value, &cp->orig_value); 1405s # } 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_notify (GObject *object, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # if (skeleton->priv->changed_properties != NULL && 1405s # skeleton->priv->changed_properties_idle_source == NULL) 1405s # { 1405s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1405s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1405s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1405s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1405s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1405s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1405s # } 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_set_property (GObject *object, 1405s # guint prop_id, 1405s # const GValue *value, 1405s # GParamSpec *pspec) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # g_object_freeze_notify (object); 1405s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1405s # { 1405s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1405s # info->emits_changed_signal) 1405s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1405s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1405s # g_object_notify_by_pspec (object, pspec); 1405s # } 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # g_object_thaw_notify (object); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1405s # #else 1405s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1405s # #endif 1405s # 1405s # g_mutex_init (&skeleton->priv->lock); 1405s # skeleton->priv->context = g_main_context_ref_thread_default (); 1405s # skeleton->priv->properties = g_new0 (GValue, 1); 1405s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1405s # } 1405s # 1405s # static const gchar * 1405s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # const gchar *value; 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # return value; 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusInterfaceSkeletonClass *skeleton_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1405s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1405s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1405s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1405s # 1405s # 1405s # com_acme_coyote_override_properties (gobject_class, 1); 1405s # 1405s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1405s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1405s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1405s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1405s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1405s # { 1405s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1405s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_skeleton_new: 1405s # * 1405s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_skeleton_new (void) 1405s # { 1405s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ 1405s # * Code for interface org.project.Bar.Frobnicator 1405s # * ------------------------------------------------------------------------ 1405s # */ 1405s # 1405s # /** 1405s # * SECTION:OrgProjectBarFrobnicator 1405s # * @title: OrgProjectBarFrobnicator 1405s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1405s # * 1405s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1405s # */ 1405s # 1405s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1405s # 1405s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "RandomMethod", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-random-method", 1405s # FALSE 1405s # }; 1405s # 1405s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1405s # { 1405s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "org.project.Bar.Frobnicator", 1405s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "org-project-bar-frobnicator", 1405s # }; 1405s # 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_interface_info: 1405s # * 1405s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1405s # * 1405s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1405s # */ 1405s # GDBusInterfaceInfo * 1405s # org_project_bar_frobnicator_interface_info (void) 1405s # { 1405s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_override_properties: 1405s # * @klass: The class structure for a #GObject derived class. 1405s # * @property_id_begin: The property id to assign to the first overridden property. 1405s # * 1405s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1405s # * The properties are overridden in the order they are defined. 1405s # * 1405s # * Returns: The last property id. 1405s # */ 1405s # guint 1405s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1405s # { 1405s # return property_id_begin - 1; 1405s # } 1405s # 1405s # 1405s # inline static void 1405s # org_project_bar_frobnicator_method_marshal_random_method ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicator: 1405s # * 1405s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1405s # */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorIface: 1405s # * @parent_iface: The parent interface. 1405s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1405s # * 1405s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1405s # */ 1405s # 1405s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1405s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1405s # { 1405s # /* GObject signals for incoming D-Bus method calls: */ 1405s # /** 1405s # * OrgProjectBarFrobnicator::handle-random-method: 1405s # * @object: A #OrgProjectBarFrobnicator. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-random-method", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # org_project_bar_frobnicator_method_marshal_random_method, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_call_random_method: 1405s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1405s # * 1405s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_call_random_method ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "RandomMethod", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_call_random_method_finish: 1405s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # org_project_bar_frobnicator_call_random_method_finish ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_call_random_method_sync: 1405s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # org_project_bar_frobnicator_call_random_method_sync ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "RandomMethod", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_complete_random_method: 1405s # * @object: A #OrgProjectBarFrobnicator. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_complete_random_method ( 1405s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorProxy: 1405s # * 1405s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorProxyClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1405s # */ 1405s # 1405s # struct _OrgProjectBarFrobnicatorProxyPrivate 1405s # { 1405s # GData *qdata; 1405s # }; 1405s # 1405s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1405s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1405s # { 1405s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1405s # g_datalist_clear (&proxy->priv->qdata); 1405s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1405s # guint prop_id G_GNUC_UNUSED, 1405s # GValue *value G_GNUC_UNUSED, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1405s # guint prop_id G_GNUC_UNUSED, 1405s # const GValue *value G_GNUC_UNUSED, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1405s # const gchar *sender_name G_GNUC_UNUSED, 1405s # const gchar *signal_name, 1405s # GVariant *parameters) 1405s # { 1405s # _ExtendedGDBusSignalInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # gsize n; 1405s # guint signal_id; 1405s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1405s # if (info == NULL) 1405s # return; 1405s # num_params = g_variant_n_children (parameters); 1405s # paramv = g_new0 (GValue, num_params + 1); 1405s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_value_set_object (¶mv[0], proxy); 1405s # g_variant_iter_init (&iter, parameters); 1405s # n = 1; 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_signal_emitv (paramv, signal_id, 0, NULL); 1405s # for (n = 0; n < num_params + 1; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1405s # GVariant *changed_properties, 1405s # const gchar *const *invalidated_properties) 1405s # { 1405s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1405s # guint n; 1405s # const gchar *key; 1405s # GVariantIter *iter; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # g_variant_get (changed_properties, "a{sv}", &iter); 1405s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1405s # g_datalist_remove_data (&proxy->priv->qdata, key); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # g_variant_iter_free (iter); 1405s # for (n = 0; invalidated_properties[n] != NULL; n++) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1405s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1405s # #else 1405s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1405s # #endif 1405s # 1405s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusProxyClass *proxy_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1405s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1405s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1405s # 1405s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1405s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1405s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_sync: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_for_bus: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorSkeleton: 1405s # * 1405s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorSkeletonClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1405s # */ 1405s # 1405s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1405s # { 1405s # GValue *properties; 1405s # GList *changed_properties; 1405s # GSource *changed_properties_idle_source; 1405s # GMainContext *context; 1405s # GMutex lock; 1405s # }; 1405s # 1405s # static void 1405s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name, 1405s # const gchar *method_name, 1405s # GVariant *parameters, 1405s # GDBusMethodInvocation *invocation, 1405s # gpointer user_data) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1405s # _ExtendedGDBusMethodInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # guint num_extra; 1405s # gsize n; 1405s # guint signal_id; 1405s # GValue return_value = G_VALUE_INIT; 1405s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1405s # g_assert (info != NULL); 1405s # num_params = g_variant_n_children (parameters); 1405s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1405s # n = 0; 1405s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_value_set_object (¶mv[n++], skeleton); 1405s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1405s # g_value_set_object (¶mv[n++], invocation); 1405s # if (info->pass_fdlist) 1405s # { 1405s # #ifdef G_OS_UNIX 1405s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1405s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1405s # #else 1405s # g_assert_not_reached (); 1405s # #endif 1405s # } 1405s # g_variant_iter_init (&iter, parameters); 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1405s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1405s # if (!g_value_get_boolean (&return_value)) 1405s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1405s # g_value_unset (&return_value); 1405s # for (n = 0; n < num_params + num_extra; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static GVariant * 1405s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *ret; 1405s # ret = NULL; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # g_value_init (&value, pspec->value_type); 1405s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1405s # g_value_unset (&value); 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static gboolean 1405s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GVariant *variant, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # gboolean ret; 1405s # ret = FALSE; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # if (info->use_gvariant) 1405s # g_value_set_variant (&value, variant); 1405s # else 1405s # g_dbus_gvariant_to_gvalue (variant, &value); 1405s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # g_value_unset (&value); 1405s # ret = TRUE; 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1405s # { 1405s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1405s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1405s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1405s # {NULL} 1405s # }; 1405s # 1405s # static GDBusInterfaceInfo * 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return org_project_bar_frobnicator_interface_info (); 1405s # } 1405s # 1405s # static GDBusInterfaceVTable * 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1405s # } 1405s # 1405s # static GVariant * 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1405s # 1405s # GVariantBuilder builder; 1405s # guint n; 1405s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1405s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1405s # goto out; 1405s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1405s # { 1405s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1405s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1405s # { 1405s # GVariant *value; 1405s # 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); 1405s # if (value != NULL) 1405s # { 1405s # g_variant_take_ref (value); 1405s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1405s # g_variant_unref (value); 1405s # } 1405s # } 1405s # } 1405s # out: 1405s # return g_variant_builder_end (&builder); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1405s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1405s # if (skeleton->priv->changed_properties_idle_source != NULL) 1405s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1405s # g_main_context_unref (skeleton->priv->context); 1405s # g_mutex_clear (&skeleton->priv->lock); 1405s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1405s # #else 1405s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1405s # #endif 1405s # 1405s # g_mutex_init (&skeleton->priv->lock); 1405s # skeleton->priv->context = g_main_context_ref_thread_default (); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusInterfaceSkeletonClass *skeleton_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1405s # 1405s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1405s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1405s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1405s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1405s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_skeleton_new: 1405s # * 1405s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_skeleton_new (void) 1405s # { 1405s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1405s # } 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi7p9sit9/tmplcp914or2.xml', '/tmp/tmpi7p9sit9/tmp9_823u751.xml', '--output', '-', '--body'] 1405s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: /* 1405s # * This file is generated by gdbus-codegen, do not modify it. 1405s # * 1405s # * The license of this code is the same as for the D-Bus interface description 1405s # * it was derived from. Note that it links to GLib, so must comply with the 1405s # * LGPL linking clauses. 1405s # */ 1405s # 1405s # #ifdef HAVE_CONFIG_H 1405s # # include "config.h" 1405s # #endif 1405s # 1405s # #include 1405s # #ifdef G_OS_UNIX 1405s # # include 1405s # #endif 1405s # 1405s # #ifdef G_ENABLE_DEBUG 1405s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1405s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1405s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1405s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1405s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1405s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1405s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1405s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1405s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1405s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1405s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1405s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1405s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1405s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1405s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1405s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1405s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1405s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1405s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1405s # #else /* !G_ENABLE_DEBUG */ 1405s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1405s # * Do not access GValues directly in your code. Instead, use the 1405s # * g_value_get_*() functions 1405s # */ 1405s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1405s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1405s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1405s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1405s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1405s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1405s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1405s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1405s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1405s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1405s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1405s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1405s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1405s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1405s # #endif /* !G_ENABLE_DEBUG */ 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusArgInfo parent_struct; 1405s # gboolean use_gvariant; 1405s # } _ExtendedGDBusArgInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusMethodInfo parent_struct; 1405s # const gchar *signal_name; 1405s # gboolean pass_fdlist; 1405s # } _ExtendedGDBusMethodInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusSignalInfo parent_struct; 1405s # const gchar *signal_name; 1405s # } _ExtendedGDBusSignalInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusPropertyInfo parent_struct; 1405s # const gchar *hyphen_name; 1405s # guint use_gvariant : 1; 1405s # guint emits_changed_signal : 1; 1405s # } _ExtendedGDBusPropertyInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusInterfaceInfo parent_struct; 1405s # const gchar *hyphen_name; 1405s # } _ExtendedGDBusInterfaceInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # guint prop_id; 1405s # GValue orig_value; /* the value before the change */ 1405s # } ChangedProperty; 1405s # 1405s # static void 1405s # _changed_property_free (ChangedProperty *data) 1405s # { 1405s # g_value_unset (&data->orig_value); 1405s # g_free (data); 1405s # } 1405s # 1405s # static gboolean 1405s # _g_strv_equal0 (gchar **a, gchar **b) 1405s # { 1405s # gboolean ret = FALSE; 1405s # guint n; 1405s # if (a == NULL && b == NULL) 1405s # { 1405s # ret = TRUE; 1405s # goto out; 1405s # } 1405s # if (a == NULL || b == NULL) 1405s # goto out; 1405s # if (g_strv_length (a) != g_strv_length (b)) 1405s # goto out; 1405s # for (n = 0; a[n] != NULL; n++) 1405s # if (g_strcmp0 (a[n], b[n]) != 0) 1405s # goto out; 1405s # ret = TRUE; 1405s # out: 1405s # return ret; 1405s # } 1405s # 1405s # static gboolean 1405s # _g_variant_equal0 (GVariant *a, GVariant *b) 1405s # { 1405s # gboolean ret = FALSE; 1405s # if (a == NULL && b == NULL) 1405s # { 1405s # ret = TRUE; 1405s # goto out; 1405s # } 1405s # if (a == NULL || b == NULL) 1405s # goto out; 1405s # ret = g_variant_equal (a, b); 1405s # out: 1405s # return ret; 1405s # } 1405s # 1405s # G_GNUC_UNUSED static gboolean 1405s # _g_value_equal (const GValue *a, const GValue *b) 1405s # { 1405s # gboolean ret = FALSE; 1405s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1405s # switch (G_VALUE_TYPE (a)) 1405s # { 1405s # case G_TYPE_BOOLEAN: 1405s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1405s # break; 1405s # case G_TYPE_UCHAR: 1405s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1405s # break; 1405s # case G_TYPE_INT: 1405s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1405s # break; 1405s # case G_TYPE_UINT: 1405s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1405s # break; 1405s # case G_TYPE_INT64: 1405s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1405s # break; 1405s # case G_TYPE_UINT64: 1405s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1405s # break; 1405s # case G_TYPE_DOUBLE: 1405s # { 1405s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1405s # gdouble da = g_value_get_double (a); 1405s # gdouble db = g_value_get_double (b); 1405s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1405s # } 1405s # break; 1405s # case G_TYPE_STRING: 1405s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1405s # break; 1405s # case G_TYPE_VARIANT: 1405s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1405s # break; 1405s # default: 1405s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1405s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1405s # else 1405s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1405s # break; 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static void 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint G_GNUC_UNUSED, 1405s # void *marshal_data) 1405s # { 1405s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1405s # (void *data1, 1405s # GDBusMethodInvocation *arg_method_invocation, 1405s # void *data2); 1405s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1405s # GCClosure *cc = (GCClosure*) closure; 1405s # void *data1, *data2; 1405s # gboolean v_return; 1405s # 1405s # g_return_if_fail (return_value != NULL); 1405s # g_return_if_fail (n_param_values == 2); 1405s # 1405s # if (G_CCLOSURE_SWAP_DATA (closure)) 1405s # { 1405s # data1 = closure->data; 1405s # data2 = g_value_peek_pointer (param_values + 0); 1405s # } 1405s # else 1405s # { 1405s # data1 = g_value_peek_pointer (param_values + 0); 1405s # data2 = closure->data; 1405s # } 1405s # 1405s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1405s # (marshal_data ? marshal_data : cc->callback); 1405s # 1405s # v_return = 1405s # callback (data1, 1405s # g_marshal_value_peek_object (param_values + 1), 1405s # data2); 1405s # 1405s # g_value_set_boolean (return_value, v_return); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ 1405s # * Code for interface com.acme.Coyote 1405s # * ------------------------------------------------------------------------ 1405s # */ 1405s # 1405s # /** 1405s # * SECTION:ComAcmeCoyote 1405s # * @title: ComAcmeCoyote 1405s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1405s # * 1405s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1405s # */ 1405s # 1405s # enum 1405s # { 1405s # _COM_ACME_COYOTE_SURPRISED, 1405s # }; 1405s # 1405s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1405s # 1405s # /* ---- Introspection data for com.acme.Coyote ---- */ 1405s # 1405s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Run", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-run", 1405s # FALSE 1405s # }; 1405s # 1405s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Sleep", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-sleep", 1405s # FALSE 1405s # }; 1405s # 1405s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Attack", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-attack", 1405s # FALSE 1405s # }; 1405s # 1405s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1405s # { 1405s # &_com_acme_coyote_method_info_run.parent_struct, 1405s # &_com_acme_coyote_method_info_sleep.parent_struct, 1405s # &_com_acme_coyote_method_info_attack.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Surprised", 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "surprised" 1405s # }; 1405s # 1405s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1405s # { 1405s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Mood", 1405s # (gchar *) "s", 1405s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1405s # NULL 1405s # }, 1405s # "mood", 1405s # FALSE, 1405s # TRUE 1405s # }; 1405s # 1405s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1405s # { 1405s # &_com_acme_coyote_property_info_mood.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "com.acme.Coyote", 1405s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1405s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1405s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1405s # NULL 1405s # }, 1405s # "com-acme-coyote", 1405s # }; 1405s # 1405s # 1405s # /** 1405s # * com_acme_coyote_interface_info: 1405s # * 1405s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1405s # * 1405s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1405s # */ 1405s # GDBusInterfaceInfo * 1405s # com_acme_coyote_interface_info (void) 1405s # { 1405s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_override_properties: 1405s # * @klass: The class structure for a #GObject derived class. 1405s # * @property_id_begin: The property id to assign to the first overridden property. 1405s # * 1405s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1405s # * The properties are overridden in the order they are defined. 1405s # * 1405s # * Returns: The last property id. 1405s # */ 1405s # guint 1405s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1405s # { 1405s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1405s # return property_id_begin - 1; 1405s # } 1405s # 1405s # 1405s # inline static void 1405s # com_acme_coyote_signal_marshal_surprised ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # g_cclosure_marshal_VOID__VOID (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # inline static void 1405s # com_acme_coyote_method_marshal_run ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # inline static void 1405s # com_acme_coyote_method_marshal_sleep ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # inline static void 1405s # com_acme_coyote_method_marshal_attack ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # 1405s # /** 1405s # * ComAcmeCoyote: 1405s # * 1405s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1405s # */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteIface: 1405s # * @parent_iface: The parent interface. 1405s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1405s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1405s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1405s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1405s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1405s # * 1405s # * Virtual table for the D-Bus interface com.acme.Coyote. 1405s # */ 1405s # 1405s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1405s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1405s # 1405s # static void 1405s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1405s # { 1405s # /* GObject signals for incoming D-Bus method calls: */ 1405s # /** 1405s # * ComAcmeCoyote::handle-run: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-run", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # com_acme_coyote_method_marshal_run, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # /** 1405s # * ComAcmeCoyote::handle-sleep: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-sleep", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # com_acme_coyote_method_marshal_sleep, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # /** 1405s # * ComAcmeCoyote::handle-attack: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-attack", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # com_acme_coyote_method_marshal_attack, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # /* GObject signals for received D-Bus signals: */ 1405s # /** 1405s # * ComAcmeCoyote::surprised: 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1405s # * 1405s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1405s # */ 1405s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1405s # g_signal_new ("surprised", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1405s # NULL, 1405s # NULL, 1405s # com_acme_coyote_signal_marshal_surprised, 1405s # G_TYPE_NONE, 1405s # 0); 1405s # 1405s # /* GObject properties for D-Bus properties: */ 1405s # /** 1405s # * ComAcmeCoyote:mood: 1405s # * 1405s # * Represents the D-Bus property "Mood". 1405s # * 1405s # * 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. 1405s # */ 1405s # g_object_interface_install_property (iface, 1405s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_get_mood: (skip) 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * Gets the value of the "Mood" D-Bus property. 1405s # * 1405s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # const gchar * 1405s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1405s # { 1405s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1405s # 1405s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_dup_mood: (skip) 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * Gets a copy of the "Mood" D-Bus property. 1405s # * 1405s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1405s # * 1405s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1405s # */ 1405s # gchar * 1405s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1405s # { 1405s # gchar *value; 1405s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1405s # return value; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_set_mood: (skip) 1405s # * @object: A #ComAcmeCoyote. 1405s # * @value: The value to set. 1405s # * 1405s # * Sets the "Mood" D-Bus property to @value. 1405s # * 1405s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1405s # */ 1405s # void 1405s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1405s # { 1405s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_emit_surprised: 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * Emits the "Surprised" D-Bus signal. 1405s # */ 1405s # void 1405s # com_acme_coyote_emit_surprised ( 1405s # ComAcmeCoyote *object) 1405s # { 1405s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_run: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # com_acme_coyote_call_run ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "Run", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_run_finish: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_call_run(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_run_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_run_sync: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_run_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "Run", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_sleep: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # com_acme_coyote_call_sleep ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "Sleep", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_sleep_finish: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_sleep_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_sleep_sync: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_sleep_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "Sleep", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_attack: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # com_acme_coyote_call_attack ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "Attack", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_attack_finish: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_call_attack(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_attack_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_attack_sync: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_attack_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "Attack", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_complete_run: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # com_acme_coyote_complete_run ( 1405s # ComAcmeCoyote *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_complete_sleep: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # com_acme_coyote_complete_sleep ( 1405s # ComAcmeCoyote *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_complete_attack: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # com_acme_coyote_complete_attack ( 1405s # ComAcmeCoyote *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteProxy: 1405s # * 1405s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteProxyClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #ComAcmeCoyoteProxy. 1405s # */ 1405s # 1405s # struct _ComAcmeCoyoteProxyPrivate 1405s # { 1405s # GData *qdata; 1405s # }; 1405s # 1405s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1405s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # com_acme_coyote_proxy_finalize (GObject *object) 1405s # { 1405s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1405s # g_datalist_clear (&proxy->priv->qdata); 1405s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_get_property (GObject *object, 1405s # guint prop_id, 1405s # GValue *value, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *variant; 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1405s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1405s # if (info->use_gvariant) 1405s # { 1405s # g_value_set_variant (value, variant); 1405s # } 1405s # else 1405s # { 1405s # if (variant != NULL) 1405s # g_dbus_gvariant_to_gvalue (variant, value); 1405s # } 1405s # if (variant != NULL) 1405s # g_variant_unref (variant); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1405s # GAsyncResult *res, 1405s # gpointer user_data) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info = user_data; 1405s # GError *error; 1405s # GVariant *_ret; 1405s # error = NULL; 1405s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1405s # if (!_ret) 1405s # { 1405s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1405s # info->parent_struct.name, 1405s # error->message, g_quark_to_string (error->domain), error->code); 1405s # g_error_free (error); 1405s # } 1405s # else 1405s # { 1405s # g_variant_unref (_ret); 1405s # } 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_set_property (GObject *object, 1405s # guint prop_id, 1405s # const GValue *value, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *variant; 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1405s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1405s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1405s # "org.freedesktop.DBus.Properties.Set", 1405s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1405s # g_variant_unref (variant); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1405s # const gchar *sender_name G_GNUC_UNUSED, 1405s # const gchar *signal_name, 1405s # GVariant *parameters) 1405s # { 1405s # _ExtendedGDBusSignalInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # gsize n; 1405s # guint signal_id; 1405s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1405s # if (info == NULL) 1405s # return; 1405s # num_params = g_variant_n_children (parameters); 1405s # paramv = g_new0 (GValue, num_params + 1); 1405s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1405s # g_value_set_object (¶mv[0], proxy); 1405s # g_variant_iter_init (&iter, parameters); 1405s # n = 1; 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1405s # g_signal_emitv (paramv, signal_id, 0, NULL); 1405s # for (n = 0; n < num_params + 1; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1405s # GVariant *changed_properties, 1405s # const gchar *const *invalidated_properties) 1405s # { 1405s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1405s # guint n; 1405s # const gchar *key; 1405s # GVariantIter *iter; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # g_variant_get (changed_properties, "a{sv}", &iter); 1405s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1405s # g_datalist_remove_data (&proxy->priv->qdata, key); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # g_variant_iter_free (iter); 1405s # for (n = 0; invalidated_properties[n] != NULL; n++) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1405s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # } 1405s # 1405s # static const gchar * 1405s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1405s # { 1405s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1405s # GVariant *variant; 1405s # const gchar *value = NULL; 1405s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1405s # if (variant != NULL) 1405s # { 1405s # value = g_variant_get_string (variant, NULL); 1405s # g_variant_unref (variant); 1405s # } 1405s # return value; 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1405s # #else 1405s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1405s # #endif 1405s # 1405s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusProxyClass *proxy_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1405s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1405s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1405s # 1405s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1405s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1405s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1405s # 1405s # com_acme_coyote_override_properties (gobject_class, 1); 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1405s # { 1405s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # com_acme_coyote_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_sync: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_for_bus: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # com_acme_coyote_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_for_bus_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_for_bus_sync: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteSkeleton: 1405s # * 1405s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteSkeletonClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #ComAcmeCoyoteSkeleton. 1405s # */ 1405s # 1405s # struct _ComAcmeCoyoteSkeletonPrivate 1405s # { 1405s # GValue *properties; 1405s # GList *changed_properties; 1405s # GSource *changed_properties_idle_source; 1405s # GMainContext *context; 1405s # GMutex lock; 1405s # }; 1405s # 1405s # static void 1405s # _com_acme_coyote_skeleton_handle_method_call ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name, 1405s # const gchar *method_name, 1405s # GVariant *parameters, 1405s # GDBusMethodInvocation *invocation, 1405s # gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # _ExtendedGDBusMethodInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # guint num_extra; 1405s # gsize n; 1405s # guint signal_id; 1405s # GValue return_value = G_VALUE_INIT; 1405s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1405s # g_assert (info != NULL); 1405s # num_params = g_variant_n_children (parameters); 1405s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1405s # n = 0; 1405s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1405s # g_value_set_object (¶mv[n++], skeleton); 1405s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1405s # g_value_set_object (¶mv[n++], invocation); 1405s # if (info->pass_fdlist) 1405s # { 1405s # #ifdef G_OS_UNIX 1405s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1405s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1405s # #else 1405s # g_assert_not_reached (); 1405s # #endif 1405s # } 1405s # g_variant_iter_init (&iter, parameters); 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1405s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1405s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1405s # if (!g_value_get_boolean (&return_value)) 1405s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1405s # g_value_unset (&return_value); 1405s # for (n = 0; n < num_params + num_extra; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static GVariant * 1405s # _com_acme_coyote_skeleton_handle_get_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *ret; 1405s # ret = NULL; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # g_value_init (&value, pspec->value_type); 1405s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1405s # g_value_unset (&value); 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static gboolean 1405s # _com_acme_coyote_skeleton_handle_set_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GVariant *variant, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # gboolean ret; 1405s # ret = FALSE; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # if (info->use_gvariant) 1405s # g_value_set_variant (&value, variant); 1405s # else 1405s # g_dbus_gvariant_to_gvalue (variant, &value); 1405s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # g_value_unset (&value); 1405s # ret = TRUE; 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1405s # { 1405s # _com_acme_coyote_skeleton_handle_method_call, 1405s # _com_acme_coyote_skeleton_handle_get_property, 1405s # _com_acme_coyote_skeleton_handle_set_property, 1405s # {NULL} 1405s # }; 1405s # 1405s # static GDBusInterfaceInfo * 1405s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return com_acme_coyote_interface_info (); 1405s # } 1405s # 1405s # static GDBusInterfaceVTable * 1405s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1405s # } 1405s # 1405s # static GVariant * 1405s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1405s # 1405s # GVariantBuilder builder; 1405s # guint n; 1405s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1405s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1405s # goto out; 1405s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1405s # { 1405s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1405s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1405s # { 1405s # GVariant *value; 1405s # 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); 1405s # if (value != NULL) 1405s # { 1405s # g_variant_take_ref (value); 1405s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1405s # g_variant_unref (value); 1405s # } 1405s # } 1405s # } 1405s # out: 1405s # return g_variant_builder_end (&builder); 1405s # } 1405s # 1405s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1405s # gboolean emit_changed = FALSE; 1405s # 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # if (skeleton->priv->changed_properties_idle_source != NULL) 1405s # { 1405s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1405s # skeleton->priv->changed_properties_idle_source = NULL; 1405s # emit_changed = TRUE; 1405s # } 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # 1405s # if (emit_changed) 1405s # _com_acme_coyote_emit_changed (skeleton); 1405s # } 1405s # 1405s # static void 1405s # _com_acme_coyote_on_signal_surprised ( 1405s # ComAcmeCoyote *object) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # 1405s # GList *connections, *l; 1405s # GVariant *signal_variant; 1405s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1405s # 1405s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1405s # for (l = connections; l != NULL; l = l->next) 1405s # { 1405s # GDBusConnection *connection = l->data; 1405s # g_dbus_connection_emit_signal (connection, 1405s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1405s # signal_variant, NULL); 1405s # } 1405s # g_variant_unref (signal_variant); 1405s # g_list_free_full (connections, g_object_unref); 1405s # } 1405s # 1405s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # com_acme_coyote_skeleton_finalize (GObject *object) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # guint n; 1405s # for (n = 0; n < 1; n++) 1405s # g_value_unset (&skeleton->priv->properties[n]); 1405s # g_free (skeleton->priv->properties); 1405s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1405s # if (skeleton->priv->changed_properties_idle_source != NULL) 1405s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1405s # g_main_context_unref (skeleton->priv->context); 1405s # g_mutex_clear (&skeleton->priv->lock); 1405s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_get_property (GObject *object, 1405s # guint prop_id, 1405s # GValue *value, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # } 1405s # 1405s # static gboolean 1405s # _com_acme_coyote_emit_changed (gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # GList *l; 1405s # GVariantBuilder builder; 1405s # GVariantBuilder invalidated_builder; 1405s # guint num_changes; 1405s # 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1405s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1405s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1405s # { 1405s # ChangedProperty *cp = l->data; 1405s # GVariant *variant; 1405s # const GValue *cur_value; 1405s # 1405s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1405s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1405s # { 1405s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1405s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1405s # g_variant_unref (variant); 1405s # num_changes++; 1405s # } 1405s # } 1405s # if (num_changes > 0) 1405s # { 1405s # GList *connections, *ll; 1405s # GVariant *signal_variant; 1405s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1405s # &builder, &invalidated_builder)); 1405s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1405s # for (ll = connections; ll != NULL; ll = ll->next) 1405s # { 1405s # GDBusConnection *connection = ll->data; 1405s # 1405s # g_dbus_connection_emit_signal (connection, 1405s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1405s # "org.freedesktop.DBus.Properties", 1405s # "PropertiesChanged", 1405s # signal_variant, 1405s # NULL); 1405s # } 1405s # g_variant_unref (signal_variant); 1405s # g_list_free_full (connections, g_object_unref); 1405s # } 1405s # else 1405s # { 1405s # g_variant_builder_clear (&builder); 1405s # g_variant_builder_clear (&invalidated_builder); 1405s # } 1405s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1405s # skeleton->priv->changed_properties = NULL; 1405s # skeleton->priv->changed_properties_idle_source = NULL; 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # return FALSE; 1405s # } 1405s # 1405s # static void 1405s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1405s # { 1405s # ChangedProperty *cp; 1405s # GList *l; 1405s # cp = NULL; 1405s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1405s # { 1405s # ChangedProperty *i_cp = l->data; 1405s # if (i_cp->info == info) 1405s # { 1405s # cp = i_cp; 1405s # break; 1405s # } 1405s # } 1405s # if (cp == NULL) 1405s # { 1405s # cp = g_new0 (ChangedProperty, 1); 1405s # cp->prop_id = prop_id; 1405s # cp->info = info; 1405s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1405s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1405s # g_value_copy (orig_value, &cp->orig_value); 1405s # } 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_notify (GObject *object, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # if (skeleton->priv->changed_properties != NULL && 1405s # skeleton->priv->changed_properties_idle_source == NULL) 1405s # { 1405s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1405s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1405s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1405s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1405s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1405s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1405s # } 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_set_property (GObject *object, 1405s # guint prop_id, 1405s # const GValue *value, 1405s # GParamSpec *pspec) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # g_object_freeze_notify (object); 1405s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1405s # { 1405s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1405s # info->emits_changed_signal) 1405s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1405s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1405s # g_object_notify_by_pspec (object, pspec); 1405s # } 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # g_object_thaw_notify (object); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1405s # #else 1405s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1405s # #endif 1405s # 1405s # g_mutex_init (&skeleton->priv->lock); 1405s # skeleton->priv->context = g_main_context_ref_thread_default (); 1405s # skeleton->priv->properties = g_new0 (GValue, 1); 1405s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1405s # } 1405s # 1405s # static const gchar * 1405s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # const gchar *value; 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # return value; 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusInterfaceSkeletonClass *skeleton_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1405s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1405s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1405s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1405s # 1405s # 1405s # com_acme_coyote_override_properties (gobject_class, 1); 1405s # 1405s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1405s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1405s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1405s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1405s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1405s # { 1405s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1405s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_skeleton_new: 1405s # * 1405s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_skeleton_new (void) 1405s # { 1405s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ 1405s # * Code for interface org.project.Bar.Frobnicator 1405s # * ------------------------------------------------------------------------ 1405s # */ 1405s # 1405s # /** 1405s # * SECTION:OrgProjectBarFrobnicator 1405s # * @title: OrgProjectBarFrobnicator 1405s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1405s # * 1405s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1405s # */ 1405s # 1405s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1405s # 1405s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "RandomMethod", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-random-method", 1405s # FALSE 1405s # }; 1405s # 1405s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1405s # { 1405s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "org.project.Bar.Frobnicator", 1405s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "org-project-bar-frobnicator", 1405s # }; 1405s # 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_interface_info: 1405s # * 1405s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1405s # * 1405s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1405s # */ 1405s # GDBusInterfaceInfo * 1405s # org_project_bar_frobnicator_interface_info (void) 1405s # { 1405s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_override_properties: 1405s # * @klass: The class structure for a #GObject derived class. 1405s # * @property_id_begin: The property id to assign to the first overridden property. 1405s # * 1405s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1405s # * The properties are overridden in the order they are defined. 1405s # * 1405s # * Returns: The last property id. 1405s # */ 1405s # guint 1405s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1405s # { 1405s # return property_id_begin - 1; 1405s # } 1405s # 1405s # 1405s # inline static void 1405s # org_project_bar_frobnicator_method_marshal_random_method ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicator: 1405s # * 1405s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1405s # */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorIface: 1405s # * @parent_iface: The parent interface. 1405s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1405s # * 1405s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1405s # */ 1405s # 1405s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1405s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1405s # { 1405s # /* GObject signals for incoming D-Bus method calls: */ 1405s # /** 1405s # * OrgProjectBarFrobnicator::handle-random-method: 1405s # * @object: A #OrgProjectBarFrobnicator. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-random-method", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # org_project_bar_frobnicator_method_marshal_random_method, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_call_random_method: 1405s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1405s # * 1405s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_call_random_method ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "RandomMethod", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_call_random_method_finish: 1405s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # org_project_bar_frobnicator_call_random_method_finish ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_call_random_method_sync: 1405s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # org_project_bar_frobnicator_call_random_method_sync ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "RandomMethod", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_complete_random_method: 1405s # * @object: A #OrgProjectBarFrobnicator. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_complete_random_method ( 1405s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorProxy: 1405s # * 1405s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorProxyClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1405s # */ 1405s # 1405s # struct _OrgProjectBarFrobnicatorProxyPrivate 1405s # { 1405s # GData *qdata; 1405s # }; 1405s # 1405s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1405s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1405s # { 1405s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1405s # g_datalist_clear (&proxy->priv->qdata); 1405s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1405s # guint prop_id G_GNUC_UNUSED, 1405s # GValue *value G_GNUC_UNUSED, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1405s # guint prop_id G_GNUC_UNUSED, 1405s # const GValue *value G_GNUC_UNUSED, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1405s # const gchar *sender_name G_GNUC_UNUSED, 1405s # const gchar *signal_name, 1405s # GVariant *parameters) 1405s # { 1405s # _ExtendedGDBusSignalInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # gsize n; 1405s # guint signal_id; 1405s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1405s # if (info == NULL) 1405s # return; 1405s # num_params = g_variant_n_children (parameters); 1405s # paramv = g_new0 (GValue, num_params + 1); 1405s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_value_set_object (¶mv[0], proxy); 1405s # g_variant_iter_init (&iter, parameters); 1405s # n = 1; 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_signal_emitv (paramv, signal_id, 0, NULL); 1405s # for (n = 0; n < num_params + 1; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1405s # GVariant *changed_properties, 1405s # const gchar *const *invalidated_properties) 1405s # { 1405s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1405s # guint n; 1405s # const gchar *key; 1405s # GVariantIter *iter; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # g_variant_get (changed_properties, "a{sv}", &iter); 1405s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1405s # g_datalist_remove_data (&proxy->priv->qdata, key); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # g_variant_iter_free (iter); 1405s # for (n = 0; invalidated_properties[n] != NULL; n++) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1405s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1405s # #else 1405s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1405s # #endif 1405s # 1405s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusProxyClass *proxy_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1405s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1405s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1405s # 1405s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1405s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1405s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_sync: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_for_bus: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorSkeleton: 1405s # * 1405s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorSkeletonClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1405s # */ 1405s # 1405s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1405s # { 1405s # GValue *properties; 1405s # GList *changed_properties; 1405s # GSource *changed_properties_idle_source; 1405s # GMainContext *context; 1405s # GMutex lock; 1405s # }; 1405s # 1405s # static void 1405s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name, 1405s # const gchar *method_name, 1405s # GVariant *parameters, 1405s # GDBusMethodInvocation *invocation, 1405s # gpointer user_data) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1405s # _ExtendedGDBusMethodInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # guint num_extra; 1405s # gsize n; 1405s # guint signal_id; 1405s # GValue return_value = G_VALUE_INIT; 1405s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1405s # g_assert (info != NULL); 1405s # num_params = g_variant_n_children (parameters); 1405s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1405s # n = 0; 1405s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_value_set_object (¶mv[n++], skeleton); 1405s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1405s # g_value_set_object (¶mv[n++], invocation); 1405s # if (info->pass_fdlist) 1405s # { 1405s # #ifdef G_OS_UNIX 1405s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1405s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1405s # #else 1405s # g_assert_not_reached (); 1405s # #endif 1405s # } 1405s # g_variant_iter_init (&iter, parameters); 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1405s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1405s # if (!g_value_get_boolean (&return_value)) 1405s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1405s # g_value_unset (&return_value); 1405s # for (n = 0; n < num_params + num_extra; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static GVariant * 1405s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *ret; 1405s # ret = NULL; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # g_value_init (&value, pspec->value_type); 1405s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1405s # g_value_unset (&value); 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static gboolean 1405s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GVariant *variant, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # gboolean ret; 1405s # ret = FALSE; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # if (info->use_gvariant) 1405s # g_value_set_variant (&value, variant); 1405s # else 1405s # g_dbus_gvariant_to_gvalue (variant, &value); 1405s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # g_value_unset (&value); 1405s # ret = TRUE; 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1405s # { 1405s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1405s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1405s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1405s # {NULL} 1405s # }; 1405s # 1405s # static GDBusInterfaceInfo * 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return org_project_bar_frobnicator_interface_info (); 1405s # } 1405s # 1405s # static GDBusInterfaceVTable * 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1405s # } 1405s # 1405s # static GVariant * 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1405s # 1405s # GVariantBuilder builder; 1405s # guint n; 1405s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1405s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1405s # goto out; 1405s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1405s # { 1405s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1405s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1405s # { 1405s # GVariant *value; 1405s # 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); 1405s # if (value != NULL) 1405s # { 1405s # g_variant_take_ref (value); 1405s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1405s # g_variant_unref (value); 1405s # } 1405s # } 1405s # } 1405s # out: 1405s # return g_variant_builder_end (&builder); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1405s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1405s # if (skeleton->priv->changed_properties_idle_source != NULL) 1405s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1405s # g_main_context_unref (skeleton->priv->context); 1405s # g_mutex_clear (&skeleton->priv->lock); 1405s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1405s # #else 1405s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1405s # #endif 1405s # 1405s # g_mutex_init (&skeleton->priv->lock); 1405s # skeleton->priv->context = g_main_context_ref_thread_default (); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusInterfaceSkeletonClass *skeleton_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1405s # 1405s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1405s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1405s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1405s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1405s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_skeleton_new: 1405s # * 1405s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_skeleton_new (void) 1405s # { 1405s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1405s # } 1405s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1405s # tmpdir: /tmp/tmpgvs52oy8 1405s # codegen: /usr/bin/gdbus-codegen 1405s # /tmp/tmpgvs52oy8/tmp_e7yub2_.xml: 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgvs52oy8/tmp_e7yub2_.xml', '--output', '-', '--header'] 1405s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: /* 1405s # * This file is generated by gdbus-codegen, do not modify it. 1405s # * 1405s # * The license of this code is the same as for the D-Bus interface description 1405s # * it was derived from. Note that it links to GLib, so must comply with the 1405s # * LGPL linking clauses. 1405s # */ 1405s # 1405s # #ifndef __STDOUT__ 1405s # #define __STDOUT__ 1405s # 1405s # #include 1405s # 1405s # G_BEGIN_DECLS 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # /* Declarations for FDPassing */ 1405s # 1405s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1405s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1405s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1405s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1405s # 1405s # struct _FDPassing; 1405s # typedef struct _FDPassing FDPassing; 1405s # typedef struct _FDPassingIface FDPassingIface; 1405s # 1405s # struct _FDPassingIface 1405s # { 1405s # GTypeInterface parent_iface; 1405s # 1405s # gboolean (*handle_hello_fd) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # const gchar *arg_greeting); 1405s # 1405s # gboolean (*handle_no_annotation) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale); 1405s # 1405s # gboolean (*handle_no_annotation_nested) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GVariant *arg_files); 1405s # 1405s # }; 1405s # 1405s # GType fdpassing_get_type (void) G_GNUC_CONST; 1405s # 1405s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1405s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1405s # 1405s # 1405s # /* D-Bus method call completion functions: */ 1405s # void fdpassing_complete_hello_fd ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # const gchar *response); 1405s # 1405s # void fdpassing_complete_no_annotation ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GVariant *response, 1405s # const gchar *response_locale); 1405s # 1405s # void fdpassing_complete_no_annotation_nested ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # 1405s # 1405s # /* D-Bus method calls: */ 1405s # void fdpassing_call_hello_fd ( 1405s # FDPassing *proxy, 1405s # const gchar *arg_greeting, 1405s # GUnixFDList *fd_list, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_hello_fd_finish ( 1405s # FDPassing *proxy, 1405s # gchar **out_response, 1405s # GUnixFDList **out_fd_list, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_hello_fd_sync ( 1405s # FDPassing *proxy, 1405s # const gchar *arg_greeting, 1405s # GUnixFDList *fd_list, 1405s # gchar **out_response, 1405s # GUnixFDList **out_fd_list, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_call_no_annotation ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_no_annotation_finish ( 1405s # FDPassing *proxy, 1405s # GVariant **out_response, 1405s # gchar **out_response_locale, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_no_annotation_sync ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale, 1405s # GVariant **out_response, 1405s # gchar **out_response_locale, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_call_no_annotation_nested ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_files, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_no_annotation_nested_finish ( 1405s # FDPassing *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_no_annotation_nested_sync ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_files, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1405s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1405s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1405s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1405s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1405s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1405s # 1405s # typedef struct _FDPassingProxy FDPassingProxy; 1405s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1405s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1405s # 1405s # struct _FDPassingProxy 1405s # { 1405s # /*< private >*/ 1405s # GDBusProxy parent_instance; 1405s # FDPassingProxyPrivate *priv; 1405s # }; 1405s # 1405s # struct _FDPassingProxyClass 1405s # { 1405s # GDBusProxyClass parent_class; 1405s # }; 1405s # 1405s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1405s # #endif 1405s # 1405s # void fdpassing_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # FDPassing *fdpassing_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # FDPassing *fdpassing_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1405s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1405s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1405s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1405s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1405s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1405s # 1405s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1405s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1405s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1405s # 1405s # struct _FDPassingSkeleton 1405s # { 1405s # /*< private >*/ 1405s # GDBusInterfaceSkeleton parent_instance; 1405s # FDPassingSkeletonPrivate *priv; 1405s # }; 1405s # 1405s # struct _FDPassingSkeletonClass 1405s # { 1405s # GDBusInterfaceSkeletonClass parent_class; 1405s # }; 1405s # 1405s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1405s # #endif 1405s # 1405s # FDPassing *fdpassing_skeleton_new (void); 1405s # 1405s # 1405s # G_END_DECLS 1405s # 1405s # #endif /* __STDOUT__ */ 1405s # /tmp/tmpgvs52oy8/tmpv6lr9q5r.xml: 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgvs52oy8/tmpv6lr9q5r.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1405s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: /* 1405s # * This file is generated by gdbus-codegen, do not modify it. 1405s # * 1405s # * The license of this code is the same as for the D-Bus interface description 1405s # * it was derived from. Note that it links to GLib, so must comply with the 1405s # * LGPL linking clauses. 1405s # */ 1405s # 1405s # #ifndef __STDOUT__ 1405s # #define __STDOUT__ 1405s # 1405s # #include 1405s # 1405s # G_BEGIN_DECLS 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # /* Declarations for FDPassing */ 1405s # 1405s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1405s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1405s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1405s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1405s # 1405s # struct _FDPassing; 1405s # typedef struct _FDPassing FDPassing; 1405s # typedef struct _FDPassingIface FDPassingIface; 1405s # 1405s # struct _FDPassingIface 1405s # { 1405s # GTypeInterface parent_iface; 1405s # 1405s # gboolean (*handle_hello_fd) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # const gchar *arg_greeting); 1405s # 1405s # gboolean (*handle_no_annotation) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale); 1405s # 1405s # gboolean (*handle_no_annotation_nested) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GVariant *arg_files); 1405s # 1405s # }; 1405s # 1405s # GType fdpassing_get_type (void) G_GNUC_CONST; 1405s # 1405s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1405s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1405s # 1405s # 1405s # /* D-Bus method call completion functions: */ 1405s # void fdpassing_complete_hello_fd ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # const gchar *response); 1405s # 1405s # void fdpassing_complete_no_annotation ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GVariant *response, 1405s # const gchar *response_locale); 1405s # 1405s # void fdpassing_complete_no_annotation_nested ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # 1405s # 1405s # /* D-Bus method calls: */ 1405s # void fdpassing_call_hello_fd ( 1405s # FDPassing *proxy, 1405s # const gchar *arg_greeting, 1405s # GUnixFDList *fd_list, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_hello_fd_finish ( 1405s # FDPassing *proxy, 1405s # gchar **out_response, 1405s # GUnixFDList **out_fd_list, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_hello_fd_sync ( 1405s # FDPassing *proxy, 1405s # const gchar *arg_greeting, 1405s # GUnixFDList *fd_list, 1405s # gchar **out_response, 1405s # GUnixFDList **out_fd_list, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_call_no_annotation ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_no_annotation_finish ( 1405s # FDPassing *proxy, 1405s # GVariant **out_response, 1405s # gchar **out_response_locale, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_no_annotation_sync ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale, 1405s # GVariant **out_response, 1405s # gchar **out_response_locale, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_call_no_annotation_nested ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_files, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_no_annotation_nested_finish ( 1405s # FDPassing *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_no_annotation_nested_sync ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_files, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1405s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1405s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1405s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1405s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1405s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1405s # 1405s # typedef struct _FDPassingProxy FDPassingProxy; 1405s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1405s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1405s # 1405s # struct _FDPassingProxy 1405s # { 1405s # /*< private >*/ 1405s # GDBusProxy parent_instance; 1405s # FDPassingProxyPrivate *priv; 1405s # }; 1405s # 1405s # struct _FDPassingProxyClass 1405s # { 1405s # GDBusProxyClass parent_class; 1405s # }; 1405s # 1405s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1405s # #endif 1405s # 1405s # void fdpassing_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # FDPassing *fdpassing_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # FDPassing *fdpassing_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1405s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1405s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1405s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1405s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1405s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1405s # 1405s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1405s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1405s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1405s # 1405s # struct _FDPassingSkeleton 1405s # { 1405s # /*< private >*/ 1405s # GDBusInterfaceSkeleton parent_instance; 1405s # FDPassingSkeletonPrivate *priv; 1405s # }; 1405s # 1405s # struct _FDPassingSkeletonClass 1405s # { 1405s # GDBusInterfaceSkeletonClass parent_class; 1405s # }; 1405s # 1405s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1405s # #endif 1405s # 1405s # FDPassing *fdpassing_skeleton_new (void); 1405s # 1405s # 1405s # G_END_DECLS 1405s # 1405s # #endif /* __STDOUT__ */ 1405s # /tmp/tmpgvs52oy8/tmpsnrtjs1l.xml: 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgvs52oy8/tmpsnrtjs1l.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1405s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: /* 1405s # * This file is generated by gdbus-codegen, do not modify it. 1405s # * 1405s # * The license of this code is the same as for the D-Bus interface description 1405s # * it was derived from. Note that it links to GLib, so must comply with the 1405s # * LGPL linking clauses. 1405s # */ 1405s # 1405s # #ifndef __STDOUT__ 1405s # #define __STDOUT__ 1405s # 1405s # #include 1405s # 1405s # G_BEGIN_DECLS 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # /* Declarations for FDPassing */ 1405s # 1405s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1405s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1405s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1405s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1405s # 1405s # struct _FDPassing; 1405s # typedef struct _FDPassing FDPassing; 1405s # typedef struct _FDPassingIface FDPassingIface; 1405s # 1405s # struct _FDPassingIface 1405s # { 1405s # GTypeInterface parent_iface; 1405s # 1405s # gboolean (*handle_hello_fd) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # const gchar *arg_greeting); 1405s # 1405s # gboolean (*handle_no_annotation) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale); 1405s # 1405s # gboolean (*handle_no_annotation_nested) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # GVariant *arg_files); 1405s # 1405s # }; 1405s # 1405s # GType fdpassing_get_type (void) G_GNUC_CONST; 1405s # 1405s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1405s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1405s # 1405s # 1405s # /* D-Bus method call completion functions: */ 1405s # void fdpassing_complete_hello_fd ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # const gchar *response); 1405s # 1405s # void fdpassing_complete_no_annotation ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # GVariant *response, 1405s # const gchar *response_locale); 1405s # 1405s # void fdpassing_complete_no_annotation_nested ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list); 1405s # 1405s # 1405s # 1405s # /* D-Bus method calls: */ 1405s # void fdpassing_call_hello_fd ( 1405s # FDPassing *proxy, 1405s # const gchar *arg_greeting, 1405s # GDBusCallFlags call_flags, 1405s # gint timeout_msec, 1405s # GUnixFDList *fd_list, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_hello_fd_finish ( 1405s # FDPassing *proxy, 1405s # gchar **out_response, 1405s # GUnixFDList **out_fd_list, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_hello_fd_sync ( 1405s # FDPassing *proxy, 1405s # const gchar *arg_greeting, 1405s # GDBusCallFlags call_flags, 1405s # gint timeout_msec, 1405s # GUnixFDList *fd_list, 1405s # gchar **out_response, 1405s # GUnixFDList **out_fd_list, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_call_no_annotation ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale, 1405s # GDBusCallFlags call_flags, 1405s # gint timeout_msec, 1405s # GUnixFDList *fd_list, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_no_annotation_finish ( 1405s # FDPassing *proxy, 1405s # GVariant **out_response, 1405s # gchar **out_response_locale, 1405s # GUnixFDList **out_fd_list, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_no_annotation_sync ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale, 1405s # GDBusCallFlags call_flags, 1405s # gint timeout_msec, 1405s # GUnixFDList *fd_list, 1405s # GVariant **out_response, 1405s # gchar **out_response_locale, 1405s # GUnixFDList **out_fd_list, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_call_no_annotation_nested ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_files, 1405s # GDBusCallFlags call_flags, 1405s # gint timeout_msec, 1405s # GUnixFDList *fd_list, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_no_annotation_nested_finish ( 1405s # FDPassing *proxy, 1405s # GUnixFDList **out_fd_list, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_no_annotation_nested_sync ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_files, 1405s # GDBusCallFlags call_flags, 1405s # gint timeout_msec, 1405s # GUnixFDList *fd_list, 1405s # GUnixFDList **out_fd_list, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1405s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1405s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1405s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1405s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1405s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1405s # 1405s # typedef struct _FDPassingProxy FDPassingProxy; 1405s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1405s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1405s # 1405s # struct _FDPassingProxy 1405s # { 1405s # /*< private >*/ 1405s # GDBusProxy parent_instance; 1405s # FDPassingProxyPrivate *priv; 1405s # }; 1405s # 1405s # struct _FDPassingProxyClass 1405s # { 1405s # GDBusProxyClass parent_class; 1405s # }; 1405s # 1405s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1405s # #endif 1405s # 1405s # void fdpassing_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # FDPassing *fdpassing_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # FDPassing *fdpassing_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1405s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1405s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1405s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1405s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1405s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1405s # 1405s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1405s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1405s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1405s # 1405s # struct _FDPassingSkeleton 1405s # { 1405s # /*< private >*/ 1405s # GDBusInterfaceSkeleton parent_instance; 1405s # FDPassingSkeletonPrivate *priv; 1405s # }; 1405s # 1405s # struct _FDPassingSkeletonClass 1405s # { 1405s # GDBusInterfaceSkeletonClass parent_class; 1405s # }; 1405s # 1405s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1405s # #endif 1405s # 1405s # FDPassing *fdpassing_skeleton_new (void); 1405s # 1405s # 1405s # G_END_DECLS 1405s # 1405s # #endif /* __STDOUT__ */ 1405s 1..39 1405s ok - glib/codegen.py.test 1405s # Running test: glib/checksum.test 1405s TAP version 13 1405s # random seed: R02S6124fc457f7a21d0f3dae024fa81472f 1405s 1..1851 1405s # Start of checksum tests 1405s ok 1 /checksum/unsupported 1405s # Start of MD5 tests 1405s ok 2 /checksum/MD5/0 1405s ok 3 /checksum/MD5/1 1405s ok 4 /checksum/MD5/2 1405s ok 5 /checksum/MD5/3 1405s ok 6 /checksum/MD5/4 1405s ok 7 /checksum/MD5/5 1405s ok 8 /checksum/MD5/6 1405s ok 9 /checksum/MD5/7 1405s ok 10 /checksum/MD5/8 1405s ok 11 /checksum/MD5/9 1405s ok 12 /checksum/MD5/10 1405s ok 13 /checksum/MD5/11 1405s ok 14 /checksum/MD5/12 1405s ok 15 /checksum/MD5/13 1405s ok 16 /checksum/MD5/14 1405s ok 17 /checksum/MD5/15 1405s ok 18 /checksum/MD5/16 1405s ok 19 /checksum/MD5/17 1405s ok 20 /checksum/MD5/18 1405s ok 21 /checksum/MD5/19 1405s ok 22 /checksum/MD5/20 1405s ok 23 /checksum/MD5/21 1405s ok 24 /checksum/MD5/22 1405s ok 25 /checksum/MD5/23 1405s ok 26 /checksum/MD5/24 1405s ok 27 /checksum/MD5/25 1405s ok 28 /checksum/MD5/26 1405s ok 29 /checksum/MD5/27 1405s ok 30 /checksum/MD5/28 1405s ok 31 /checksum/MD5/29 1405s ok 32 /checksum/MD5/30 1405s ok 33 /checksum/MD5/31 1405s ok 34 /checksum/MD5/32 1405s ok 35 /checksum/MD5/33 1405s ok 36 /checksum/MD5/34 1405s ok 37 /checksum/MD5/35 1405s ok 38 /checksum/MD5/36 1405s ok 39 /checksum/MD5/37 1405s ok 40 /checksum/MD5/38 1405s ok 41 /checksum/MD5/39 1405s ok 42 /checksum/MD5/40 1405s ok 43 /checksum/MD5/41 1405s ok 44 /checksum/MD5/42 1405s ok 45 /checksum/MD5/43 1405s ok 46 /checksum/MD5/44 1405s ok 47 /checksum/MD5/45 1405s ok 48 /checksum/MD5/46 1405s ok 49 /checksum/MD5/47 1405s ok 50 /checksum/MD5/48 1405s ok 51 /checksum/MD5/49 1405s ok 52 /checksum/MD5/50 1405s ok 53 /checksum/MD5/51 1405s ok 54 /checksum/MD5/52 1405s ok 55 /checksum/MD5/53 1405s ok 56 /checksum/MD5/54 1405s ok 57 /checksum/MD5/55 1405s ok 58 /checksum/MD5/56 1405s ok 59 /checksum/MD5/57 1405s ok 60 /checksum/MD5/58 1405s ok 61 /checksum/MD5/59 1405s ok 62 /checksum/MD5/60 1405s ok 63 /checksum/MD5/61 1405s ok 64 /checksum/MD5/62 1405s ok 65 /checksum/MD5/63 1405s ok 66 /checksum/MD5/64 1405s ok 67 /checksum/MD5/65 1405s ok 68 /checksum/MD5/66 1405s ok 69 /checksum/MD5/67 1405s ok 70 /checksum/MD5/68 1405s ok 71 /checksum/MD5/69 1405s ok 72 /checksum/MD5/70 1405s ok 73 /checksum/MD5/71 1405s ok 74 /checksum/MD5/72 1405s ok 75 /checksum/MD5/73 1405s ok 76 /checksum/MD5/74 1405s ok 77 /checksum/MD5/75 1405s ok 78 /checksum/MD5/76 1405s ok 79 /checksum/MD5/77 1405s ok 80 /checksum/MD5/78 1405s ok 81 /checksum/MD5/79 1405s ok 82 /checksum/MD5/80 1405s ok 83 /checksum/MD5/81 1405s ok 84 /checksum/MD5/82 1405s ok 85 /checksum/MD5/83 1405s ok 86 /checksum/MD5/84 1405s ok 87 /checksum/MD5/85 1405s ok 88 /checksum/MD5/86 1405s ok 89 /checksum/MD5/87 1405s ok 90 /checksum/MD5/88 1405s ok 91 /checksum/MD5/89 1405s ok 92 /checksum/MD5/90 1405s ok 93 /checksum/MD5/91 1405s ok 94 /checksum/MD5/92 1405s ok 95 /checksum/MD5/93 1405s ok 96 /checksum/MD5/94 1405s ok 97 /checksum/MD5/95 1405s ok 98 /checksum/MD5/96 1405s ok 99 /checksum/MD5/97 1405s ok 100 /checksum/MD5/98 1405s ok 101 /checksum/MD5/99 1405s ok 102 /checksum/MD5/100 1405s ok 103 /checksum/MD5/101 1405s ok 104 /checksum/MD5/102 1405s ok 105 /checksum/MD5/103 1405s ok 106 /checksum/MD5/104 1405s ok 107 /checksum/MD5/105 1405s ok 108 /checksum/MD5/106 1405s ok 109 /checksum/MD5/107 1405s ok 110 /checksum/MD5/108 1405s ok 111 /checksum/MD5/109 1405s ok 112 /checksum/MD5/110 1405s ok 113 /checksum/MD5/111 1405s ok 114 /checksum/MD5/112 1405s ok 115 /checksum/MD5/113 1405s ok 116 /checksum/MD5/114 1405s ok 117 /checksum/MD5/115 1405s ok 118 /checksum/MD5/116 1405s ok 119 /checksum/MD5/117 1405s ok 120 /checksum/MD5/118 1405s ok 121 /checksum/MD5/119 1405s ok 122 /checksum/MD5/120 1405s ok 123 /checksum/MD5/121 1405s ok 124 /checksum/MD5/122 1405s ok 125 /checksum/MD5/123 1405s ok 126 /checksum/MD5/124 1405s ok 127 /checksum/MD5/125 1405s ok 128 /checksum/MD5/126 1405s ok 129 /checksum/MD5/127 1405s ok 130 /checksum/MD5/128 1405s ok 131 /checksum/MD5/129 1405s ok 132 /checksum/MD5/130 1405s ok 133 /checksum/MD5/131 1405s ok 134 /checksum/MD5/132 1405s ok 135 /checksum/MD5/133 1405s ok 136 /checksum/MD5/134 1405s ok 137 /checksum/MD5/135 1405s ok 138 /checksum/MD5/136 1405s ok 139 /checksum/MD5/137 1405s ok 140 /checksum/MD5/138 1405s ok 141 /checksum/MD5/139 1405s ok 142 /checksum/MD5/140 1405s ok 143 /checksum/MD5/141 1405s ok 144 /checksum/MD5/142 1405s ok 145 /checksum/MD5/143 1405s ok 146 /checksum/MD5/144 1405s ok 147 /checksum/MD5/145 1405s ok 148 /checksum/MD5/146 1405s ok 149 /checksum/MD5/147 1405s ok 150 /checksum/MD5/148 1405s ok 151 /checksum/MD5/149 1405s ok 152 /checksum/MD5/150 1405s ok 153 /checksum/MD5/151 1405s ok 154 /checksum/MD5/152 1405s ok 155 /checksum/MD5/153 1405s ok 156 /checksum/MD5/154 1405s ok 157 /checksum/MD5/155 1405s ok 158 /checksum/MD5/156 1405s ok 159 /checksum/MD5/157 1405s ok 160 /checksum/MD5/158 1405s ok 161 /checksum/MD5/159 1405s ok 162 /checksum/MD5/160 1405s ok 163 /checksum/MD5/161 1405s ok 164 /checksum/MD5/162 1405s ok 165 /checksum/MD5/163 1405s ok 166 /checksum/MD5/164 1405s ok 167 /checksum/MD5/165 1405s ok 168 /checksum/MD5/166 1405s ok 169 /checksum/MD5/167 1405s ok 170 /checksum/MD5/168 1405s ok 171 /checksum/MD5/169 1405s ok 172 /checksum/MD5/170 1405s ok 173 /checksum/MD5/171 1405s ok 174 /checksum/MD5/172 1405s ok 175 /checksum/MD5/173 1405s ok 176 /checksum/MD5/174 1405s ok 177 /checksum/MD5/175 1405s ok 178 /checksum/MD5/176 1405s ok 179 /checksum/MD5/177 1405s ok 180 /checksum/MD5/178 1405s ok 181 /checksum/MD5/179 1405s ok 182 /checksum/MD5/180 1405s ok 183 /checksum/MD5/181 1405s ok 184 /checksum/MD5/182 1405s ok 185 /checksum/MD5/183 1405s ok 186 /checksum/MD5/string 1405s ok 187 /checksum/MD5/bytes 1405s # Start of reset tests 1405s ok 188 /checksum/MD5/reset/0 1405s ok 189 /checksum/MD5/reset/1 1405s ok 190 /checksum/MD5/reset/2 1405s ok 191 /checksum/MD5/reset/3 1405s ok 192 /checksum/MD5/reset/4 1405s ok 193 /checksum/MD5/reset/5 1405s ok 194 /checksum/MD5/reset/6 1405s ok 195 /checksum/MD5/reset/7 1405s ok 196 /checksum/MD5/reset/8 1405s ok 197 /checksum/MD5/reset/9 1405s ok 198 /checksum/MD5/reset/10 1405s ok 199 /checksum/MD5/reset/11 1405s ok 200 /checksum/MD5/reset/12 1405s ok 201 /checksum/MD5/reset/13 1405s ok 202 /checksum/MD5/reset/14 1405s ok 203 /checksum/MD5/reset/15 1405s ok 204 /checksum/MD5/reset/16 1405s ok 205 /checksum/MD5/reset/17 1405s ok 206 /checksum/MD5/reset/18 1405s ok 207 /checksum/MD5/reset/19 1405s ok 208 /checksum/MD5/reset/20 1405s ok 209 /checksum/MD5/reset/21 1405s ok 210 /checksum/MD5/reset/22 1405s ok 211 /checksum/MD5/reset/23 1405s ok 212 /checksum/MD5/reset/24 1405s ok 213 /checksum/MD5/reset/25 1405s ok 214 /checksum/MD5/reset/26 1405s ok 215 /checksum/MD5/reset/27 1405s ok 216 /checksum/MD5/reset/28 1405s ok 217 /checksum/MD5/reset/29 1405s ok 218 /checksum/MD5/reset/30 1405s ok 219 /checksum/MD5/reset/31 1405s ok 220 /checksum/MD5/reset/32 1405s ok 221 /checksum/MD5/reset/33 1405s ok 222 /checksum/MD5/reset/34 1405s ok 223 /checksum/MD5/reset/35 1405s ok 224 /checksum/MD5/reset/36 1405s ok 225 /checksum/MD5/reset/37 1405s ok 226 /checksum/MD5/reset/38 1405s ok 227 /checksum/MD5/reset/39 1405s ok 228 /checksum/MD5/reset/40 1405s ok 229 /checksum/MD5/reset/41 1405s ok 230 /checksum/MD5/reset/42 1405s ok 231 /checksum/MD5/reset/43 1405s ok 232 /checksum/MD5/reset/44 1405s ok 233 /checksum/MD5/reset/45 1405s ok 234 /checksum/MD5/reset/46 1405s ok 235 /checksum/MD5/reset/47 1405s ok 236 /checksum/MD5/reset/48 1405s ok 237 /checksum/MD5/reset/49 1405s ok 238 /checksum/MD5/reset/50 1405s ok 239 /checksum/MD5/reset/51 1405s ok 240 /checksum/MD5/reset/52 1405s ok 241 /checksum/MD5/reset/53 1405s ok 242 /checksum/MD5/reset/54 1405s ok 243 /checksum/MD5/reset/55 1405s ok 244 /checksum/MD5/reset/56 1405s ok 245 /checksum/MD5/reset/57 1405s ok 246 /checksum/MD5/reset/58 1405s ok 247 /checksum/MD5/reset/59 1405s ok 248 /checksum/MD5/reset/60 1405s ok 249 /checksum/MD5/reset/61 1405s ok 250 /checksum/MD5/reset/62 1405s ok 251 /checksum/MD5/reset/63 1405s ok 252 /checksum/MD5/reset/64 1405s ok 253 /checksum/MD5/reset/65 1405s ok 254 /checksum/MD5/reset/66 1405s ok 255 /checksum/MD5/reset/67 1405s ok 256 /checksum/MD5/reset/68 1405s ok 257 /checksum/MD5/reset/69 1405s ok 258 /checksum/MD5/reset/70 1405s ok 259 /checksum/MD5/reset/71 1405s ok 260 /checksum/MD5/reset/72 1405s ok 261 /checksum/MD5/reset/73 1405s ok 262 /checksum/MD5/reset/74 1405s ok 263 /checksum/MD5/reset/75 1405s ok 264 /checksum/MD5/reset/76 1405s ok 265 /checksum/MD5/reset/77 1405s ok 266 /checksum/MD5/reset/78 1405s ok 267 /checksum/MD5/reset/79 1405s ok 268 /checksum/MD5/reset/80 1405s ok 269 /checksum/MD5/reset/81 1405s ok 270 /checksum/MD5/reset/82 1405s ok 271 /checksum/MD5/reset/83 1405s ok 272 /checksum/MD5/reset/84 1405s ok 273 /checksum/MD5/reset/85 1405s ok 274 /checksum/MD5/reset/86 1405s ok 275 /checksum/MD5/reset/87 1405s ok 276 /checksum/MD5/reset/88 1405s ok 277 /checksum/MD5/reset/89 1405s ok 278 /checksum/MD5/reset/90 1405s ok 279 /checksum/MD5/reset/91 1405s ok 280 /checksum/MD5/reset/92 1405s ok 281 /checksum/MD5/reset/93 1405s ok 282 /checksum/MD5/reset/94 1405s ok 283 /checksum/MD5/reset/95 1405s ok 284 /checksum/MD5/reset/96 1405s ok 285 /checksum/MD5/reset/97 1405s ok 286 /checksum/MD5/reset/98 1405s ok 287 /checksum/MD5/reset/99 1405s ok 288 /checksum/MD5/reset/100 1405s ok 289 /checksum/MD5/reset/101 1405s ok 290 /checksum/MD5/reset/102 1405s ok 291 /checksum/MD5/reset/103 1405s ok 292 /checksum/MD5/reset/104 1405s ok 293 /checksum/MD5/reset/105 1405s ok 294 /checksum/MD5/reset/106 1405s ok 295 /checksum/MD5/reset/107 1405s ok 296 /checksum/MD5/reset/108 1405s ok 297 /checksum/MD5/reset/109 1405s ok 298 /checksum/MD5/reset/110 1405s ok 299 /checksum/MD5/reset/111 1405s ok 300 /checksum/MD5/reset/112 1405s ok 301 /checksum/MD5/reset/113 1405s ok 302 /checksum/MD5/reset/114 1405s ok 303 /checksum/MD5/reset/115 1405s ok 304 /checksum/MD5/reset/116 1405s ok 305 /checksum/MD5/reset/117 1405s ok 306 /checksum/MD5/reset/118 1405s ok 307 /checksum/MD5/reset/119 1405s ok 308 /checksum/MD5/reset/120 1405s ok 309 /checksum/MD5/reset/121 1405s ok 310 /checksum/MD5/reset/122 1405s ok 311 /checksum/MD5/reset/123 1405s ok 312 /checksum/MD5/reset/124 1405s ok 313 /checksum/MD5/reset/125 1405s ok 314 /checksum/MD5/reset/126 1405s ok 315 /checksum/MD5/reset/127 1405s ok 316 /checksum/MD5/reset/128 1405s ok 317 /checksum/MD5/reset/129 1405s ok 318 /checksum/MD5/reset/130 1405s ok 319 /checksum/MD5/reset/131 1405s ok 320 /checksum/MD5/reset/132 1405s ok 321 /checksum/MD5/reset/133 1405s ok 322 /checksum/MD5/reset/134 1405s ok 323 /checksum/MD5/reset/135 1405s ok 324 /checksum/MD5/reset/136 1405s ok 325 /checksum/MD5/reset/137 1405s ok 326 /checksum/MD5/reset/138 1405s ok 327 /checksum/MD5/reset/139 1405s ok 328 /checksum/MD5/reset/140 1405s ok 329 /checksum/MD5/reset/141 1405s ok 330 /checksum/MD5/reset/142 1405s ok 331 /checksum/MD5/reset/143 1405s ok 332 /checksum/MD5/reset/144 1405s ok 333 /checksum/MD5/reset/145 1405s ok 334 /checksum/MD5/reset/146 1405s ok 335 /checksum/MD5/reset/147 1405s ok 336 /checksum/MD5/reset/148 1405s ok 337 /checksum/MD5/reset/149 1405s ok 338 /checksum/MD5/reset/150 1405s ok 339 /checksum/MD5/reset/151 1405s ok 340 /checksum/MD5/reset/152 1405s ok 341 /checksum/MD5/reset/153 1405s ok 342 /checksum/MD5/reset/154 1405s ok 343 /checksum/MD5/reset/155 1405s ok 344 /checksum/MD5/reset/156 1405s ok 345 /checksum/MD5/reset/157 1405s ok 346 /checksum/MD5/reset/158 1405s ok 347 /checksum/MD5/reset/159 1405s ok 348 /checksum/MD5/reset/160 1405s ok 349 /checksum/MD5/reset/161 1405s ok 350 /checksum/MD5/reset/162 1405s ok 351 /checksum/MD5/reset/163 1405s ok 352 /checksum/MD5/reset/164 1405s ok 353 /checksum/MD5/reset/165 1405s ok 354 /checksum/MD5/reset/166 1405s ok 355 /checksum/MD5/reset/167 1405s ok 356 /checksum/MD5/reset/168 1405s ok 357 /checksum/MD5/reset/169 1405s ok 358 /checksum/MD5/reset/170 1405s ok 359 /checksum/MD5/reset/171 1405s ok 360 /checksum/MD5/reset/172 1405s ok 361 /checksum/MD5/reset/173 1405s ok 362 /checksum/MD5/reset/174 1405s ok 363 /checksum/MD5/reset/175 1405s ok 364 /checksum/MD5/reset/176 1405s ok 365 /checksum/MD5/reset/177 1405s ok 366 /checksum/MD5/reset/178 1405s ok 367 /checksum/MD5/reset/179 1405s ok 368 /checksum/MD5/reset/180 1405s ok 369 /checksum/MD5/reset/181 1405s ok 370 /checksum/MD5/reset/182 1405s ok 371 /checksum/MD5/reset/183 1405s # End of reset tests 1405s # End of MD5 tests 1405s # Start of SHA1 tests 1405s ok 372 /checksum/SHA1/0 1405s ok 373 /checksum/SHA1/1 1405s ok 374 /checksum/SHA1/2 1405s ok 375 /checksum/SHA1/3 1405s ok 376 /checksum/SHA1/4 1405s ok 377 /checksum/SHA1/5 1405s ok 378 /checksum/SHA1/6 1405s ok 379 /checksum/SHA1/7 1405s ok 380 /checksum/SHA1/8 1405s ok 381 /checksum/SHA1/9 1405s ok 382 /checksum/SHA1/10 1405s ok 383 /checksum/SHA1/11 1405s ok 384 /checksum/SHA1/12 1405s ok 385 /checksum/SHA1/13 1405s ok 386 /checksum/SHA1/14 1405s ok 387 /checksum/SHA1/15 1405s ok 388 /checksum/SHA1/16 1405s ok 389 /checksum/SHA1/17 1405s ok 390 /checksum/SHA1/18 1405s ok 391 /checksum/SHA1/19 1405s ok 392 /checksum/SHA1/20 1405s ok 393 /checksum/SHA1/21 1405s ok 394 /checksum/SHA1/22 1405s ok 395 /checksum/SHA1/23 1405s ok 396 /checksum/SHA1/24 1405s ok 397 /checksum/SHA1/25 1405s ok 398 /checksum/SHA1/26 1405s ok 399 /checksum/SHA1/27 1405s ok 400 /checksum/SHA1/28 1405s ok 401 /checksum/SHA1/29 1405s ok 402 /checksum/SHA1/30 1405s ok 403 /checksum/SHA1/31 1405s ok 404 /checksum/SHA1/32 1405s ok 405 /checksum/SHA1/33 1405s ok 406 /checksum/SHA1/34 1405s ok 407 /checksum/SHA1/35 1405s ok 408 /checksum/SHA1/36 1405s ok 409 /checksum/SHA1/37 1405s ok 410 /checksum/SHA1/38 1405s ok 411 /checksum/SHA1/39 1405s ok 412 /checksum/SHA1/40 1405s ok 413 /checksum/SHA1/41 1405s ok 414 /checksum/SHA1/42 1405s ok 415 /checksum/SHA1/43 1405s ok 416 /checksum/SHA1/44 1405s ok 417 /checksum/SHA1/45 1405s ok 418 /checksum/SHA1/46 1405s ok 419 /checksum/SHA1/47 1405s ok 420 /checksum/SHA1/48 1405s ok 421 /checksum/SHA1/49 1405s ok 422 /checksum/SHA1/50 1405s ok 423 /checksum/SHA1/51 1405s ok 424 /checksum/SHA1/52 1405s ok 425 /checksum/SHA1/53 1405s ok 426 /checksum/SHA1/54 1405s ok 427 /checksum/SHA1/55 1405s ok 428 /checksum/SHA1/56 1405s ok 429 /checksum/SHA1/57 1405s ok 430 /checksum/SHA1/58 1405s ok 431 /checksum/SHA1/59 1405s ok 432 /checksum/SHA1/60 1405s ok 433 /checksum/SHA1/61 1405s ok 434 /checksum/SHA1/62 1405s ok 435 /checksum/SHA1/63 1405s ok 436 /checksum/SHA1/64 1405s ok 437 /checksum/SHA1/65 1405s ok 438 /checksum/SHA1/66 1405s ok 439 /checksum/SHA1/67 1405s ok 440 /checksum/SHA1/68 1405s ok 441 /checksum/SHA1/69 1405s ok 442 /checksum/SHA1/70 1405s ok 443 /checksum/SHA1/71 1405s ok 444 /checksum/SHA1/72 1405s ok 445 /checksum/SHA1/73 1405s ok 446 /checksum/SHA1/74 1405s ok 447 /checksum/SHA1/75 1405s ok 448 /checksum/SHA1/76 1405s ok 449 /checksum/SHA1/77 1405s ok 450 /checksum/SHA1/78 1405s ok 451 /checksum/SHA1/79 1405s ok 452 /checksum/SHA1/80 1405s ok 453 /checksum/SHA1/81 1405s ok 454 /checksum/SHA1/82 1405s ok 455 /checksum/SHA1/83 1405s ok 456 /checksum/SHA1/84 1405s ok 457 /checksum/SHA1/85 1405s ok 458 /checksum/SHA1/86 1405s ok 459 /checksum/SHA1/87 1405s ok 460 /checksum/SHA1/88 1405s ok 461 /checksum/SHA1/89 1405s ok 462 /checksum/SHA1/90 1405s ok 463 /checksum/SHA1/91 1405s ok 464 /checksum/SHA1/92 1405s ok 465 /checksum/SHA1/93 1405s ok 466 /checksum/SHA1/94 1405s ok 467 /checksum/SHA1/95 1405s ok 468 /checksum/SHA1/96 1405s ok 469 /checksum/SHA1/97 1405s ok 470 /checksum/SHA1/98 1405s ok 471 /checksum/SHA1/99 1405s ok 472 /checksum/SHA1/100 1405s ok 473 /checksum/SHA1/101 1405s ok 474 /checksum/SHA1/102 1405s ok 475 /checksum/SHA1/103 1405s ok 476 /checksum/SHA1/104 1405s ok 477 /checksum/SHA1/105 1405s ok 478 /checksum/SHA1/106 1405s ok 479 /checksum/SHA1/107 1405s ok 480 /checksum/SHA1/108 1405s ok 481 /checksum/SHA1/109 1405s ok 482 /checksum/SHA1/110 1405s ok 483 /checksum/SHA1/111 1405s ok 484 /checksum/SHA1/112 1405s ok 485 /checksum/SHA1/113 1405s ok 486 /checksum/SHA1/114 1405s ok 487 /checksum/SHA1/115 1405s ok 488 /checksum/SHA1/116 1405s ok 489 /checksum/SHA1/117 1405s ok 490 /checksum/SHA1/118 1405s ok 491 /checksum/SHA1/119 1405s ok 492 /checksum/SHA1/120 1405s ok 493 /checksum/SHA1/121 1405s ok 494 /checksum/SHA1/122 1405s ok 495 /checksum/SHA1/123 1405s ok 496 /checksum/SHA1/124 1405s ok 497 /checksum/SHA1/125 1405s ok 498 /checksum/SHA1/126 1405s ok 499 /checksum/SHA1/127 1405s ok 500 /checksum/SHA1/128 1405s ok 501 /checksum/SHA1/129 1405s ok 502 /checksum/SHA1/130 1405s ok 503 /checksum/SHA1/131 1405s ok 504 /checksum/SHA1/132 1405s ok 505 /checksum/SHA1/133 1405s ok 506 /checksum/SHA1/134 1405s ok 507 /checksum/SHA1/135 1405s ok 508 /checksum/SHA1/136 1405s ok 509 /checksum/SHA1/137 1405s ok 510 /checksum/SHA1/138 1405s ok 511 /checksum/SHA1/139 1405s ok 512 /checksum/SHA1/140 1405s ok 513 /checksum/SHA1/141 1405s ok 514 /checksum/SHA1/142 1405s ok 515 /checksum/SHA1/143 1405s ok 516 /checksum/SHA1/144 1405s ok 517 /checksum/SHA1/145 1405s ok 518 /checksum/SHA1/146 1405s ok 519 /checksum/SHA1/147 1405s ok 520 /checksum/SHA1/148 1405s ok 521 /checksum/SHA1/149 1405s ok 522 /checksum/SHA1/150 1405s ok 523 /checksum/SHA1/151 1405s ok 524 /checksum/SHA1/152 1405s ok 525 /checksum/SHA1/153 1405s ok 526 /checksum/SHA1/154 1405s ok 527 /checksum/SHA1/155 1405s ok 528 /checksum/SHA1/156 1405s ok 529 /checksum/SHA1/157 1405s ok 530 /checksum/SHA1/158 1405s ok 531 /checksum/SHA1/159 1405s ok 532 /checksum/SHA1/160 1405s ok 533 /checksum/SHA1/161 1405s ok 534 /checksum/SHA1/162 1405s ok 535 /checksum/SHA1/163 1405s ok 536 /checksum/SHA1/164 1405s ok 537 /checksum/SHA1/165 1405s ok 538 /checksum/SHA1/166 1405s ok 539 /checksum/SHA1/167 1405s ok 540 /checksum/SHA1/168 1405s ok 541 /checksum/SHA1/169 1405s ok 542 /checksum/SHA1/170 1405s ok 543 /checksum/SHA1/171 1405s ok 544 /checksum/SHA1/172 1405s ok 545 /checksum/SHA1/173 1405s ok 546 /checksum/SHA1/174 1405s ok 547 /checksum/SHA1/175 1405s ok 548 /checksum/SHA1/176 1405s ok 549 /checksum/SHA1/177 1405s ok 550 /checksum/SHA1/178 1405s ok 551 /checksum/SHA1/179 1405s ok 552 /checksum/SHA1/180 1405s ok 553 /checksum/SHA1/181 1405s ok 554 /checksum/SHA1/182 1405s ok 555 /checksum/SHA1/183 1405s ok 556 /checksum/SHA1/string 1405s ok 557 /checksum/SHA1/bytes 1405s # Start of reset tests 1405s ok 558 /checksum/SHA1/reset/0 1405s ok 559 /checksum/SHA1/reset/1 1405s ok 560 /checksum/SHA1/reset/2 1405s ok 561 /checksum/SHA1/reset/3 1405s ok 562 /checksum/SHA1/reset/4 1405s ok 563 /checksum/SHA1/reset/5 1405s ok 564 /checksum/SHA1/reset/6 1405s ok 565 /checksum/SHA1/reset/7 1405s ok 566 /checksum/SHA1/reset/8 1405s ok 567 /checksum/SHA1/reset/9 1405s ok 568 /checksum/SHA1/reset/10 1405s ok 569 /checksum/SHA1/reset/11 1405s ok 570 /checksum/SHA1/reset/12 1405s ok 571 /checksum/SHA1/reset/13 1405s ok 572 /checksum/SHA1/reset/14 1405s ok 573 /checksum/SHA1/reset/15 1405s ok 574 /checksum/SHA1/reset/16 1405s ok 575 /checksum/SHA1/reset/17 1405s ok 576 /checksum/SHA1/reset/18 1405s ok 577 /checksum/SHA1/reset/19 1405s ok 578 /checksum/SHA1/reset/20 1405s ok 579 /checksum/SHA1/reset/21 1405s ok 580 /checksum/SHA1/reset/22 1405s ok 581 /checksum/SHA1/reset/23 1405s ok 582 /checksum/SHA1/reset/24 1405s ok 583 /checksum/SHA1/reset/25 1405s ok 584 /checksum/SHA1/reset/26 1405s ok 585 /checksum/SHA1/reset/27 1405s ok 586 /checksum/SHA1/reset/28 1405s ok 587 /checksum/SHA1/reset/29 1405s ok 588 /checksum/SHA1/reset/30 1405s ok 589 /checksum/SHA1/reset/31 1405s ok 590 /checksum/SHA1/reset/32 1405s ok 591 /checksum/SHA1/reset/33 1405s ok 592 /checksum/SHA1/reset/34 1405s ok 593 /checksum/SHA1/reset/35 1405s ok 594 /checksum/SHA1/reset/36 1405s ok 595 /checksum/SHA1/reset/37 1405s ok 596 /checksum/SHA1/reset/38 1405s ok 597 /checksum/SHA1/reset/39 1405s ok 598 /checksum/SHA1/reset/40 1405s ok 599 /checksum/SHA1/reset/41 1405s ok 600 /checksum/SHA1/reset/42 1405s ok 601 /checksum/SHA1/reset/43 1405s ok 602 /checksum/SHA1/reset/44 1405s ok 603 /checksum/SHA1/reset/45 1405s ok 604 /checksum/SHA1/reset/46 1405s ok 605 /checksum/SHA1/reset/47 1405s ok 606 /checksum/SHA1/reset/48 1405s ok 607 /checksum/SHA1/reset/49 1405s ok 608 /checksum/SHA1/reset/50 1405s ok 609 /checksum/SHA1/reset/51 1405s ok 610 /checksum/SHA1/reset/52 1405s ok 611 /checksum/SHA1/reset/53 1405s ok 612 /checksum/SHA1/reset/54 1405s ok 613 /checksum/SHA1/reset/55 1405s ok 614 /checksum/SHA1/reset/56 1405s ok 615 /checksum/SHA1/reset/57 1405s ok 616 /checksum/SHA1/reset/58 1405s ok 617 /checksum/SHA1/reset/59 1405s ok 618 /checksum/SHA1/reset/60 1405s ok 619 /checksum/SHA1/reset/61 1405s ok 620 /checksum/SHA1/reset/62 1405s ok 621 /checksum/SHA1/reset/63 1405s ok 622 /checksum/SHA1/reset/64 1405s ok 623 /checksum/SHA1/reset/65 1405s ok 624 /checksum/SHA1/reset/66 1405s ok 625 /checksum/SHA1/reset/67 1405s ok 626 /checksum/SHA1/reset/68 1405s ok 627 /checksum/SHA1/reset/69 1405s ok 628 /checksum/SHA1/reset/70 1405s ok 629 /checksum/SHA1/reset/71 1405s ok 630 /checksum/SHA1/reset/72 1405s ok 631 /checksum/SHA1/reset/73 1405s ok 632 /checksum/SHA1/reset/74 1405s ok 633 /checksum/SHA1/reset/75 1405s ok 634 /checksum/SHA1/reset/76 1405s ok 635 /checksum/SHA1/reset/77 1405s ok 636 /checksum/SHA1/reset/78 1405s ok 637 /checksum/SHA1/reset/79 1405s ok 638 /checksum/SHA1/reset/80 1405s ok 639 /checksum/SHA1/reset/81 1405s ok 640 /checksum/SHA1/reset/82 1405s ok 641 /checksum/SHA1/reset/83 1405s ok 642 /checksum/SHA1/reset/84 1405s ok 643 /checksum/SHA1/reset/85 1405s ok 644 /checksum/SHA1/reset/86 1405s ok 645 /checksum/SHA1/reset/87 1405s ok 646 /checksum/SHA1/reset/88 1405s ok 647 /checksum/SHA1/reset/89 1405s ok 648 /checksum/SHA1/reset/90 1405s ok 649 /checksum/SHA1/reset/91 1405s ok 650 /checksum/SHA1/reset/92 1405s ok 651 /checksum/SHA1/reset/93 1405s ok 652 /checksum/SHA1/reset/94 1405s ok 653 /checksum/SHA1/reset/95 1405s ok 654 /checksum/SHA1/reset/96 1405s ok 655 /checksum/SHA1/reset/97 1405s ok 656 /checksum/SHA1/reset/98 1405s ok 657 /checksum/SHA1/reset/99 1405s ok 658 /checksum/SHA1/reset/100 1405s ok 659 /checksum/SHA1/reset/101 1405s ok 660 /checksum/SHA1/reset/102 1405s ok 661 /checksum/SHA1/reset/103 1405s ok 662 /checksum/SHA1/reset/104 1405s ok 663 /checksum/SHA1/reset/105 1405s ok 664 /checksum/SHA1/reset/106 1405s ok 665 /checksum/SHA1/reset/107 1405s ok 666 /checksum/SHA1/reset/108 1405s ok 667 /checksum/SHA1/reset/109 1405s ok 668 /checksum/SHA1/reset/110 1405s ok 669 /checksum/SHA1/reset/111 1405s ok 670 /checksum/SHA1/reset/112 1405s ok 671 /checksum/SHA1/reset/113 1405s ok 672 /checksum/SHA1/reset/114 1405s ok 673 /checksum/SHA1/reset/115 1405s ok 674 /checksum/SHA1/reset/116 1405s ok 675 /checksum/SHA1/reset/117 1405s ok 676 /checksum/SHA1/reset/118 1405s ok 677 /checksum/SHA1/reset/119 1405s ok 678 /checksum/SHA1/reset/120 1405s ok 679 /checksum/SHA1/reset/121 1405s ok 680 /checksum/SHA1/reset/122 1405s ok 681 /checksum/SHA1/reset/123 1405s ok 682 /checksum/SHA1/reset/124 1405s ok 683 /checksum/SHA1/reset/125 1405s ok 684 /checksum/SHA1/reset/126 1405s ok 685 /checksum/SHA1/reset/127 1405s ok 686 /checksum/SHA1/reset/128 1405s ok 687 /checksum/SHA1/reset/129 1405s ok 688 /checksum/SHA1/reset/130 1405s ok 689 /checksum/SHA1/reset/131 1405s ok 690 /checksum/SHA1/reset/132 1405s ok 691 /checksum/SHA1/reset/133 1405s ok 692 /checksum/SHA1/reset/134 1405s ok 693 /checksum/SHA1/reset/135 1405s ok 694 /checksum/SHA1/reset/136 1405s ok 695 /checksum/SHA1/reset/137 1405s ok 696 /checksum/SHA1/reset/138 1405s ok 697 /checksum/SHA1/reset/139 1405s ok 698 /checksum/SHA1/reset/140 1405s ok 699 /checksum/SHA1/reset/141 1405s ok 700 /checksum/SHA1/reset/142 1405s ok 701 /checksum/SHA1/reset/143 1405s ok 702 /checksum/SHA1/reset/144 1405s ok 703 /checksum/SHA1/reset/145 1405s ok 704 /checksum/SHA1/reset/146 1405s ok 705 /checksum/SHA1/reset/147 1405s ok 706 /checksum/SHA1/reset/148 1405s ok 707 /checksum/SHA1/reset/149 1405s ok 708 /checksum/SHA1/reset/150 1405s ok 709 /checksum/SHA1/reset/151 1405s ok 710 /checksum/SHA1/reset/152 1405s ok 711 /checksum/SHA1/reset/153 1405s ok 712 /checksum/SHA1/reset/154 1405s ok 713 /checksum/SHA1/reset/155 1405s ok 714 /checksum/SHA1/reset/156 1405s ok 715 /checksum/SHA1/reset/157 1405s ok 716 /checksum/SHA1/reset/158 1405s ok 717 /checksum/SHA1/reset/159 1405s ok 718 /checksum/SHA1/reset/160 1405s ok 719 /checksum/SHA1/reset/161 1405s ok 720 /checksum/SHA1/reset/162 1405s ok 721 /checksum/SHA1/reset/163 1405s ok 722 /checksum/SHA1/reset/164 1405s ok 723 /checksum/SHA1/reset/165 1405s ok 724 /checksum/SHA1/reset/166 1405s ok 725 /checksum/SHA1/reset/167 1405s ok 726 /checksum/SHA1/reset/168 1405s ok 727 /checksum/SHA1/reset/169 1405s ok 728 /checksum/SHA1/reset/170 1405s ok 729 /checksum/SHA1/reset/171 1405s ok 730 /checksum/SHA1/reset/172 1405s ok 731 /checksum/SHA1/reset/173 1405s ok 732 /checksum/SHA1/reset/174 1405s ok 733 /checksum/SHA1/reset/175 1405s ok 734 /checksum/SHA1/reset/176 1405s ok 735 /checksum/SHA1/reset/177 1405s ok 736 /checksum/SHA1/reset/178 1405s ok 737 /checksum/SHA1/reset/179 1405s ok 738 /checksum/SHA1/reset/180 1405s ok 739 /checksum/SHA1/reset/181 1405s ok 740 /checksum/SHA1/reset/182 1405s ok 741 /checksum/SHA1/reset/183 1405s # End of reset tests 1405s # End of SHA1 tests 1405s # Start of SHA256 tests 1405s ok 742 /checksum/SHA256/0 1405s ok 743 /checksum/SHA256/1 1405s ok 744 /checksum/SHA256/2 1405s ok 745 /checksum/SHA256/3 1405s ok 746 /checksum/SHA256/4 1405s ok 747 /checksum/SHA256/5 1405s ok 748 /checksum/SHA256/6 1405s ok 749 /checksum/SHA256/7 1405s ok 750 /checksum/SHA256/8 1405s ok 751 /checksum/SHA256/9 1405s ok 752 /checksum/SHA256/10 1405s ok 753 /checksum/SHA256/11 1405s ok 754 /checksum/SHA256/12 1405s ok 755 /checksum/SHA256/13 1405s ok 756 /checksum/SHA256/14 1405s ok 757 /checksum/SHA256/15 1405s ok 758 /checksum/SHA256/16 1405s ok 759 /checksum/SHA256/17 1405s ok 760 /checksum/SHA256/18 1405s ok 761 /checksum/SHA256/19 1405s ok 762 /checksum/SHA256/20 1405s ok 763 /checksum/SHA256/21 1405s ok 764 /checksum/SHA256/22 1405s ok 765 /checksum/SHA256/23 1405s ok 766 /checksum/SHA256/24 1405s ok 767 /checksum/SHA256/25 1405s ok 768 /checksum/SHA256/26 1405s ok 769 /checksum/SHA256/27 1405s ok 770 /checksum/SHA256/28 1405s ok 771 /checksum/SHA256/29 1405s ok 772 /checksum/SHA256/30 1405s ok 773 /checksum/SHA256/31 1405s ok 774 /checksum/SHA256/32 1405s ok 775 /checksum/SHA256/33 1405s ok 776 /checksum/SHA256/34 1405s ok 777 /checksum/SHA256/35 1405s ok 778 /checksum/SHA256/36 1405s ok 779 /checksum/SHA256/37 1405s ok 780 /checksum/SHA256/38 1405s ok 781 /checksum/SHA256/39 1405s ok 782 /checksum/SHA256/40 1405s ok 783 /checksum/SHA256/41 1405s ok 784 /checksum/SHA256/42 1405s ok 785 /checksum/SHA256/43 1405s ok 786 /checksum/SHA256/44 1405s ok 787 /checksum/SHA256/45 1405s ok 788 /checksum/SHA256/46 1405s ok 789 /checksum/SHA256/47 1405s ok 790 /checksum/SHA256/48 1405s ok 791 /checksum/SHA256/49 1405s ok 792 /checksum/SHA256/50 1405s ok 793 /checksum/SHA256/51 1405s ok 794 /checksum/SHA256/52 1405s ok 795 /checksum/SHA256/53 1405s ok 796 /checksum/SHA256/54 1405s ok 797 /checksum/SHA256/55 1405s ok 798 /checksum/SHA256/56 1405s ok 799 /checksum/SHA256/57 1405s ok 800 /checksum/SHA256/58 1405s ok 801 /checksum/SHA256/59 1405s ok 802 /checksum/SHA256/60 1405s ok 803 /checksum/SHA256/61 1405s ok 804 /checksum/SHA256/62 1405s ok 805 /checksum/SHA256/63 1405s ok 806 /checksum/SHA256/64 1405s ok 807 /checksum/SHA256/65 1405s ok 808 /checksum/SHA256/66 1405s ok 809 /checksum/SHA256/67 1405s ok 810 /checksum/SHA256/68 1405s ok 811 /checksum/SHA256/69 1405s ok 812 /checksum/SHA256/70 1405s ok 813 /checksum/SHA256/71 1405s ok 814 /checksum/SHA256/72 1405s ok 815 /checksum/SHA256/73 1405s ok 816 /checksum/SHA256/74 1405s ok 817 /checksum/SHA256/75 1405s ok 818 /checksum/SHA256/76 1405s ok 819 /checksum/SHA256/77 1405s ok 820 /checksum/SHA256/78 1405s ok 821 /checksum/SHA256/79 1405s ok 822 /checksum/SHA256/80 1405s ok 823 /checksum/SHA256/81 1405s ok 824 /checksum/SHA256/82 1405s ok 825 /checksum/SHA256/83 1405s ok 826 /checksum/SHA256/84 1405s ok 827 /checksum/SHA256/85 1405s ok 828 /checksum/SHA256/86 1405s ok 829 /checksum/SHA256/87 1405s ok 830 /checksum/SHA256/88 1405s ok 831 /checksum/SHA256/89 1405s ok 832 /checksum/SHA256/90 1405s ok 833 /checksum/SHA256/91 1405s ok 834 /checksum/SHA256/92 1405s ok 835 /checksum/SHA256/93 1405s ok 836 /checksum/SHA256/94 1405s ok 837 /checksum/SHA256/95 1405s ok 838 /checksum/SHA256/96 1405s ok 839 /checksum/SHA256/97 1405s ok 840 /checksum/SHA256/98 1405s ok 841 /checksum/SHA256/99 1405s ok 842 /checksum/SHA256/100 1405s ok 843 /checksum/SHA256/101 1405s ok 844 /checksum/SHA256/102 1405s ok 845 /checksum/SHA256/103 1405s ok 846 /checksum/SHA256/104 1405s ok 847 /checksum/SHA256/105 1405s ok 848 /checksum/SHA256/106 1405s ok 849 /checksum/SHA256/107 1405s ok 850 /checksum/SHA256/108 1405s ok 851 /checksum/SHA256/109 1405s ok 852 /checksum/SHA256/110 1405s ok 853 /checksum/SHA256/111 1405s ok 854 /checksum/SHA256/112 1405s ok 855 /checksum/SHA256/113 1405s ok 856 /checksum/SHA256/114 1405s ok 857 /checksum/SHA256/115 1405s ok 858 /checksum/SHA256/116 1405s ok 859 /checksum/SHA256/117 1405s ok 860 /checksum/SHA256/118 1405s ok 861 /checksum/SHA256/119 1405s ok 862 /checksum/SHA256/120 1405s ok 863 /checksum/SHA256/121 1405s ok 864 /checksum/SHA256/122 1405s ok 865 /checksum/SHA256/123 1405s ok 866 /checksum/SHA256/124 1405s ok 867 /checksum/SHA256/125 1405s ok 868 /checksum/SHA256/126 1405s ok 869 /checksum/SHA256/127 1405s ok 870 /checksum/SHA256/128 1405s ok 871 /checksum/SHA256/129 1405s ok 872 /checksum/SHA256/130 1405s ok 873 /checksum/SHA256/131 1405s ok 874 /checksum/SHA256/132 1405s ok 875 /checksum/SHA256/133 1405s ok 876 /checksum/SHA256/134 1405s ok 877 /checksum/SHA256/135 1405s ok 878 /checksum/SHA256/136 1405s ok 879 /checksum/SHA256/137 1405s ok 880 /checksum/SHA256/138 1405s ok 881 /checksum/SHA256/139 1405s ok 882 /checksum/SHA256/140 1405s ok 883 /checksum/SHA256/141 1405s ok 884 /checksum/SHA256/142 1405s ok 885 /checksum/SHA256/143 1405s ok 886 /checksum/SHA256/144 1405s ok 887 /checksum/SHA256/145 1405s ok 888 /checksum/SHA256/146 1405s ok 889 /checksum/SHA256/147 1405s ok 890 /checksum/SHA256/148 1405s ok 891 /checksum/SHA256/149 1405s ok 892 /checksum/SHA256/150 1405s ok 893 /checksum/SHA256/151 1405s ok 894 /checksum/SHA256/152 1405s ok 895 /checksum/SHA256/153 1405s ok 896 /checksum/SHA256/154 1405s ok 897 /checksum/SHA256/155 1405s ok 898 /checksum/SHA256/156 1405s ok 899 /checksum/SHA256/157 1405s ok 900 /checksum/SHA256/158 1405s ok 901 /checksum/SHA256/159 1405s ok 902 /checksum/SHA256/160 1405s ok 903 /checksum/SHA256/161 1405s ok 904 /checksum/SHA256/162 1405s ok 905 /checksum/SHA256/163 1405s ok 906 /checksum/SHA256/164 1405s ok 907 /checksum/SHA256/165 1405s ok 908 /checksum/SHA256/166 1405s ok 909 /checksum/SHA256/167 1405s ok 910 /checksum/SHA256/168 1405s ok 911 /checksum/SHA256/169 1405s ok 912 /checksum/SHA256/170 1405s ok 913 /checksum/SHA256/171 1405s ok 914 /checksum/SHA256/172 1405s ok 915 /checksum/SHA256/173 1405s ok 916 /checksum/SHA256/174 1405s ok 917 /checksum/SHA256/175 1405s ok 918 /checksum/SHA256/176 1405s ok 919 /checksum/SHA256/177 1405s ok 920 /checksum/SHA256/178 1405s ok 921 /checksum/SHA256/179 1405s ok 922 /checksum/SHA256/180 1405s ok 923 /checksum/SHA256/181 1405s ok 924 /checksum/SHA256/182 1405s ok 925 /checksum/SHA256/183 1405s ok 926 /checksum/SHA256/string 1405s ok 927 /checksum/SHA256/bytes 1405s # Start of reset tests 1405s ok 928 /checksum/SHA256/reset/0 1405s ok 929 /checksum/SHA256/reset/1 1405s ok 930 /checksum/SHA256/reset/2 1405s ok 931 /checksum/SHA256/reset/3 1405s ok 932 /checksum/SHA256/reset/4 1405s ok 933 /checksum/SHA256/reset/5 1405s ok 934 /checksum/SHA256/reset/6 1405s ok 935 /checksum/SHA256/reset/7 1405s ok 936 /checksum/SHA256/reset/8 1405s ok 937 /checksum/SHA256/reset/9 1405s ok 938 /checksum/SHA256/reset/10 1405s ok 939 /checksum/SHA256/reset/11 1405s ok 940 /checksum/SHA256/reset/12 1405s ok 941 /checksum/SHA256/reset/13 1405s ok 942 /checksum/SHA256/reset/14 1405s ok 943 /checksum/SHA256/reset/15 1405s ok 944 /checksum/SHA256/reset/16 1405s ok 945 /checksum/SHA256/reset/17 1405s ok 946 /checksum/SHA256/reset/18 1405s ok 947 /checksum/SHA256/reset/19 1405s ok 948 /checksum/SHA256/reset/20 1405s ok 949 /checksum/SHA256/reset/21 1405s ok 950 /checksum/SHA256/reset/22 1405s ok 951 /checksum/SHA256/reset/23 1405s ok 952 /checksum/SHA256/reset/24 1405s ok 953 /checksum/SHA256/reset/25 1405s ok 954 /checksum/SHA256/reset/26 1405s ok 955 /checksum/SHA256/reset/27 1405s ok 956 /checksum/SHA256/reset/28 1405s ok 957 /checksum/SHA256/reset/29 1405s ok 958 /checksum/SHA256/reset/30 1405s ok 959 /checksum/SHA256/reset/31 1405s ok 960 /checksum/SHA256/reset/32 1405s ok 961 /checksum/SHA256/reset/33 1405s ok 962 /checksum/SHA256/reset/34 1405s ok 963 /checksum/SHA256/reset/35 1405s ok 964 /checksum/SHA256/reset/36 1405s ok 965 /checksum/SHA256/reset/37 1405s ok 966 /checksum/SHA256/reset/38 1405s ok 967 /checksum/SHA256/reset/39 1405s ok 968 /checksum/SHA256/reset/40 1405s ok 969 /checksum/SHA256/reset/41 1405s ok 970 /checksum/SHA256/reset/42 1405s ok 971 /checksum/SHA256/reset/43 1405s ok 972 /checksum/SHA256/reset/44 1405s ok 973 /checksum/SHA256/reset/45 1405s ok 974 /checksum/SHA256/reset/46 1405s ok 975 /checksum/SHA256/reset/47 1405s ok 976 /checksum/SHA256/reset/48 1405s ok 977 /checksum/SHA256/reset/49 1405s ok 978 /checksum/SHA256/reset/50 1405s ok 979 /checksum/SHA256/reset/51 1405s ok 980 /checksum/SHA256/reset/52 1405s ok 981 /checksum/SHA256/reset/53 1405s ok 982 /checksum/SHA256/reset/54 1405s ok 983 /checksum/SHA256/reset/55 1405s ok 984 /checksum/SHA256/reset/56 1405s ok 985 /checksum/SHA256/reset/57 1405s ok 986 /checksum/SHA256/reset/58 1405s ok 987 /checksum/SHA256/reset/59 1405s ok 988 /checksum/SHA256/reset/60 1405s ok 989 /checksum/SHA256/reset/61 1405s ok 990 /checksum/SHA256/reset/62 1405s ok 991 /checksum/SHA256/reset/63 1405s ok 992 /checksum/SHA256/reset/64 1405s ok 993 /checksum/SHA256/reset/65 1405s ok 994 /checksum/SHA256/reset/66 1405s ok 995 /checksum/SHA256/reset/67 1405s ok 996 /checksum/SHA256/reset/68 1405s ok 997 /checksum/SHA256/reset/69 1405s ok 998 /checksum/SHA256/reset/70 1405s ok 999 /checksum/SHA256/reset/71 1405s ok 1000 /checksum/SHA256/reset/72 1405s ok 1001 /checksum/SHA256/reset/73 1405s ok 1002 /checksum/SHA256/reset/74 1405s ok 1003 /checksum/SHA256/reset/75 1405s ok 1004 /checksum/SHA256/reset/76 1405s ok 1005 /checksum/SHA256/reset/77 1405s ok 1006 /checksum/SHA256/reset/78 1405s ok 1007 /checksum/SHA256/reset/79 1405s ok 1008 /checksum/SHA256/reset/80 1405s ok 1009 /checksum/SHA256/reset/81 1405s ok 1010 /checksum/SHA256/reset/82 1405s ok 1011 /checksum/SHA256/reset/83 1405s ok 1012 /checksum/SHA256/reset/84 1405s ok 1013 /checksum/SHA256/reset/85 1405s ok 1014 /checksum/SHA256/reset/86 1405s ok 1015 /checksum/SHA256/reset/87 1405s ok 1016 /checksum/SHA256/reset/88 1405s ok 1017 /checksum/SHA256/reset/89 1405s ok 1018 /checksum/SHA256/reset/90 1405s ok 1019 /checksum/SHA256/reset/91 1405s ok 1020 /checksum/SHA256/reset/92 1405s ok 1021 /checksum/SHA256/reset/93 1405s ok 1022 /checksum/SHA256/reset/94 1405s ok 1023 /checksum/SHA256/reset/95 1405s ok 1024 /checksum/SHA256/reset/96 1405s ok 1025 /checksum/SHA256/reset/97 1405s ok 1026 /checksum/SHA256/reset/98 1405s ok 1027 /checksum/SHA256/reset/99 1405s ok 1028 /checksum/SHA256/reset/100 1405s ok 1029 /checksum/SHA256/reset/101 1405s ok 1030 /checksum/SHA256/reset/102 1405s ok 1031 /checksum/SHA256/reset/103 1405s ok 1032 /checksum/SHA256/reset/104 1405s ok 1033 /checksum/SHA256/reset/105 1405s ok 1034 /checksum/SHA256/reset/106 1405s ok 1035 /checksum/SHA256/reset/107 1405s ok 1036 /checksum/SHA256/reset/108 1405s ok 1037 /checksum/SHA256/reset/109 1405s ok 1038 /checksum/SHA256/reset/110 1405s ok 1039 /checksum/SHA256/reset/111 1405s ok 1040 /checksum/SHA256/reset/112 1405s ok 1041 /checksum/SHA256/reset/113 1405s ok 1042 /checksum/SHA256/reset/114 1405s ok 1043 /checksum/SHA256/reset/115 1405s ok 1044 /checksum/SHA256/reset/116 1405s ok 1045 /checksum/SHA256/reset/117 1405s ok 1046 /checksum/SHA256/reset/118 1405s ok 1047 /checksum/SHA256/reset/119 1405s ok 1048 /checksum/SHA256/reset/120 1405s ok 1049 /checksum/SHA256/reset/121 1405s ok 1050 /checksum/SHA256/reset/122 1405s ok 1051 /checksum/SHA256/reset/123 1405s ok 1052 /checksum/SHA256/reset/124 1405s ok 1053 /checksum/SHA256/reset/125 1405s ok 1054 /checksum/SHA256/reset/126 1405s ok 1055 /checksum/SHA256/reset/127 1405s ok 1056 /checksum/SHA256/reset/128 1405s ok 1057 /checksum/SHA256/reset/129 1405s ok 1058 /checksum/SHA256/reset/130 1405s ok 1059 /checksum/SHA256/reset/131 1405s ok 1060 /checksum/SHA256/reset/132 1405s ok 1061 /checksum/SHA256/reset/133 1405s ok 1062 /checksum/SHA256/reset/134 1405s ok 1063 /checksum/SHA256/reset/135 1405s ok 1064 /checksum/SHA256/reset/136 1405s ok 1065 /checksum/SHA256/reset/137 1405s ok 1066 /checksum/SHA256/reset/138 1405s ok 1067 /checksum/SHA256/reset/139 1405s ok 1068 /checksum/SHA256/reset/140 1405s ok 1069 /checksum/SHA256/reset/141 1405s ok 1070 /checksum/SHA256/reset/142 1405s ok 1071 /checksum/SHA256/reset/143 1405s ok 1072 /checksum/SHA256/reset/144 1405s ok 1073 /checksum/SHA256/reset/145 1405s ok 1074 /checksum/SHA256/reset/146 1405s ok 1075 /checksum/SHA256/reset/147 1405s ok 1076 /checksum/SHA256/reset/148 1406s ok 1077 /checksum/SHA256/reset/149 1406s ok 1078 /checksum/SHA256/reset/150 1406s ok 1079 /checksum/SHA256/reset/151 1406s ok 1080 /checksum/SHA256/reset/152 1406s ok 1081 /checksum/SHA256/reset/153 1406s ok 1082 /checksum/SHA256/reset/154 1406s ok 1083 /checksum/SHA256/reset/155 1406s ok 1084 /checksum/SHA256/reset/156 1406s ok 1085 /checksum/SHA256/reset/157 1406s ok 1086 /checksum/SHA256/reset/158 1406s ok 1087 /checksum/SHA256/reset/159 1406s ok 1088 /checksum/SHA256/reset/160 1406s ok 1089 /checksum/SHA256/reset/161 1406s ok 1090 /checksum/SHA256/reset/162 1406s ok 1091 /checksum/SHA256/reset/163 1406s ok 1092 /checksum/SHA256/reset/164 1406s ok 1093 /checksum/SHA256/reset/165 1406s ok 1094 /checksum/SHA256/reset/166 1406s ok 1095 /checksum/SHA256/reset/167 1406s ok 1096 /checksum/SHA256/reset/168 1406s ok 1097 /checksum/SHA256/reset/169 1406s ok 1098 /checksum/SHA256/reset/170 1406s ok 1099 /checksum/SHA256/reset/171 1406s ok 1100 /checksum/SHA256/reset/172 1406s ok 1101 /checksum/SHA256/reset/173 1406s ok 1102 /checksum/SHA256/reset/174 1406s ok 1103 /checksum/SHA256/reset/175 1406s ok 1104 /checksum/SHA256/reset/176 1406s ok 1105 /checksum/SHA256/reset/177 1406s ok 1106 /checksum/SHA256/reset/178 1406s ok 1107 /checksum/SHA256/reset/179 1406s ok 1108 /checksum/SHA256/reset/180 1406s ok 1109 /checksum/SHA256/reset/181 1406s ok 1110 /checksum/SHA256/reset/182 1406s ok 1111 /checksum/SHA256/reset/183 1406s # End of reset tests 1406s # End of SHA256 tests 1406s # Start of SHA384 tests 1406s ok 1112 /checksum/SHA384/0 1406s ok 1113 /checksum/SHA384/1 1406s ok 1114 /checksum/SHA384/2 1406s ok 1115 /checksum/SHA384/3 1406s ok 1116 /checksum/SHA384/4 1406s ok 1117 /checksum/SHA384/5 1406s ok 1118 /checksum/SHA384/6 1406s ok 1119 /checksum/SHA384/7 1406s ok 1120 /checksum/SHA384/8 1406s ok 1121 /checksum/SHA384/9 1406s ok 1122 /checksum/SHA384/10 1406s ok 1123 /checksum/SHA384/11 1406s ok 1124 /checksum/SHA384/12 1406s ok 1125 /checksum/SHA384/13 1406s ok 1126 /checksum/SHA384/14 1406s ok 1127 /checksum/SHA384/15 1406s ok 1128 /checksum/SHA384/16 1406s ok 1129 /checksum/SHA384/17 1406s ok 1130 /checksum/SHA384/18 1406s ok 1131 /checksum/SHA384/19 1406s ok 1132 /checksum/SHA384/20 1406s ok 1133 /checksum/SHA384/21 1406s ok 1134 /checksum/SHA384/22 1406s ok 1135 /checksum/SHA384/23 1406s ok 1136 /checksum/SHA384/24 1406s ok 1137 /checksum/SHA384/25 1406s ok 1138 /checksum/SHA384/26 1406s ok 1139 /checksum/SHA384/27 1406s ok 1140 /checksum/SHA384/28 1406s ok 1141 /checksum/SHA384/29 1406s ok 1142 /checksum/SHA384/30 1406s ok 1143 /checksum/SHA384/31 1406s ok 1144 /checksum/SHA384/32 1406s ok 1145 /checksum/SHA384/33 1406s ok 1146 /checksum/SHA384/34 1406s ok 1147 /checksum/SHA384/35 1406s ok 1148 /checksum/SHA384/36 1406s ok 1149 /checksum/SHA384/37 1406s ok 1150 /checksum/SHA384/38 1406s ok 1151 /checksum/SHA384/39 1406s ok 1152 /checksum/SHA384/40 1406s ok 1153 /checksum/SHA384/41 1406s ok 1154 /checksum/SHA384/42 1406s ok 1155 /checksum/SHA384/43 1406s ok 1156 /checksum/SHA384/44 1406s ok 1157 /checksum/SHA384/45 1406s ok 1158 /checksum/SHA384/46 1406s ok 1159 /checksum/SHA384/47 1406s ok 1160 /checksum/SHA384/48 1406s ok 1161 /checksum/SHA384/49 1406s ok 1162 /checksum/SHA384/50 1406s ok 1163 /checksum/SHA384/51 1406s ok 1164 /checksum/SHA384/52 1406s ok 1165 /checksum/SHA384/53 1406s ok 1166 /checksum/SHA384/54 1406s ok 1167 /checksum/SHA384/55 1406s ok 1168 /checksum/SHA384/56 1406s ok 1169 /checksum/SHA384/57 1406s ok 1170 /checksum/SHA384/58 1406s ok 1171 /checksum/SHA384/59 1406s ok 1172 /checksum/SHA384/60 1406s ok 1173 /checksum/SHA384/61 1406s ok 1174 /checksum/SHA384/62 1406s ok 1175 /checksum/SHA384/63 1406s ok 1176 /checksum/SHA384/64 1406s ok 1177 /checksum/SHA384/65 1406s ok 1178 /checksum/SHA384/66 1406s ok 1179 /checksum/SHA384/67 1406s ok 1180 /checksum/SHA384/68 1406s ok 1181 /checksum/SHA384/69 1406s ok 1182 /checksum/SHA384/70 1406s ok 1183 /checksum/SHA384/71 1406s ok 1184 /checksum/SHA384/72 1406s ok 1185 /checksum/SHA384/73 1406s ok 1186 /checksum/SHA384/74 1406s ok 1187 /checksum/SHA384/75 1406s ok 1188 /checksum/SHA384/76 1406s ok 1189 /checksum/SHA384/77 1406s ok 1190 /checksum/SHA384/78 1406s ok 1191 /checksum/SHA384/79 1406s ok 1192 /checksum/SHA384/80 1406s ok 1193 /checksum/SHA384/81 1406s ok 1194 /checksum/SHA384/82 1406s ok 1195 /checksum/SHA384/83 1406s ok 1196 /checksum/SHA384/84 1406s ok 1197 /checksum/SHA384/85 1406s ok 1198 /checksum/SHA384/86 1406s ok 1199 /checksum/SHA384/87 1406s ok 1200 /checksum/SHA384/88 1406s ok 1201 /checksum/SHA384/89 1406s ok 1202 /checksum/SHA384/90 1406s ok 1203 /checksum/SHA384/91 1406s ok 1204 /checksum/SHA384/92 1406s ok 1205 /checksum/SHA384/93 1406s ok 1206 /checksum/SHA384/94 1406s ok 1207 /checksum/SHA384/95 1406s ok 1208 /checksum/SHA384/96 1406s ok 1209 /checksum/SHA384/97 1406s ok 1210 /checksum/SHA384/98 1406s ok 1211 /checksum/SHA384/99 1406s ok 1212 /checksum/SHA384/100 1406s ok 1213 /checksum/SHA384/101 1406s ok 1214 /checksum/SHA384/102 1406s ok 1215 /checksum/SHA384/103 1406s ok 1216 /checksum/SHA384/104 1406s ok 1217 /checksum/SHA384/105 1406s ok 1218 /checksum/SHA384/106 1406s ok 1219 /checksum/SHA384/107 1406s ok 1220 /checksum/SHA384/108 1406s ok 1221 /checksum/SHA384/109 1406s ok 1222 /checksum/SHA384/110 1406s ok 1223 /checksum/SHA384/111 1406s ok 1224 /checksum/SHA384/112 1406s ok 1225 /checksum/SHA384/113 1406s ok 1226 /checksum/SHA384/114 1406s ok 1227 /checksum/SHA384/115 1406s ok 1228 /checksum/SHA384/116 1406s ok 1229 /checksum/SHA384/117 1406s ok 1230 /checksum/SHA384/118 1406s ok 1231 /checksum/SHA384/119 1406s ok 1232 /checksum/SHA384/120 1406s ok 1233 /checksum/SHA384/121 1406s ok 1234 /checksum/SHA384/122 1406s ok 1235 /checksum/SHA384/123 1406s ok 1236 /checksum/SHA384/124 1406s ok 1237 /checksum/SHA384/125 1406s ok 1238 /checksum/SHA384/126 1406s ok 1239 /checksum/SHA384/127 1406s ok 1240 /checksum/SHA384/128 1406s ok 1241 /checksum/SHA384/129 1406s ok 1242 /checksum/SHA384/130 1406s ok 1243 /checksum/SHA384/131 1406s ok 1244 /checksum/SHA384/132 1406s ok 1245 /checksum/SHA384/133 1406s ok 1246 /checksum/SHA384/134 1406s ok 1247 /checksum/SHA384/135 1406s ok 1248 /checksum/SHA384/136 1406s ok 1249 /checksum/SHA384/137 1406s ok 1250 /checksum/SHA384/138 1406s ok 1251 /checksum/SHA384/139 1406s ok 1252 /checksum/SHA384/140 1406s ok 1253 /checksum/SHA384/141 1406s ok 1254 /checksum/SHA384/142 1406s ok 1255 /checksum/SHA384/143 1406s ok 1256 /checksum/SHA384/144 1406s ok 1257 /checksum/SHA384/145 1406s ok 1258 /checksum/SHA384/146 1406s ok 1259 /checksum/SHA384/147 1406s ok 1260 /checksum/SHA384/148 1406s ok 1261 /checksum/SHA384/149 1406s ok 1262 /checksum/SHA384/150 1406s ok 1263 /checksum/SHA384/151 1406s ok 1264 /checksum/SHA384/152 1406s ok 1265 /checksum/SHA384/153 1406s ok 1266 /checksum/SHA384/154 1406s ok 1267 /checksum/SHA384/155 1406s ok 1268 /checksum/SHA384/156 1406s ok 1269 /checksum/SHA384/157 1406s ok 1270 /checksum/SHA384/158 1406s ok 1271 /checksum/SHA384/159 1406s ok 1272 /checksum/SHA384/160 1406s ok 1273 /checksum/SHA384/161 1406s ok 1274 /checksum/SHA384/162 1406s ok 1275 /checksum/SHA384/163 1406s ok 1276 /checksum/SHA384/164 1406s ok 1277 /checksum/SHA384/165 1406s ok 1278 /checksum/SHA384/166 1406s ok 1279 /checksum/SHA384/167 1406s ok 1280 /checksum/SHA384/168 1406s ok 1281 /checksum/SHA384/169 1406s ok 1282 /checksum/SHA384/170 1406s ok 1283 /checksum/SHA384/171 1406s ok 1284 /checksum/SHA384/172 1406s ok 1285 /checksum/SHA384/173 1406s ok 1286 /checksum/SHA384/174 1406s ok 1287 /checksum/SHA384/175 1406s ok 1288 /checksum/SHA384/176 1406s ok 1289 /checksum/SHA384/177 1406s ok 1290 /checksum/SHA384/178 1406s ok 1291 /checksum/SHA384/179 1406s ok 1292 /checksum/SHA384/180 1406s ok 1293 /checksum/SHA384/181 1406s ok 1294 /checksum/SHA384/182 1406s ok 1295 /checksum/SHA384/183 1406s ok 1296 /checksum/SHA384/string 1406s ok 1297 /checksum/SHA384/bytes 1406s # Start of reset tests 1406s ok 1298 /checksum/SHA384/reset/0 1406s ok 1299 /checksum/SHA384/reset/1 1406s ok 1300 /checksum/SHA384/reset/2 1406s ok 1301 /checksum/SHA384/reset/3 1406s ok 1302 /checksum/SHA384/reset/4 1406s ok 1303 /checksum/SHA384/reset/5 1406s ok 1304 /checksum/SHA384/reset/6 1406s ok 1305 /checksum/SHA384/reset/7 1406s ok 1306 /checksum/SHA384/reset/8 1406s ok 1307 /checksum/SHA384/reset/9 1406s ok 1308 /checksum/SHA384/reset/10 1406s ok 1309 /checksum/SHA384/reset/11 1406s ok 1310 /checksum/SHA384/reset/12 1406s ok 1311 /checksum/SHA384/reset/13 1406s ok 1312 /checksum/SHA384/reset/14 1406s ok 1313 /checksum/SHA384/reset/15 1406s ok 1314 /checksum/SHA384/reset/16 1406s ok 1315 /checksum/SHA384/reset/17 1406s ok 1316 /checksum/SHA384/reset/18 1406s ok 1317 /checksum/SHA384/reset/19 1406s ok 1318 /checksum/SHA384/reset/20 1406s ok 1319 /checksum/SHA384/reset/21 1406s ok 1320 /checksum/SHA384/reset/22 1406s ok 1321 /checksum/SHA384/reset/23 1406s ok 1322 /checksum/SHA384/reset/24 1406s ok 1323 /checksum/SHA384/reset/25 1406s ok 1324 /checksum/SHA384/reset/26 1406s ok 1325 /checksum/SHA384/reset/27 1406s ok 1326 /checksum/SHA384/reset/28 1406s ok 1327 /checksum/SHA384/reset/29 1406s ok 1328 /checksum/SHA384/reset/30 1406s ok 1329 /checksum/SHA384/reset/31 1406s ok 1330 /checksum/SHA384/reset/32 1406s ok 1331 /checksum/SHA384/reset/33 1406s ok 1332 /checksum/SHA384/reset/34 1406s ok 1333 /checksum/SHA384/reset/35 1406s ok 1334 /checksum/SHA384/reset/36 1406s ok 1335 /checksum/SHA384/reset/37 1406s ok 1336 /checksum/SHA384/reset/38 1406s ok 1337 /checksum/SHA384/reset/39 1406s ok 1338 /checksum/SHA384/reset/40 1406s ok 1339 /checksum/SHA384/reset/41 1406s ok 1340 /checksum/SHA384/reset/42 1406s ok 1341 /checksum/SHA384/reset/43 1406s ok 1342 /checksum/SHA384/reset/44 1406s ok 1343 /checksum/SHA384/reset/45 1406s ok 1344 /checksum/SHA384/reset/46 1406s ok 1345 /checksum/SHA384/reset/47 1406s ok 1346 /checksum/SHA384/reset/48 1406s ok 1347 /checksum/SHA384/reset/49 1406s ok 1348 /checksum/SHA384/reset/50 1406s ok 1349 /checksum/SHA384/reset/51 1406s ok 1350 /checksum/SHA384/reset/52 1406s ok 1351 /checksum/SHA384/reset/53 1406s ok 1352 /checksum/SHA384/reset/54 1406s ok 1353 /checksum/SHA384/reset/55 1406s ok 1354 /checksum/SHA384/reset/56 1406s ok 1355 /checksum/SHA384/reset/57 1406s ok 1356 /checksum/SHA384/reset/58 1406s ok 1357 /checksum/SHA384/reset/59 1406s ok 1358 /checksum/SHA384/reset/60 1406s ok 1359 /checksum/SHA384/reset/61 1406s ok 1360 /checksum/SHA384/reset/62 1406s ok 1361 /checksum/SHA384/reset/63 1406s ok 1362 /checksum/SHA384/reset/64 1406s ok 1363 /checksum/SHA384/reset/65 1406s ok 1364 /checksum/SHA384/reset/66 1406s ok 1365 /checksum/SHA384/reset/67 1406s ok 1366 /checksum/SHA384/reset/68 1406s ok 1367 /checksum/SHA384/reset/69 1406s ok 1368 /checksum/SHA384/reset/70 1406s ok 1369 /checksum/SHA384/reset/71 1406s ok 1370 /checksum/SHA384/reset/72 1406s ok 1371 /checksum/SHA384/reset/73 1406s ok 1372 /checksum/SHA384/reset/74 1406s ok 1373 /checksum/SHA384/reset/75 1406s ok 1374 /checksum/SHA384/reset/76 1406s ok 1375 /checksum/SHA384/reset/77 1406s ok 1376 /checksum/SHA384/reset/78 1406s ok 1377 /checksum/SHA384/reset/79 1406s ok 1378 /checksum/SHA384/reset/80 1406s ok 1379 /checksum/SHA384/reset/81 1406s ok 1380 /checksum/SHA384/reset/82 1406s ok 1381 /checksum/SHA384/reset/83 1406s ok 1382 /checksum/SHA384/reset/84 1406s ok 1383 /checksum/SHA384/reset/85 1406s ok 1384 /checksum/SHA384/reset/86 1406s ok 1385 /checksum/SHA384/reset/87 1406s ok 1386 /checksum/SHA384/reset/88 1406s ok 1387 /checksum/SHA384/reset/89 1406s ok 1388 /checksum/SHA384/reset/90 1406s ok 1389 /checksum/SHA384/reset/91 1406s ok 1390 /checksum/SHA384/reset/92 1406s ok 1391 /checksum/SHA384/reset/93 1406s ok 1392 /checksum/SHA384/reset/94 1406s ok 1393 /checksum/SHA384/reset/95 1406s ok 1394 /checksum/SHA384/reset/96 1406s ok 1395 /checksum/SHA384/reset/97 1406s ok 1396 /checksum/SHA384/reset/98 1406s ok 1397 /checksum/SHA384/reset/99 1406s ok 1398 /checksum/SHA384/reset/100 1406s ok 1399 /checksum/SHA384/reset/101 1406s ok 1400 /checksum/SHA384/reset/102 1406s ok 1401 /checksum/SHA384/reset/103 1406s ok 1402 /checksum/SHA384/reset/104 1406s ok 1403 /checksum/SHA384/reset/105 1406s ok 1404 /checksum/SHA384/reset/106 1406s ok 1405 /checksum/SHA384/reset/107 1406s ok 1406 /checksum/SHA384/reset/108 1406s ok 1407 /checksum/SHA384/reset/109 1406s ok 1408 /checksum/SHA384/reset/110 1406s ok 1409 /checksum/SHA384/reset/111 1406s ok 1410 /checksum/SHA384/reset/112 1406s ok 1411 /checksum/SHA384/reset/113 1406s ok 1412 /checksum/SHA384/reset/114 1406s ok 1413 /checksum/SHA384/reset/115 1406s ok 1414 /checksum/SHA384/reset/116 1406s ok 1415 /checksum/SHA384/reset/117 1406s ok 1416 /checksum/SHA384/reset/118 1406s ok 1417 /checksum/SHA384/reset/119 1406s ok 1418 /checksum/SHA384/reset/120 1406s ok 1419 /checksum/SHA384/reset/121 1406s ok 1420 /checksum/SHA384/reset/122 1406s ok 1421 /checksum/SHA384/reset/123 1406s ok 1422 /checksum/SHA384/reset/124 1406s ok 1423 /checksum/SHA384/reset/125 1406s ok 1424 /checksum/SHA384/reset/126 1406s ok 1425 /checksum/SHA384/reset/127 1406s ok 1426 /checksum/SHA384/reset/128 1406s ok 1427 /checksum/SHA384/reset/129 1406s ok 1428 /checksum/SHA384/reset/130 1406s ok 1429 /checksum/SHA384/reset/131 1406s ok 1430 /checksum/SHA384/reset/132 1406s ok 1431 /checksum/SHA384/reset/133 1406s ok 1432 /checksum/SHA384/reset/134 1406s ok 1433 /checksum/SHA384/reset/135 1406s ok 1434 /checksum/SHA384/reset/136 1406s ok 1435 /checksum/SHA384/reset/137 1406s ok 1436 /checksum/SHA384/reset/138 1406s ok 1437 /checksum/SHA384/reset/139 1406s ok 1438 /checksum/SHA384/reset/140 1406s ok 1439 /checksum/SHA384/reset/141 1406s ok 1440 /checksum/SHA384/reset/142 1406s ok 1441 /checksum/SHA384/reset/143 1406s ok 1442 /checksum/SHA384/reset/144 1406s ok 1443 /checksum/SHA384/reset/145 1406s ok 1444 /checksum/SHA384/reset/146 1406s ok 1445 /checksum/SHA384/reset/147 1406s ok 1446 /checksum/SHA384/reset/148 1406s ok 1447 /checksum/SHA384/reset/149 1406s ok 1448 /checksum/SHA384/reset/150 1406s ok 1449 /checksum/SHA384/reset/151 1406s ok 1450 /checksum/SHA384/reset/152 1406s ok 1451 /checksum/SHA384/reset/153 1406s ok 1452 /checksum/SHA384/reset/154 1406s ok 1453 /checksum/SHA384/reset/155 1406s ok 1454 /checksum/SHA384/reset/156 1406s ok 1455 /checksum/SHA384/reset/157 1406s ok 1456 /checksum/SHA384/reset/158 1406s ok 1457 /checksum/SHA384/reset/159 1406s ok 1458 /checksum/SHA384/reset/160 1406s ok 1459 /checksum/SHA384/reset/161 1406s ok 1460 /checksum/SHA384/reset/162 1406s ok 1461 /checksum/SHA384/reset/163 1406s ok 1462 /checksum/SHA384/reset/164 1406s ok 1463 /checksum/SHA384/reset/165 1406s ok 1464 /checksum/SHA384/reset/166 1406s ok 1465 /checksum/SHA384/reset/167 1406s ok 1466 /checksum/SHA384/reset/168 1406s ok 1467 /checksum/SHA384/reset/169 1406s ok 1468 /checksum/SHA384/reset/170 1406s ok 1469 /checksum/SHA384/reset/171 1406s ok 1470 /checksum/SHA384/reset/172 1406s ok 1471 /checksum/SHA384/reset/173 1406s ok 1472 /checksum/SHA384/reset/174 1406s ok 1473 /checksum/SHA384/reset/175 1406s ok 1474 /checksum/SHA384/reset/176 1406s ok 1475 /checksum/SHA384/reset/177 1406s ok 1476 /checksum/SHA384/reset/178 1406s ok 1477 /checksum/SHA384/reset/179 1406s ok 1478 /checksum/SHA384/reset/180 1406s ok 1479 /checksum/SHA384/reset/181 1406s ok 1480 /checksum/SHA384/reset/182 1406s ok 1481 /checksum/SHA384/reset/183 1406s # End of reset tests 1406s # End of SHA384 tests 1406s # Start of SHA512 tests 1406s ok 1482 /checksum/SHA512/0 1406s ok 1483 /checksum/SHA512/1 1406s ok 1484 /checksum/SHA512/2 1406s ok 1485 /checksum/SHA512/3 1406s ok 1486 /checksum/SHA512/4 1406s ok 1487 /checksum/SHA512/5 1406s ok 1488 /checksum/SHA512/6 1406s ok 1489 /checksum/SHA512/7 1406s ok 1490 /checksum/SHA512/8 1406s ok 1491 /checksum/SHA512/9 1406s ok 1492 /checksum/SHA512/10 1406s ok 1493 /checksum/SHA512/11 1406s ok 1494 /checksum/SHA512/12 1406s ok 1495 /checksum/SHA512/13 1406s ok 1496 /checksum/SHA512/14 1406s ok 1497 /checksum/SHA512/15 1406s ok 1498 /checksum/SHA512/16 1406s ok 1499 /checksum/SHA512/17 1406s ok 1500 /checksum/SHA512/18 1406s ok 1501 /checksum/SHA512/19 1406s ok 1502 /checksum/SHA512/20 1406s ok 1503 /checksum/SHA512/21 1406s ok 1504 /checksum/SHA512/22 1406s ok 1505 /checksum/SHA512/23 1406s ok 1506 /checksum/SHA512/24 1406s ok 1507 /checksum/SHA512/25 1406s ok 1508 /checksum/SHA512/26 1406s ok 1509 /checksum/SHA512/27 1406s ok 1510 /checksum/SHA512/28 1406s ok 1511 /checksum/SHA512/29 1406s ok 1512 /checksum/SHA512/30 1406s ok 1513 /checksum/SHA512/31 1406s ok 1514 /checksum/SHA512/32 1406s ok 1515 /checksum/SHA512/33 1406s ok 1516 /checksum/SHA512/34 1406s ok 1517 /checksum/SHA512/35 1406s ok 1518 /checksum/SHA512/36 1406s ok 1519 /checksum/SHA512/37 1406s ok 1520 /checksum/SHA512/38 1406s ok 1521 /checksum/SHA512/39 1406s ok 1522 /checksum/SHA512/40 1406s ok 1523 /checksum/SHA512/41 1406s ok 1524 /checksum/SHA512/42 1406s ok 1525 /checksum/SHA512/43 1406s ok 1526 /checksum/SHA512/44 1406s ok 1527 /checksum/SHA512/45 1406s ok 1528 /checksum/SHA512/46 1406s ok 1529 /checksum/SHA512/47 1406s ok 1530 /checksum/SHA512/48 1406s ok 1531 /checksum/SHA512/49 1406s ok 1532 /checksum/SHA512/50 1406s ok 1533 /checksum/SHA512/51 1406s ok 1534 /checksum/SHA512/52 1406s ok 1535 /checksum/SHA512/53 1406s ok 1536 /checksum/SHA512/54 1406s ok 1537 /checksum/SHA512/55 1406s ok 1538 /checksum/SHA512/56 1406s ok 1539 /checksum/SHA512/57 1406s ok 1540 /checksum/SHA512/58 1406s ok 1541 /checksum/SHA512/59 1406s ok 1542 /checksum/SHA512/60 1406s ok 1543 /checksum/SHA512/61 1406s ok 1544 /checksum/SHA512/62 1406s ok 1545 /checksum/SHA512/63 1406s ok 1546 /checksum/SHA512/64 1406s ok 1547 /checksum/SHA512/65 1406s ok 1548 /checksum/SHA512/66 1406s ok 1549 /checksum/SHA512/67 1406s ok 1550 /checksum/SHA512/68 1406s ok 1551 /checksum/SHA512/69 1406s ok 1552 /checksum/SHA512/70 1406s ok 1553 /checksum/SHA512/71 1406s ok 1554 /checksum/SHA512/72 1406s ok 1555 /checksum/SHA512/73 1406s ok 1556 /checksum/SHA512/74 1406s ok 1557 /checksum/SHA512/75 1406s ok 1558 /checksum/SHA512/76 1406s ok 1559 /checksum/SHA512/77 1406s ok 1560 /checksum/SHA512/78 1406s ok 1561 /checksum/SHA512/79 1406s ok 1562 /checksum/SHA512/80 1406s ok 1563 /checksum/SHA512/81 1406s ok 1564 /checksum/SHA512/82 1406s ok 1565 /checksum/SHA512/83 1406s ok 1566 /checksum/SHA512/84 1406s ok 1567 /checksum/SHA512/85 1406s ok 1568 /checksum/SHA512/86 1406s ok 1569 /checksum/SHA512/87 1406s ok 1570 /checksum/SHA512/88 1406s ok 1571 /checksum/SHA512/89 1406s ok 1572 /checksum/SHA512/90 1406s ok 1573 /checksum/SHA512/91 1406s ok 1574 /checksum/SHA512/92 1406s ok 1575 /checksum/SHA512/93 1406s ok 1576 /checksum/SHA512/94 1406s ok 1577 /checksum/SHA512/95 1406s ok 1578 /checksum/SHA512/96 1406s ok 1579 /checksum/SHA512/97 1406s ok 1580 /checksum/SHA512/98 1406s ok 1581 /checksum/SHA512/99 1406s ok 1582 /checksum/SHA512/100 1406s ok 1583 /checksum/SHA512/101 1406s ok 1584 /checksum/SHA512/102 1406s ok 1585 /checksum/SHA512/103 1406s ok 1586 /checksum/SHA512/104 1406s ok 1587 /checksum/SHA512/105 1406s ok 1588 /checksum/SHA512/106 1406s ok 1589 /checksum/SHA512/107 1406s ok 1590 /checksum/SHA512/108 1406s ok 1591 /checksum/SHA512/109 1406s ok 1592 /checksum/SHA512/110 1406s ok 1593 /checksum/SHA512/111 1406s ok 1594 /checksum/SHA512/112 1406s ok 1595 /checksum/SHA512/113 1406s ok 1596 /checksum/SHA512/114 1406s ok 1597 /checksum/SHA512/115 1406s ok 1598 /checksum/SHA512/116 1406s ok 1599 /checksum/SHA512/117 1406s ok 1600 /checksum/SHA512/118 1406s ok 1601 /checksum/SHA512/119 1406s ok 1602 /checksum/SHA512/120 1406s ok 1603 /checksum/SHA512/121 1406s ok 1604 /checksum/SHA512/122 1406s ok 1605 /checksum/SHA512/123 1406s ok 1606 /checksum/SHA512/124 1406s ok 1607 /checksum/SHA512/125 1406s ok 1608 /checksum/SHA512/126 1406s ok 1609 /checksum/SHA512/127 1406s ok 1610 /checksum/SHA512/128 1406s ok 1611 /checksum/SHA512/129 1406s ok 1612 /checksum/SHA512/130 1406s ok 1613 /checksum/SHA512/131 1406s ok 1614 /checksum/SHA512/132 1406s ok 1615 /checksum/SHA512/133 1406s ok 1616 /checksum/SHA512/134 1406s ok 1617 /checksum/SHA512/135 1406s ok 1618 /checksum/SHA512/136 1406s ok 1619 /checksum/SHA512/137 1406s ok 1620 /checksum/SHA512/138 1406s ok 1621 /checksum/SHA512/139 1406s ok 1622 /checksum/SHA512/140 1406s ok 1623 /checksum/SHA512/141 1406s ok 1624 /checksum/SHA512/142 1406s ok 1625 /checksum/SHA512/143 1406s ok 1626 /checksum/SHA512/144 1406s ok 1627 /checksum/SHA512/145 1406s ok 1628 /checksum/SHA512/146 1406s ok 1629 /checksum/SHA512/147 1406s ok 1630 /checksum/SHA512/148 1406s ok 1631 /checksum/SHA512/149 1406s ok 1632 /checksum/SHA512/150 1406s ok 1633 /checksum/SHA512/151 1406s ok 1634 /checksum/SHA512/152 1406s ok 1635 /checksum/SHA512/153 1406s ok 1636 /checksum/SHA512/154 1406s ok 1637 /checksum/SHA512/155 1406s ok 1638 /checksum/SHA512/156 1406s ok 1639 /checksum/SHA512/157 1406s ok 1640 /checksum/SHA512/158 1406s ok 1641 /checksum/SHA512/159 1406s ok 1642 /checksum/SHA512/160 1406s ok 1643 /checksum/SHA512/161 1406s ok 1644 /checksum/SHA512/162 1406s ok 1645 /checksum/SHA512/163 1406s ok 1646 /checksum/SHA512/164 1406s ok 1647 /checksum/SHA512/165 1406s ok 1648 /checksum/SHA512/166 1406s ok 1649 /checksum/SHA512/167 1406s ok 1650 /checksum/SHA512/168 1406s ok 1651 /checksum/SHA512/169 1406s ok 1652 /checksum/SHA512/170 1406s ok 1653 /checksum/SHA512/171 1406s ok 1654 /checksum/SHA512/172 1406s ok 1655 /checksum/SHA512/173 1406s ok 1656 /checksum/SHA512/174 1406s ok 1657 /checksum/SHA512/175 1406s ok 1658 /checksum/SHA512/176 1406s ok 1659 /checksum/SHA512/177 1406s ok 1660 /checksum/SHA512/178 1406s ok 1661 /checksum/SHA512/179 1406s ok 1662 /checksum/SHA512/180 1406s ok 1663 /checksum/SHA512/181 1406s ok 1664 /checksum/SHA512/182 1406s ok 1665 /checksum/SHA512/183 1406s ok 1666 /checksum/SHA512/string 1406s ok 1667 /checksum/SHA512/bytes 1406s # Start of reset tests 1406s ok 1668 /checksum/SHA512/reset/0 1406s ok 1669 /checksum/SHA512/reset/1 1406s ok 1670 /checksum/SHA512/reset/2 1406s ok 1671 /checksum/SHA512/reset/3 1406s ok 1672 /checksum/SHA512/reset/4 1406s ok 1673 /checksum/SHA512/reset/5 1406s ok 1674 /checksum/SHA512/reset/6 1406s ok 1675 /checksum/SHA512/reset/7 1406s ok 1676 /checksum/SHA512/reset/8 1406s ok 1677 /checksum/SHA512/reset/9 1406s ok 1678 /checksum/SHA512/reset/10 1406s ok 1679 /checksum/SHA512/reset/11 1406s ok 1680 /checksum/SHA512/reset/12 1406s ok 1681 /checksum/SHA512/reset/13 1406s ok 1682 /checksum/SHA512/reset/14 1406s ok 1683 /checksum/SHA512/reset/15 1406s ok 1684 /checksum/SHA512/reset/16 1406s ok 1685 /checksum/SHA512/reset/17 1406s ok 1686 /checksum/SHA512/reset/18 1406s ok 1687 /checksum/SHA512/reset/19 1406s ok 1688 /checksum/SHA512/reset/20 1406s ok 1689 /checksum/SHA512/reset/21 1406s ok 1690 /checksum/SHA512/reset/22 1406s ok 1691 /checksum/SHA512/reset/23 1406s ok 1692 /checksum/SHA512/reset/24 1406s ok 1693 /checksum/SHA512/reset/25 1406s ok 1694 /checksum/SHA512/reset/26 1406s ok 1695 /checksum/SHA512/reset/27 1406s ok 1696 /checksum/SHA512/reset/28 1406s ok 1697 /checksum/SHA512/reset/29 1406s ok 1698 /checksum/SHA512/reset/30 1406s ok 1699 /checksum/SHA512/reset/31 1406s ok 1700 /checksum/SHA512/reset/32 1406s ok 1701 /checksum/SHA512/reset/33 1406s ok 1702 /checksum/SHA512/reset/34 1406s ok 1703 /checksum/SHA512/reset/35 1406s ok 1704 /checksum/SHA512/reset/36 1406s ok 1705 /checksum/SHA512/reset/37 1406s ok 1706 /checksum/SHA512/reset/38 1406s ok 1707 /checksum/SHA512/reset/39 1406s ok 1708 /checksum/SHA512/reset/40 1406s ok 1709 /checksum/SHA512/reset/41 1406s ok 1710 /checksum/SHA512/reset/42 1406s ok 1711 /checksum/SHA512/reset/43 1406s ok 1712 /checksum/SHA512/reset/44 1406s ok 1713 /checksum/SHA512/reset/45 1406s ok 1714 /checksum/SHA512/reset/46 1406s ok 1715 /checksum/SHA512/reset/47 1406s ok 1716 /checksum/SHA512/reset/48 1406s ok 1717 /checksum/SHA512/reset/49 1406s ok 1718 /checksum/SHA512/reset/50 1406s ok 1719 /checksum/SHA512/reset/51 1406s ok 1720 /checksum/SHA512/reset/52 1406s ok 1721 /checksum/SHA512/reset/53 1406s ok 1722 /checksum/SHA512/reset/54 1406s ok 1723 /checksum/SHA512/reset/55 1406s ok 1724 /checksum/SHA512/reset/56 1406s ok 1725 /checksum/SHA512/reset/57 1406s ok 1726 /checksum/SHA512/reset/58 1406s ok 1727 /checksum/SHA512/reset/59 1406s ok 1728 /checksum/SHA512/reset/60 1406s ok 1729 /checksum/SHA512/reset/61 1406s ok 1730 /checksum/SHA512/reset/62 1406s ok 1731 /checksum/SHA512/reset/63 1406s ok 1732 /checksum/SHA512/reset/64 1406s ok 1733 /checksum/SHA512/reset/65 1406s ok 1734 /checksum/SHA512/reset/66 1406s ok 1735 /checksum/SHA512/reset/67 1406s ok 1736 /checksum/SHA512/reset/68 1406s ok 1737 /checksum/SHA512/reset/69 1406s ok 1738 /checksum/SHA512/reset/70 1406s ok 1739 /checksum/SHA512/reset/71 1406s ok 1740 /checksum/SHA512/reset/72 1406s ok 1741 /checksum/SHA512/reset/73 1406s ok 1742 /checksum/SHA512/reset/74 1406s ok 1743 /checksum/SHA512/reset/75 1406s ok 1744 /checksum/SHA512/reset/76 1406s ok 1745 /checksum/SHA512/reset/77 1406s ok 1746 /checksum/SHA512/reset/78 1406s ok 1747 /checksum/SHA512/reset/79 1406s ok 1748 /checksum/SHA512/reset/80 1406s ok 1749 /checksum/SHA512/reset/81 1406s ok 1750 /checksum/SHA512/reset/82 1406s ok 1751 /checksum/SHA512/reset/83 1406s ok 1752 /checksum/SHA512/reset/84 1406s ok 1753 /checksum/SHA512/reset/85 1406s ok 1754 /checksum/SHA512/reset/86 1406s ok 1755 /checksum/SHA512/reset/87 1406s ok 1756 /checksum/SHA512/reset/88 1406s ok 1757 /checksum/SHA512/reset/89 1406s ok 1758 /checksum/SHA512/reset/90 1406s ok 1759 /checksum/SHA512/reset/91 1406s ok 1760 /checksum/SHA512/reset/92 1406s ok 1761 /checksum/SHA512/reset/93 1406s ok 1762 /checksum/SHA512/reset/94 1406s ok 1763 /checksum/SHA512/reset/95 1406s ok 1764 /checksum/SHA512/reset/96 1406s ok 1765 /checksum/SHA512/reset/97 1406s ok 1766 /checksum/SHA512/reset/98 1406s ok 1767 /checksum/SHA512/reset/99 1406s ok 1768 /checksum/SHA512/reset/100 1406s ok 1769 /checksum/SHA512/reset/101 1406s ok 1770 /checksum/SHA512/reset/102 1406s ok 1771 /checksum/SHA512/reset/103 1406s ok 1772 /checksum/SHA512/reset/104 1406s ok 1773 /checksum/SHA512/reset/105 1406s ok 1774 /checksum/SHA512/reset/106 1406s ok 1775 /checksum/SHA512/reset/107 1406s ok 1776 /checksum/SHA512/reset/108 1406s ok 1777 /checksum/SHA512/reset/109 1406s ok 1778 /checksum/SHA512/reset/110 1406s ok 1779 /checksum/SHA512/reset/111 1406s ok 1780 /checksum/SHA512/reset/112 1406s ok 1781 /checksum/SHA512/reset/113 1406s ok 1782 /checksum/SHA512/reset/114 1406s ok 1783 /checksum/SHA512/reset/115 1406s ok 1784 /checksum/SHA512/reset/116 1406s ok 1785 /checksum/SHA512/reset/117 1406s ok 1786 /checksum/SHA512/reset/118 1406s ok 1787 /checksum/SHA512/reset/119 1406s ok 1788 /checksum/SHA512/reset/120 1406s ok 1789 /checksum/SHA512/reset/121 1406s ok 1790 /checksum/SHA512/reset/122 1406s ok 1791 /checksum/SHA512/reset/123 1406s ok 1792 /checksum/SHA512/reset/124 1406s ok 1793 /checksum/SHA512/reset/125 1406s ok 1794 /checksum/SHA512/reset/126 1406s ok 1795 /checksum/SHA512/reset/127 1406s ok 1796 /checksum/SHA512/reset/128 1406s ok 1797 /checksum/SHA512/reset/129 1406s ok 1798 /checksum/SHA512/reset/130 1406s ok 1799 /checksum/SHA512/reset/131 1406s ok 1800 /checksum/SHA512/reset/132 1406s ok 1801 /checksum/SHA512/reset/133 1406s ok 1802 /checksum/SHA512/reset/134 1406s ok 1803 /checksum/SHA512/reset/135 1406s ok 1804 /checksum/SHA512/reset/136 1406s ok 1805 /checksum/SHA512/reset/137 1406s ok 1806 /checksum/SHA512/reset/138 1406s ok 1807 /checksum/SHA512/reset/139 1406s ok 1808 /checksum/SHA512/reset/140 1406s ok 1809 /checksum/SHA512/reset/141 1406s ok 1810 /checksum/SHA512/reset/142 1406s ok 1811 /checksum/SHA512/reset/143 1406s ok 1812 /checksum/SHA512/reset/144 1406s ok 1813 /checksum/SHA512/reset/145 1406s ok 1814 /checksum/SHA512/reset/146 1406s ok 1815 /checksum/SHA512/reset/147 1406s ok 1816 /checksum/SHA512/reset/148 1406s ok 1817 /checksum/SHA512/reset/149 1406s ok 1818 /checksum/SHA512/reset/150 1406s ok 1819 /checksum/SHA512/reset/151 1406s ok 1820 /checksum/SHA512/reset/152 1406s ok 1821 /checksum/SHA512/reset/153 1406s ok 1822 /checksum/SHA512/reset/154 1406s ok 1823 /checksum/SHA512/reset/155 1406s ok 1824 /checksum/SHA512/reset/156 1406s ok 1825 /checksum/SHA512/reset/157 1406s ok 1826 /checksum/SHA512/reset/158 1406s ok 1827 /checksum/SHA512/reset/159 1406s ok 1828 /checksum/SHA512/reset/160 1406s ok 1829 /checksum/SHA512/reset/161 1406s ok 1830 /checksum/SHA512/reset/162 1406s ok 1831 /checksum/SHA512/reset/163 1406s ok 1832 /checksum/SHA512/reset/164 1406s ok 1833 /checksum/SHA512/reset/165 1406s ok 1834 /checksum/SHA512/reset/166 1406s ok 1835 /checksum/SHA512/reset/167 1406s ok 1836 /checksum/SHA512/reset/168 1406s ok 1837 /checksum/SHA512/reset/169 1406s ok 1838 /checksum/SHA512/reset/170 1406s ok 1839 /checksum/SHA512/reset/171 1406s ok 1840 /checksum/SHA512/reset/172 1406s ok 1841 /checksum/SHA512/reset/173 1406s ok 1842 /checksum/SHA512/reset/174 1406s ok 1843 /checksum/SHA512/reset/175 1406s ok 1844 /checksum/SHA512/reset/176 1406s ok 1845 /checksum/SHA512/reset/177 1406s ok 1846 /checksum/SHA512/reset/178 1406s ok 1847 /checksum/SHA512/reset/179 1406s ok 1848 /checksum/SHA512/reset/180 1406s ok 1849 /checksum/SHA512/reset/181 1406s ok 1850 /checksum/SHA512/reset/182 1406s ok 1851 /checksum/SHA512/reset/183 1406s # End of reset tests 1406s # End of SHA512 tests 1406s # End of checksum tests 1406s ok - glib/checksum.test 1406s # Running test: glib/scannerapi.test 1406s TAP version 13 1406s # random seed: R02S7d30d3c8444f414bf6b9f6f678095e09 1406s 1..4 1406s # Start of scanner tests 1406s ok 1 /scanner/warn 1406s ok 2 /scanner/error 1406s ok 3 /scanner/symbols 1406s ok 4 /scanner/tokens 1406s # End of scanner tests 1406s ok - glib/scannerapi.test 1406s # Running test: glib/memory-settings-backend.test 1406s TAP version 13 1406s # random seed: R02Se9079682f4cebd70e52cc545732d2337 1406s 1..1 1406s # Start of memory-settings-backend tests 1406s ok 1 /memory-settings-backend/extension-point-registered 1406s # End of memory-settings-backend tests 1406s ok - glib/memory-settings-backend.test 1406s # Running test: glib/autoptr-gio.test 1406s TAP version 13 1406s # random seed: R02Se3e20c58baa56bc56767c1702e4e74c2 1406s 1..1 1406s # Start of autoptr tests 1406s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1406s ok 1 /autoptr/autoptr 1406s # End of autoptr tests 1406s ok - glib/autoptr-gio.test 1406s # Running test: glib/bytes.test 1406s TAP version 13 1406s # random seed: R02S10093d67d579ca335454e2cc8b85cfe6 1406s 1..21 1406s # Start of bytes tests 1406s ok 1 /bytes/new 1406s ok 2 /bytes/new-take 1406s ok 3 /bytes/new-static 1406s ok 4 /bytes/new-with-free-func 1406s ok 5 /bytes/new-from-bytes 1406s ok 6 /bytes/new-from-bytes-slice 1406s ok 7 /bytes/new-from-bytes-shared-ref 1406s ok 8 /bytes/hash 1406s ok 9 /bytes/equal 1406s ok 10 /bytes/compare 1406s ok 11 /bytes/null 1406s ok 12 /bytes/get-region 1406s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1406s ok 13 /bytes/unref-null 1406s # Start of to-data tests 1406s ok 14 /bytes/to-data/transferred 1406s ok 15 /bytes/to-data/two-refs 1406s ok 16 /bytes/to-data/non-malloc 1406s ok 17 /bytes/to-data/different-free-func 1406s # End of to-data tests 1406s # Start of to-array tests 1406s ok 18 /bytes/to-array/transferred 1406s ok 19 /bytes/to-array/two-refs 1406s ok 20 /bytes/to-array/non-malloc 1406s # Start of transferred tests 1406s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1406s ok 21 /bytes/to-array/transferred/oversize 1406s # End of transferred tests 1406s # End of to-array tests 1406s # End of bytes tests 1406s ok - glib/bytes.test 1406s # Running test: glib/gdbus-introspection.test 1406s TAP version 13 1406s # random seed: R02S82986bf437fbc63b2af2178722ae9c5b 1406s 1..4 1406s # Start of gdbus tests 1406s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-parser/.dirs/home 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-parser/.dirs/cache 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-parser/.dirs/system-config2 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-parser/.dirs/config 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-parser/.dirs/system-data2 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-parser/.dirs/data 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-parser/.dirs/state 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-parser/.dirs/runtime 1406s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1406s ok 1 /gdbus/introspection-parser 1406s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-generate/.dirs/home 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-generate/.dirs/cache 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-generate/.dirs/system-config2 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-generate/.dirs/config 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-generate/.dirs/system-data2 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-generate/.dirs/data 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-generate/.dirs/state 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-generate/.dirs/runtime 1406s ok 2 /gdbus/introspection-generate 1406s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-default-direction/.dirs/home 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-default-direction/.dirs/cache 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-default-direction/.dirs/system-config2 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-default-direction/.dirs/config 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-default-direction/.dirs/system-data2 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-default-direction/.dirs/data 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-default-direction/.dirs/state 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-default-direction/.dirs/runtime 1406s ok 3 /gdbus/introspection-default-direction 1406s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-extra-data/.dirs/home 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-extra-data/.dirs/cache 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-extra-data/.dirs/system-config2 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-extra-data/.dirs/config 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-extra-data/.dirs/system-data2 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-extra-data/.dirs/data 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-extra-data/.dirs/state 1406s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_DF20K2/gdbus/introspection-extra-data/.dirs/runtime 1406s ok 4 /gdbus/introspection-extra-data 1406s # End of gdbus tests 1406s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1406s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1406s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1406s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1406s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1406s ok - glib/gdbus-introspection.test 1406s # Running test: glib/signalgroup.test 1406s TAP version 13 1406s # random seed: R02S064f5efcc94f765404a4e175a0ccd93c 1406s 1..9 1406s # Start of GObject tests 1406s # Start of SignalGroup tests 1406s ok 1 /GObject/SignalGroup/invalid 1406s ok 2 /GObject/SignalGroup/simple 1406s ok 3 /GObject/SignalGroup/changing-target 1406s ok 4 /GObject/SignalGroup/blocking 1406s ok 5 /GObject/SignalGroup/weak-ref-target 1406s ok 6 /GObject/SignalGroup/connect-object 1406s ok 7 /GObject/SignalGroup/signal-parsing 1406s ok 8 /GObject/SignalGroup/properties 1406s ok 9 /GObject/SignalGroup/interface 1406s # Start of signal-parsing tests 1406s # End of signal-parsing tests 1406s # End of SignalGroup tests 1406s # End of GObject tests 1406s ok - glib/signalgroup.test 1406s # Running test: glib/io-channel-basic.test 1406s TAP version 13 1406s # random seed: R02S431d1dc11a31e09fccfbfd8f04877a30 1406s 1..1 1406s # Start of gio tests 1406s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1406s # # random seed: R02S7c879c59854243ccb5ad1fa31b8c4756 1406s # # GLib-DEBUG: io-channel-basic: child writing 8+1115 bytes to 6 1406s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1406s # GLib-DEBUG: io-channel-basic: ...from 5: 1115 bytes 1406s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1406s # # GLib-DEBUG: io-channel-basic: child writing 8+4567 bytes to 6 1406s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1406s # GLib-DEBUG: io-channel-basic: ...from 5: 4567 bytes 1406s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1407s # # GLib-DEBUG: io-channel-basic: child writing 8+4832 bytes to 6 1407s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1407s # GLib-DEBUG: io-channel-basic: ...from 5: 4832 bytes 1407s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1407s # # GLib-DEBUG: io-channel-basic: child writing 8+3769 bytes to 6 1407s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1407s # GLib-DEBUG: io-channel-basic: ...from 5: 3769 bytes 1407s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1407s # # GLib-DEBUG: io-channel-basic: child writing 8+1666 bytes to 6 1407s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1407s # GLib-DEBUG: io-channel-basic: ...from 5: 1666 bytes 1407s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1407s # # GLib-DEBUG: io-channel-basic: child writing 8+3125 bytes to 6 1407s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1407s # GLib-DEBUG: io-channel-basic: ...from 5: 3125 bytes 1407s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1408s # # GLib-DEBUG: io-channel-basic: child writing 8+4699 bytes to 6 1408s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1408s # GLib-DEBUG: io-channel-basic: ...from 5: 4699 bytes 1408s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1408s # # GLib-DEBUG: io-channel-basic: child writing 8+3358 bytes to 6 1408s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1408s # GLib-DEBUG: io-channel-basic: ...from 5: 3358 bytes 1408s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1408s # # GLib-DEBUG: io-channel-basic: child writing 8+447 bytes to 6 1408s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1408s # GLib-DEBUG: io-channel-basic: ...from 5: 447 bytes 1408s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1408s # # GLib-DEBUG: io-channel-basic: child writing 8+1636 bytes to 6 1408s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1408s # GLib-DEBUG: io-channel-basic: ...from 5: 1636 bytes 1408s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1409s # # GLib-DEBUG: io-channel-basic: child writing 8+4801 bytes to 6 1409s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1409s # GLib-DEBUG: io-channel-basic: ...from 5: 4801 bytes 1409s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1409s # Executing: glib/io-channel-basic.test 1409s # # GLib-DEBUG: io-channel-basic: child writing 8+4004 bytes to 6 1409s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1409s # GLib-DEBUG: io-channel-basic: ...from 5: 4004 bytes 1409s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1409s # # GLib-DEBUG: io-channel-basic: child writing 8+3273 bytes to 6 1409s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1409s # GLib-DEBUG: io-channel-basic: ...from 5: 3273 bytes 1409s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1410s # # GLib-DEBUG: io-channel-basic: child writing 8+3536 bytes to 6 1410s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1410s # GLib-DEBUG: io-channel-basic: ...from 5: 3536 bytes 1410s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1410s # # GLib-DEBUG: io-channel-basic: child writing 8+1321 bytes to 6 1410s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1410s # GLib-DEBUG: io-channel-basic: ...from 5: 1321 bytes 1410s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1410s # # GLib-DEBUG: io-channel-basic: child writing 8+598 bytes to 6 1410s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1410s # GLib-DEBUG: io-channel-basic: ...from 5: 598 bytes 1410s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1410s # # GLib-DEBUG: io-channel-basic: child writing 8+4276 bytes to 6 1410s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1410s # GLib-DEBUG: io-channel-basic: ...from 5: 4276 bytes 1410s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1411s # # GLib-DEBUG: io-channel-basic: child writing 8+1423 bytes to 6 1411s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1411s # GLib-DEBUG: io-channel-basic: ...from 5: 1423 bytes 1411s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1411s # # GLib-DEBUG: io-channel-basic: child writing 8+4367 bytes to 6 1411s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1411s # GLib-DEBUG: io-channel-basic: ...from 5: 4367 bytes 1411s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1411s # # GLib-DEBUG: io-channel-basic: child writing 8+1443 bytes to 6 1411s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1411s # GLib-DEBUG: io-channel-basic: ...from 5: 1443 bytes 1411s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1411s # # GLib-DEBUG: io-channel-basic: child writing 8+478 bytes to 6 1411s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1411s # GLib-DEBUG: io-channel-basic: ...from 5: 478 bytes 1411s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1412s # # GLib-DEBUG: io-channel-basic: child writing 8+1376 bytes to 6 1412s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1412s # GLib-DEBUG: io-channel-basic: ...from 5: 1376 bytes 1412s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1412s # # GLib-DEBUG: io-channel-basic: child writing 8+1687 bytes to 6 1412s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1412s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1412s # GLib-DEBUG: io-channel-basic: ...from 5: 1687 bytes 1412s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1412s # GLib-DEBUG: io-channel-basic: ...from 5: HUP 1412s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1412s # # random seed: R02S7404952d52d9e93a8d0410a50fc1ce3e 1412s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1412s # # random seed: R02Sd600b86df723d298b432d33c74994a17 1412s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1412s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1412s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1412s # # random seed: R02Sfe57f43c7a609fcd0bde45728f9ca6eb 1412s # # random seed: R02S16d34291155688f5bc7b96a513f6e8f1 1412s # # random seed: R02S696027b54249cdb1242cb92fb1c2d0ac 1412s # # GLib-DEBUG: io-channel-basic: child writing 8+2255 bytes to 9 1412s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1412s # GLib-DEBUG: io-channel-basic: ...from 8: 2255 bytes 1412s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1412s # # GLib-DEBUG: io-channel-basic: child writing 8+383 bytes to 15 1412s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1412s # GLib-DEBUG: io-channel-basic: ...from 14: 383 bytes 1412s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1412s # # GLib-DEBUG: io-channel-basic: child writing 8+2866 bytes to 17 1412s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1412s # GLib-DEBUG: io-channel-basic: ...from 16: 2866 bytes 1412s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1412s # # GLib-DEBUG: io-channel-basic: child writing 8+2839 bytes to 11 1412s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1412s # GLib-DEBUG: io-channel-basic: ...from 10: 2839 bytes 1412s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1412s # # GLib-DEBUG: io-channel-basic: child writing 8+2962 bytes to 13 1412s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1412s # GLib-DEBUG: io-channel-basic: ...from 12: 2962 bytes 1412s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1412s # # GLib-DEBUG: io-channel-basic: child writing 8+8 bytes to 9 1412s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1412s # GLib-DEBUG: io-channel-basic: ...from 8: 8 bytes 1412s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1412s # # GLib-DEBUG: io-channel-basic: child writing 8+4496 bytes to 17 1412s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1412s # GLib-DEBUG: io-channel-basic: ...from 16: 4496 bytes 1412s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1412s # # GLib-DEBUG: io-channel-basic: child writing 8+4688 bytes to 15 1412s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1412s # GLib-DEBUG: io-channel-basic: ...from 14: 4688 bytes 1412s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1412s # # GLib-DEBUG: io-channel-basic: child writing 8+828 bytes to 11 1412s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1412s # GLib-DEBUG: io-channel-basic: ...from 10: 828 bytes 1412s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1412s # # GLib-DEBUG: io-channel-basic: child writing 8+3861 bytes to 13 1412s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1412s # GLib-DEBUG: io-channel-basic: ...from 12: 3861 bytes 1412s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+3485 bytes to 17 1413s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 16: 3485 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+2958 bytes to 9 1413s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 8: 2958 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+4415 bytes to 11 1413s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 10: 4415 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+3996 bytes to 15 1413s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 14: 3996 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+481 bytes to 13 1413s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 12: 481 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+1131 bytes to 17 1413s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 16: 1131 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+2844 bytes to 11 1413s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 10: 2844 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+3254 bytes to 9 1413s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 8: 3254 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+2453 bytes to 15 1413s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 14: 2453 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+4437 bytes to 13 1413s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 12: 4437 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+4587 bytes to 9 1413s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 8: 4587 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+1094 bytes to 17 1413s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 16: 1094 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+4734 bytes to 11 1413s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 10: 4734 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+2995 bytes to 15 1413s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 14: 2995 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+2668 bytes to 13 1413s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 12: 2668 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+4473 bytes to 9 1413s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 8: 4473 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+230 bytes to 11 1413s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 10: 230 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+540 bytes to 17 1413s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 16: 540 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+2098 bytes to 15 1413s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 14: 2098 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1413s # # GLib-DEBUG: io-channel-basic: child writing 8+2862 bytes to 13 1413s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1413s # GLib-DEBUG: io-channel-basic: ...from 12: 2862 bytes 1413s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+2807 bytes to 11 1414s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 10: 2807 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+2672 bytes to 9 1414s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 8: 2672 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+2044 bytes to 17 1414s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 16: 2044 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+4137 bytes to 13 1414s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 12: 4137 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+1862 bytes to 15 1414s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 14: 1862 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+1296 bytes to 11 1414s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 10: 1296 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+892 bytes to 9 1414s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 8: 892 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+4647 bytes to 13 1414s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 12: 4647 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1414s # Executing: glib/io-channel-basic.test 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+1231 bytes to 15 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+169 bytes to 17 1414s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 14: 1231 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1414s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 16: 169 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+1180 bytes to 9 1414s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 8: 1180 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+1831 bytes to 11 1414s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 10: 1831 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+2783 bytes to 13 1414s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 12: 2783 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+2000 bytes to 15 1414s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 14: 2000 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+2870 bytes to 17 1414s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 16: 2870 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+2042 bytes to 9 1414s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 8: 2042 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+3030 bytes to 11 1414s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 10: 3030 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+4183 bytes to 17 1414s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 16: 4183 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+2190 bytes to 13 1414s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 12: 2190 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1414s # # GLib-DEBUG: io-channel-basic: child writing 8+3989 bytes to 15 1414s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1414s # GLib-DEBUG: io-channel-basic: ...from 14: 3989 bytes 1414s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+4145 bytes to 9 1415s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 8: 4145 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+528 bytes to 11 1415s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 10: 528 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+1326 bytes to 17 1415s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 16: 1326 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+3537 bytes to 13 1415s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 12: 3537 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+1991 bytes to 15 1415s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 14: 1991 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+609 bytes to 9 1415s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 8: 609 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+3142 bytes to 11 1415s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 10: 3142 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+789 bytes to 17 1415s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 16: 789 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+2717 bytes to 15 1415s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 14: 2717 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+3075 bytes to 13 1415s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 12: 3075 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+431 bytes to 9 1415s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 8: 431 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+4568 bytes to 11 1415s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 10: 4568 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+4254 bytes to 17 1415s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 16: 4254 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+2406 bytes to 13 1415s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 12: 2406 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+3756 bytes to 15 1415s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 14: 3756 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+2091 bytes to 9 1415s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 8: 2091 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+4792 bytes to 17 1415s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 16: 4792 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1415s # # GLib-DEBUG: io-channel-basic: child writing 8+271 bytes to 11 1415s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1415s # GLib-DEBUG: io-channel-basic: ...from 10: 271 bytes 1415s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+557 bytes to 13 1416s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 12: 557 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+3424 bytes to 15 1416s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 14: 3424 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+3355 bytes to 9 1416s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 8: 3355 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+1520 bytes to 17 1416s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 16: 1520 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+39 bytes to 11 1416s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 10: 39 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+2700 bytes to 13 1416s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 12: 2700 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+2096 bytes to 15 1416s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 14: 2096 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+4228 bytes to 9 1416s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 8: 4228 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+2399 bytes to 11 1416s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 10: 2399 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+1574 bytes to 17 1416s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 16: 1574 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+3302 bytes to 13 1416s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 12: 3302 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+4244 bytes to 15 1416s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 14: 4244 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+3734 bytes to 9 1416s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 8: 3734 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+2715 bytes to 11 1416s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 10: 2715 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+4365 bytes to 17 1416s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 16: 4365 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+1646 bytes to 13 1416s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 12: 1646 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+4596 bytes to 15 1416s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 14: 4596 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+3312 bytes to 9 1416s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 8: 3312 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+2037 bytes to 11 1417s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 10: 2037 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+977 bytes to 17 1417s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 16: 977 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+2316 bytes to 13 1417s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 12: 2316 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+2998 bytes to 15 1417s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 14: 2998 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+482 bytes to 9 1417s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 8: 482 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+906 bytes to 11 1417s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 10: 906 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+3235 bytes to 17 1417s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 16: 3235 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+3888 bytes to 13 1417s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 12: 3888 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+3726 bytes to 15 1417s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 14: 3726 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+4667 bytes to 9 1417s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 8: 4667 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+835 bytes to 11 1417s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 10: 835 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+4937 bytes to 17 1417s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 16: 4937 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+574 bytes to 13 1417s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 12: 574 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+3102 bytes to 15 1417s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 14: 3102 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+1291 bytes to 9 1417s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 8: 1291 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+900 bytes to 11 1417s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 10: 900 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+3503 bytes to 17 1417s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 16: 3503 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+4582 bytes to 13 1417s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 12: 4582 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+269 bytes to 15 1417s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 14: 269 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+1645 bytes to 9 1418s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1418s # GLib-DEBUG: io-channel-basic: ...from 8: 1645 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+1215 bytes to 11 1418s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1418s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1418s # GLib-DEBUG: io-channel-basic: ...from 10: 1215 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+1973 bytes to 17 1418s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1418s # GLib-DEBUG: io-channel-basic: ...from 16: 1973 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+1654 bytes to 13 1418s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1418s # GLib-DEBUG: io-channel-basic: ...from 12: 1654 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+208 bytes to 15 1418s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1418s # GLib-DEBUG: io-channel-basic: ...from 14: 208 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+3886 bytes to 9 1418s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1418s # GLib-DEBUG: io-channel-basic: ...from 8: 3886 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+2066 bytes to 17 1418s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1418s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1418s # GLib-DEBUG: io-channel-basic: ...from 16: 2066 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1418s # GLib-DEBUG: io-channel-basic: ...from 16: HUP 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+620 bytes to 13 1418s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1418s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1418s # GLib-DEBUG: io-channel-basic: ...from 12: 620 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+948 bytes to 15 1418s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1418s # GLib-DEBUG: io-channel-basic: ...from 14: 948 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+1670 bytes to 9 1418s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1418s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1418s # GLib-DEBUG: io-channel-basic: ...from 8: 1670 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1418s # GLib-DEBUG: io-channel-basic: ...from 8: HUP 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+2509 bytes to 15 1418s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1418s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1418s # GLib-DEBUG: io-channel-basic: ...from 14: 2509 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1418s ok 1 /gio/io-basics 1418s # slow test /gio/io-basics executed in 12.30 secs 1418s # End of gio tests 1418s ok - glib/io-channel-basic.test 1418s # Running test: glib/cxx-14.test 1418s TAP version 13 1418s # random seed: R02S0d3c88d4156d8e8271aee804e8729de6 1418s 1..2 1418s # Start of gtask tests 1418s # 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. 1418s ok 1 /gtask/name 1418s # Start of name tests 1418s # 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. 1418s ok 2 /gtask/name/macro-wrapper 1418s # End of name tests 1418s # End of gtask tests 1418s ok - glib/cxx-14.test 1418s # Running test: glib/spawn-multithreaded.test 1418s TAP version 13 1418s # random seed: R02Scd01f9da66227f43cc8464f532614df7 1418s 1..4 1418s # Start of gthread tests 1419s # Executing: glib/spawn-multithreaded.test 1419s # Child 2908 (ttl 1) exited, status 0 1420s # Child 2909 (ttl 2) exited, status 0 1420s ok 1 /gthread/spawn-childs 1420s # slow test /gthread/spawn-childs executed in 2.00 secs 1420s # Created pid: 2913 (ttl 1) 1420s # Created pid: 2914 (ttl 2) 1421s # Child 2913 (ttl 1) exited, status 0 1422s # Child 2914 (ttl 2) exited, status 0 1422s ok 2 /gthread/spawn-childs-threads 1422s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1422s ok 3 /gthread/spawn-sync 1422s ok 4 /gthread/spawn-async 1422s # End of gthread tests 1422s ok - glib/spawn-multithreaded.test 1422s # Running test: glib/async-close-output-stream.test 1422s TAP version 13 1422s # random seed: R02S59bff88e92ccc7c36f6d2c078238ffe1 1422s 1..3 1422s # Start of close-async tests 1422s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1422s ok 1 /close-async/without-flush 1422s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1422s ok 2 /close-async/with-flush 1422s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1422s ok 3 /close-async/with-async-flush 1422s # End of close-async tests 1422s ok - glib/async-close-output-stream.test 1422s # Running test: glib/hash.test 1422s TAP version 13 1422s # random seed: R02Sbd638fd68b7d5ef6d27f75fb11c54082 1422s 1..34 1422s # Start of hash tests 1422s ok 1 /hash/misc 1422s ok 2 /hash/one 1422s ok 3 /hash/honeyman 1422s ok 4 /hash/direct 1422s ok 5 /hash/direct2 1422s ok 6 /hash/int 1422s ok 7 /hash/int64 1422s ok 8 /hash/double 1422s ok 9 /hash/string 1422s ok 10 /hash/set 1422s ok 11 /hash/set-ref 1422s ok 12 /hash/ref 1422s ok 13 /hash/remove-all 1422s ok 14 /hash/recursive-remove-all 1422s ok 15 /hash/find 1422s ok 16 /hash/foreach 1422s ok 17 /hash/foreach-steal 1422s ok 18 /hash/steal-extended 1422s ok 19 /hash/steal-all-keys 1422s ok 20 /hash/steal-all-values 1422s ok 21 /hash/lookup-extended 1422s ok 22 /hash/new-similar 1422s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1422s ok 23 /hash/lookup-null-key 1422s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1422s ok 24 /hash/destroy-modify 1422s ok 25 /hash/consistency 1422s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1422s ok 26 /hash/iter-replace 1422s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1422s ok 27 /hash/set-insert-corruption 1422s ok 28 /hash/set-to-strv 1422s ok 29 /hash/get-keys-as-ptr-array 1422s ok 30 /hash/get-values-as-ptr-array 1422s ok 31 /hash/primes 1422s # Start of int64 tests 1422s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1422s ok 32 /hash/int64/collisions 1422s # End of int64 tests 1422s # Start of double tests 1422s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1422s ok 33 /hash/double/collisions 1422s # End of double tests 1422s # Start of recursive-remove-all tests 1422s # End of recursive-remove-all tests 1422s # Start of steal-extended tests 1422s ok 34 /hash/steal-extended/optional 1422s # End of steal-extended tests 1422s # End of hash tests 1422s ok - glib/hash.test 1422s # Running test: glib/reference.test 1422s TAP version 13 1422s # random seed: R02Sfe351f4253a8f7cdb71b3d5012fd14d0 1422s 1..29 1422s # Start of type tests 1422s ok 1 /type/fundamentals 1422s ok 2 /type/qdata 1422s ok 3 /type/query 1422s ok 4 /type/class-private 1422s # End of type tests 1422s # Start of object tests 1422s ok 5 /object/clear 1422s ok 6 /object/clear-function 1422s ok 7 /object/set 1422s ok 8 /object/set-function 1422s ok 9 /object/value 1422s ok 10 /object/initially-unowned 1422s ok 11 /object/weak-pointer 1422s ok 12 /object/weak-ref 1422s ok 13 /object/toggle-ref 1422s ok 14 /object/qdata 1422s ok 15 /object/qdata2 1422s # Start of set tests 1422s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1422s ok 16 /object/set/derived-type 1422s # End of set tests 1422s # Start of weak-pointer tests 1422s ok 17 /object/weak-pointer/clear 1422s ok 18 /object/weak-pointer/clear-function 1422s ok 19 /object/weak-pointer/set 1422s ok 20 /object/weak-pointer/set-function 1422s # End of weak-pointer tests 1422s # Start of weak-ref tests 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1422s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1422s ok 21 /object/weak-ref/on-dispose 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1422s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1422s ok 22 /object/weak-ref/on-run-dispose 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1422s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1422s ok 23 /object/weak-ref/on-toggle-notify 1422s ok 24 /object/weak-ref/in-toggle-notify 1422s ok 25 /object/weak-ref/many 1422s # Start of concurrent tests 1424s # Executing: glib/reference.test 1425s ok 26 /object/weak-ref/concurrent/0 1425s # slow test /object/weak-ref/concurrent/0 executed in 3.06 secs 1428s ok 27 /object/weak-ref/concurrent/1 1428s # slow test /object/weak-ref/concurrent/1 executed in 3.21 secs 1428s # End of concurrent tests 1428s # End of weak-ref tests 1428s # Start of toggle-ref tests 1428s ok 28 /object/toggle-ref/ref-on-dispose 1428s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1428s # End of toggle-ref tests 1428s # End of object tests 1429s ok - glib/reference.test 1429s # Running test: glib/memchunk.test 1429s TAP version 13 1429s # random seed: R02Sfaedaa3b3e6856956dced20f63a90f0d 1429s 1..1 1429s # Start of memchunk tests 1429s ok 1 /memchunk/basic 1429s # End of memchunk tests 1429s ok - glib/memchunk.test 1429s # Running test: glib/memory-output-stream.test 1429s TAP version 13 1429s # random seed: R02Sfd93a7bd0f3c1638a845b234d4f7fa6e 1429s 1..10 1429s # Start of memory-output-stream tests 1429s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1429s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1429s ok 1 /memory-output-stream/truncate 1429s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1429s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1429s ok 2 /memory-output-stream/get-data-size 1429s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1429s ok 3 /memory-output-stream/properties 1429s ok 4 /memory-output-stream/write-bytes 1429s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1429s ok 5 /memory-output-stream/write-null 1429s ok 6 /memory-output-stream/writev 1429s ok 7 /memory-output-stream/writev_nonblocking 1429s ok 8 /memory-output-stream/steal_as_bytes 1429s # Start of seek tests 1429s ok 9 /memory-output-stream/seek/fixed 1429s ok 10 /memory-output-stream/seek/resizable 1429s # End of seek tests 1429s # End of memory-output-stream tests 1429s ok - glib/memory-output-stream.test 1429s # Running test: glib/cxx-17.test 1429s TAP version 13 1429s # random seed: R02S55745e0dedbf4bc5b2cf2e4f29935377 1429s 1..2 1429s # Start of gtask tests 1429s # 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. 1429s ok 1 /gtask/name 1429s # Start of name tests 1429s # 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. 1429s ok 2 /gtask/name/macro-wrapper 1429s # End of name tests 1429s # End of gtask tests 1429s ok - glib/cxx-17.test 1429s # Running test: glib/gmenumodel.test 1429s TAP version 13 1429s # random seed: R02S077b1cca2859c67bc94e654a0ba16bfd 1429s 1..14 1429s # Start of gmenu tests 1429s # Executing: glib/gmenumodel.test 1430s ok 1 /gmenu/equality 1430s # slow test /gmenu/equality executed in 1.34 secs 1431s ok 2 /gmenu/random 1431s # slow test /gmenu/random executed in 1.59 secs 1431s ok 3 /gmenu/attributes 1431s ok 4 /gmenu/links 1431s ok 5 /gmenu/mutable 1431s ok 6 /gmenu/convenience 1431s ok 7 /gmenu/menuitem 1431s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1431s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1432s ok 8 /gmenu/input-validation 1432s # Start of dbus tests 1432s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1433s ok 9 /gmenu/dbus/roundtrip 1433s # slow test /gmenu/dbus/roundtrip executed in 1.08 secs 1433s ok 10 /gmenu/dbus/subscriptions 1434s # Executing: glib/gmenumodel.test 1436s ok 11 /gmenu/dbus/threaded 1436s # slow test /gmenu/dbus/threaded executed in 2.90 secs 1436s # Start of peer tests 1437s ok 12 /gmenu/dbus/peer/roundtrip 1437s # slow test /gmenu/dbus/peer/roundtrip executed in 1.08 secs 1437s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 1437s # End of peer tests 1437s # End of dbus tests 1437s # Start of attributes tests 1437s ok 14 /gmenu/attributes/iterate 1437s # End of attributes tests 1437s # End of gmenu tests 1437s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1437s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1437s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1437s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1437s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1437s ok - glib/gmenumodel.test 1437s # Running test: glib/gdbus-method-invocation.test 1437s TAP version 13 1437s # random seed: R02S75987f044edcd7a73c2db144333ceab5 1437s 1..1 1437s # Start of gdbus tests 1437s # Start of method-invocation tests 1437s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_R6SJK2/gdbus/method-invocation/return/.dirs/home 1437s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_R6SJK2/gdbus/method-invocation/return/.dirs/cache 1437s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_R6SJK2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_R6SJK2/gdbus/method-invocation/return/.dirs/system-config2 1437s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_R6SJK2/gdbus/method-invocation/return/.dirs/config 1437s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_R6SJK2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_R6SJK2/gdbus/method-invocation/return/.dirs/system-data2 1437s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_R6SJK2/gdbus/method-invocation/return/.dirs/data 1437s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_R6SJK2/gdbus/method-invocation/return/.dirs/state 1437s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_R6SJK2/gdbus/method-invocation/return/.dirs/runtime 1437s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1437s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1437s # Calling org.freedesktop.DBus.Properties.Get 1437s # Calling org.freedesktop.DBus.Properties.Get 1437s # Calling org.freedesktop.DBus.Properties.Get 1437s # Calling org.freedesktop.DBus.Properties.Set 1437s # Calling org.freedesktop.DBus.Properties.GetAll 1437s # Calling org.example.Foo.WrongReturnType 1437s # Calling org.example.Foo.GetFDs 1437s # Calling org.example.Foo.GetFDs 1437s # Calling org.example.Foo.ReturnError 1437s # Calling org.example.Foo.CloseBeforeReturning 1437s ok 1 /gdbus/method-invocation/return 1437s # End of method-invocation tests 1437s # End of gdbus tests 1437s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1437s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1437s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1437s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1437s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1437s ok - glib/gdbus-method-invocation.test 1437s # Running test: glib/g-icon.test 1437s TAP version 13 1437s # random seed: R02Sb7ec7e1fe4e02a4b2e26c2ce71c92d96 1437s 1..6 1437s # Start of icons tests 1437s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1437s ok 1 /icons/to-string 1437s ok 2 /icons/serialize 1437s ok 3 /icons/themed 1437s ok 4 /icons/emblemed 1437s ok 5 /icons/file 1437s ok 6 /icons/bytes 1437s # End of icons tests 1437s ok - glib/g-icon.test 1437s # Running test: glib/utils-c-11.test 1437s TAP version 13 1437s # random seed: R02Sf953a38284def4b266a0ae700a485bfe 1437s 1..40 1437s # Start of utils tests 1437s ok 1 /utils/language-names 1437s ok 2 /utils/locale-variants 1437s ok 3 /utils/version 1437s ok 4 /utils/appname 1437s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1437s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1437s ok 5 /utils/prgname-thread-safety 1437s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1437s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1437s ok 6 /utils/tmpdir 1437s ok 7 /utils/basic_bits 1437s ok 8 /utils/bits 1437s ok 9 /utils/swap 1437s ok 10 /utils/find-program 1437s ok 11 /utils/find-program-for-path 1437s ok 12 /utils/debug 1437s ok 13 /utils/codeset 1437s ok 14 /utils/codeset2 1437s ok 15 /utils/console-charset 1437s ok 16 /utils/gettext 1437s ok 17 /utils/username 1437s ok 18 /utils/realname 1437s ok 19 /utils/hostname 1437s ok 20 /utils/xdgdirs 1437s ok 21 /utils/specialdir 1437s # NAME: Ubuntu 1437s ok 22 /utils/os-info 1437s ok 23 /utils/clear-pointer 1437s ok 24 /utils/clear-pointer-cast 1437s ok 25 /utils/take-pointer 1437s ok 26 /utils/clear-source 1437s ok 27 /utils/misc-mem 1437s # /utils/aligned-mem summary: Aligned memory allocator 1437s # Alignment must not be zero 1437s # Alignment must be a power of two 1437s # Alignment must be a multiple of sizeof(void*) 1437s ok 28 /utils/aligned-mem 1437s # /utils/free-sized summary: Check that g_free_sized() works 1437s ok 29 /utils/free-sized 1437s ok 30 /utils/nullify 1437s ok 31 /utils/atexit 1437s ok 32 /utils/check-setuid 1437s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1437s ok 33 /utils/int-limits 1437s ok 34 /utils/clear-list 1437s ok 35 /utils/clear-slist 1437s # Start of specialdir tests 1437s ok 36 /utils/specialdir/desktop 1437s # End of specialdir tests 1437s # Start of clear-pointer tests 1437s ok 37 /utils/clear-pointer/side-effects 1437s # End of clear-pointer tests 1437s # Start of aligned-mem tests 1437s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1437s ok 38 /utils/aligned-mem/alignment 1437s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1437s ok 39 /utils/aligned-mem/zeroed 1437s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1437s ok 40 /utils/aligned-mem/free-sized 1437s # Start of subprocess tests 1437s # End of subprocess tests 1437s # End of aligned-mem tests 1437s # End of utils tests 1437s ok - glib/utils-c-11.test 1437s # Running test: glib/markup-parse.test 1437s TAP version 13 1437s # random seed: R02S5f24887672d2c0c430ebeaeb270f614d 1437s 1..71 1437s # Start of markup tests 1437s # Start of parse tests 1437s ok 1 /markup/parse/valid-10.gmarkup 1437s ok 2 /markup/parse/fail-1.gmarkup 1437s ok 3 /markup/parse/fail-36.gmarkup 1437s ok 4 /markup/parse/fail-39.gmarkup 1437s ok 5 /markup/parse/fail-20.gmarkup 1437s ok 6 /markup/parse/fail-38.gmarkup 1437s ok 7 /markup/parse/fail-13.gmarkup 1437s ok 8 /markup/parse/fail-47.gmarkup 1437s ok 9 /markup/parse/fail-33.gmarkup 1437s ok 10 /markup/parse/fail-11.gmarkup 1437s ok 11 /markup/parse/fail-22.gmarkup 1437s ok 12 /markup/parse/valid-7.gmarkup 1437s ok 13 /markup/parse/valid-9.gmarkup 1437s ok 14 /markup/parse/fail-23.gmarkup 1437s ok 15 /markup/parse/valid-1.gmarkup 1437s ok 16 /markup/parse/fail-34.gmarkup 1437s ok 17 /markup/parse/fail-18.gmarkup 1437s ok 18 /markup/parse/valid-6.gmarkup 1437s ok 19 /markup/parse/fail-29.gmarkup 1437s ok 20 /markup/parse/valid-16.gmarkup 1437s ok 21 /markup/parse/fail-2.gmarkup 1437s ok 22 /markup/parse/valid-11.gmarkup 1437s ok 23 /markup/parse/fail-54.gmarkup 1437s ok 24 /markup/parse/valid-17.gmarkup 1437s ok 25 /markup/parse/fail-16.gmarkup 1437s ok 26 /markup/parse/fail-7.gmarkup 1437s ok 27 /markup/parse/fail-4.gmarkup 1437s ok 28 /markup/parse/fail-40.gmarkup 1437s ok 29 /markup/parse/fail-41.gmarkup 1437s ok 30 /markup/parse/fail-28.gmarkup 1437s ok 31 /markup/parse/fail-9.gmarkup 1437s ok 32 /markup/parse/valid-5.gmarkup 1437s ok 33 /markup/parse/valid-13.gmarkup 1437s ok 34 /markup/parse/fail-6.gmarkup 1437s ok 35 /markup/parse/valid-14.gmarkup 1437s ok 36 /markup/parse/fail-15.gmarkup 1437s ok 37 /markup/parse/fail-24.gmarkup 1437s ok 38 /markup/parse/fail-35.gmarkup 1437s ok 39 /markup/parse/fail-48.gmarkup 1437s ok 40 /markup/parse/fail-12.gmarkup 1437s ok 41 /markup/parse/valid-2.gmarkup 1437s ok 42 /markup/parse/fail-46.gmarkup 1437s ok 43 /markup/parse/fail-53.gmarkup 1437s ok 44 /markup/parse/fail-21.gmarkup 1437s ok 45 /markup/parse/fail-27.gmarkup 1437s ok 46 /markup/parse/valid-12.gmarkup 1437s ok 47 /markup/parse/fail-31.gmarkup 1437s ok 48 /markup/parse/fail-14.gmarkup 1437s ok 49 /markup/parse/fail-30.gmarkup 1437s ok 50 /markup/parse/fail-25.gmarkup 1437s ok 51 /markup/parse/fail-51.gmarkup 1437s ok 52 /markup/parse/valid-3.gmarkup 1437s ok 53 /markup/parse/fail-17.gmarkup 1437s ok 54 /markup/parse/fail-43.gmarkup 1437s ok 55 /markup/parse/valid-15.gmarkup 1437s ok 56 /markup/parse/fail-49.gmarkup 1437s ok 57 /markup/parse/fail-26.gmarkup 1437s ok 58 /markup/parse/fail-5.gmarkup 1437s ok 59 /markup/parse/fail-44.gmarkup 1437s ok 60 /markup/parse/fail-32.gmarkup 1437s ok 61 /markup/parse/fail-3.gmarkup 1437s ok 62 /markup/parse/fail-45.gmarkup 1437s ok 63 /markup/parse/fail-52.gmarkup 1437s ok 64 /markup/parse/fail-8.gmarkup 1437s ok 65 /markup/parse/fail-37.gmarkup 1437s ok 66 /markup/parse/valid-4.gmarkup 1437s ok 67 /markup/parse/fail-50.gmarkup 1437s ok 68 /markup/parse/fail-19.gmarkup 1437s ok 69 /markup/parse/fail-42.gmarkup 1437s ok 70 /markup/parse/valid-8.gmarkup 1437s ok 71 /markup/parse/fail-10.gmarkup 1437s # End of parse tests 1437s # End of markup tests 1437s ok - glib/markup-parse.test 1437s # Running test: glib/tls-database.test 1437s TAP version 13 1437s # random seed: R02Sac53a20e0b8539d482fe123e2ec582cf 1437s 1..1 1437s # Start of tls-backend tests 1437s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1437s ok 1 /tls-backend/set-default-database 1437s # End of tls-backend tests 1437s ok - glib/tls-database.test 1437s # Running test: glib/registered-type-info.test 1437s TAP version 13 1437s # random seed: R02S5485d8f44b6521d2db432be8e71cab90 1437s 1..1 1437s # Start of registered-type-info tests 1437s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_8QKNK2/registered-type-info/boxed/.dirs/home 1437s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_8QKNK2/registered-type-info/boxed/.dirs/cache 1437s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_8QKNK2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_8QKNK2/registered-type-info/boxed/.dirs/system-config2 1437s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_8QKNK2/registered-type-info/boxed/.dirs/config 1437s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_8QKNK2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_8QKNK2/registered-type-info/boxed/.dirs/system-data2 1437s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_8QKNK2/registered-type-info/boxed/.dirs/data 1437s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_8QKNK2/registered-type-info/boxed/.dirs/state 1437s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_8QKNK2/registered-type-info/boxed/.dirs/runtime 1437s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1437s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1437s # Expecting CClosure to not be boxed 1437s # Expecting TypeCValue to not be boxed 1437s # Expecting InitiallyUnownedClass to not be boxed 1437s # Expecting BookmarkFile to be boxed 1437s # Expecting Closure to be boxed 1437s # Expecting Object to not be boxed 1437s ok 1 /registered-type-info/boxed 1437s # End of registered-type-info tests 1437s ok - glib/registered-type-info.test 1437s # Running test: glib/dir.test 1437s TAP version 13 1437s # random seed: R02S248151b6a3381faf824036bfa2d446f0 1437s 1..3 1437s # Start of dir tests 1437s ok 1 /dir/read 1437s ok 2 /dir/nonexisting 1437s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1437s ok 3 /dir/refcounting 1437s # End of dir tests 1437s ok - glib/dir.test 1437s # Running test: glib/gvariant.test 1437s TAP version 13 1437s # random seed: R02S9213d9b22f8bc82cc16b555e802dd453 1437s 1..64 1437s # Start of gvariant tests 1437s ok 1 /gvariant/type 1438s ok 2 /gvariant/typeinfo 1438s ok 3 /gvariant/string 1438s ok 4 /gvariant/utf8 1438s ok 5 /gvariant/containers 1438s ok 6 /gvariant/format-strings 1438s ok 7 /gvariant/invalid-varargs 1438s ok 8 /gvariant/varargs 1438s ok 9 /gvariant/valist 1438s ok 10 /gvariant/builder-memory 1438s ok 11 /gvariant/hashing 1438s ok 12 /gvariant/byteswap 1439s ok 13 /gvariant/parser 1439s # slow test /gvariant/parser executed in 0.50 secs 1439s ok 14 /gvariant/parse-failures 1439s ok 15 /gvariant/parse-positional 1439s ok 16 /gvariant/floating 1439s ok 17 /gvariant/bytestring 1439s ok 18 /gvariant/lookup-value 1439s ok 19 /gvariant/lookup 1439s ok 20 /gvariant/compare 1439s ok 21 /gvariant/equal 1439s ok 22 /gvariant/fixed-array 1439s ok 23 /gvariant/check-format-string 1439s ok 24 /gvariant/checksum-basic 1439s ok 25 /gvariant/checksum-nested 1439s ok 26 /gvariant/gbytes 1439s ok 27 /gvariant/print-context 1439s ok 28 /gvariant/error-quark 1439s ok 29 /gvariant/stack-builder-init 1439s ok 30 /gvariant/stack-dict-init 1439s ok 31 /gvariant/unaligned-construction 1439s # Start of type tests 1439s # Start of string-scan tests 1439s # Start of recursion tests 1439s ok 32 /gvariant/type/string-scan/recursion/tuple 1439s ok 33 /gvariant/type/string-scan/recursion/array 1439s # End of recursion tests 1439s # End of string-scan tests 1439s # End of type tests 1439s # Start of serialiser tests 1439s ok 34 /gvariant/serialiser/maybe 1439s # Executing: glib/gvariant.test 1439s ok 35 /gvariant/serialiser/array 1439s ok 36 /gvariant/serialiser/tuple 1439s ok 37 /gvariant/serialiser/variant 1439s ok 38 /gvariant/serialiser/strings 1440s ok 39 /gvariant/serialiser/byteswap 1440s # slow test /gvariant/serialiser/byteswap executed in 0.62 secs 1440s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1440s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1440s ok 40 /gvariant/serialiser/children 1440s # Start of fuzz tests 1441s ok 41 /gvariant/serialiser/fuzz/1% 1441s # slow test /gvariant/serialiser/fuzz/1% executed in 0.63 secs 1442s ok 42 /gvariant/serialiser/fuzz/5% 1442s # slow test /gvariant/serialiser/fuzz/5% executed in 1.38 secs 1443s ok 43 /gvariant/serialiser/fuzz/9% 1443s # slow test /gvariant/serialiser/fuzz/9% executed in 0.71 secs 1444s ok 44 /gvariant/serialiser/fuzz/13% 1444s # slow test /gvariant/serialiser/fuzz/13% executed in 0.81 secs 1444s # Executing: glib/gvariant.test 1446s ok 45 /gvariant/serialiser/fuzz/17% 1446s # slow test /gvariant/serialiser/fuzz/17% executed in 2.29 secs 1446s # End of fuzz tests 1446s # End of serialiser tests 1446s # Start of varargs tests 1446s # Start of subprocess tests 1446s # End of subprocess tests 1446s # End of varargs tests 1446s # Start of byteswap tests 1446s # /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. 1446s ok 46 /gvariant/byteswap/non-normal-non-aligned 1446s # End of byteswap tests 1446s # Start of parser tests 1446s ok 47 /gvariant/parser/integer-bounds 1446s ok 48 /gvariant/parser/recursion 1446s # Start of recursion tests 1446s ok 49 /gvariant/parser/recursion/typedecls 1446s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1446s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1446s # Text form 0: @mmmu 5 1446s # Text form 1: @mmmas ['hello'] 1446s # Text form 2: @mmmu just just nothing 1446s # Text form 3: @mmmas just just nothing 1446s # Text form 4: @mmmu just nothing 1446s # Text form 5: @mmmas just nothing 1446s # Text form 6: @mmmu nothing 1446s # Text form 7: @mmmas nothing 1446s ok 50 /gvariant/parser/recursion/maybes 1446s # End of recursion tests 1446s # End of parser tests 1446s # Start of parse tests 1446s # Start of subprocess tests 1446s # End of subprocess tests 1446s # End of parse tests 1446s # Start of normal-checking tests 1446s ok 51 /gvariant/normal-checking/tuples 1446s ok 52 /gvariant/normal-checking/array-offsets 1446s ok 53 /gvariant/normal-checking/array-offsets2 1446s ok 54 /gvariant/normal-checking/tuple-offsets 1446s ok 55 /gvariant/normal-checking/tuple-offsets2 1446s ok 56 /gvariant/normal-checking/tuple-offsets3 1446s ok 57 /gvariant/normal-checking/tuple-offsets4 1446s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1446s ok 58 /gvariant/normal-checking/tuple-offsets5 1446s ok 59 /gvariant/normal-checking/empty-object-path 1446s # Start of array-offsets tests 1446s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1446s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1446s # End of array-offsets tests 1446s # Start of tuple-offsets tests 1446s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1446s # End of tuple-offsets tests 1446s # End of normal-checking tests 1446s # Start of recursion-limits tests 1446s ok 63 /gvariant/recursion-limits/variant-in-variant 1446s ok 64 /gvariant/recursion-limits/array-in-variant 1446s # End of recursion-limits tests 1446s # End of gvariant tests 1446s ok - glib/gvariant.test 1446s # Running test: glib/gdbus-peer-object-manager.test 1446s TAP version 13 1446s # random seed: R02S7982d14b6c7ca458ba023bbb80428179 1446s 1..2 1446s # Start of gdbus tests 1446s # Start of peer-object-manager tests 1446s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/normal/.dirs/home 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/normal/.dirs/cache 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/normal/.dirs/system-config2 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/normal/.dirs/config 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/normal/.dirs/system-data2 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/normal/.dirs/data 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/normal/.dirs/state 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/normal/.dirs/runtime 1446s ok 1 /gdbus/peer-object-manager/normal 1446s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/root/.dirs/home 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/root/.dirs/cache 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/root/.dirs/system-config2 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/root/.dirs/config 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/root/.dirs/system-data2 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/root/.dirs/data 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/root/.dirs/state 1446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_XWXZK2/gdbus/peer-object-manager/root/.dirs/runtime 1446s ok 2 /gdbus/peer-object-manager/root 1446s # End of peer-object-manager tests 1446s # End of gdbus tests 1446s ok - glib/gdbus-peer-object-manager.test 1446s # Running test: glib/dynamictests.test 1446s TAP version 13 1446s # random seed: R02S4ee4e36284a9dd69a644d18abecb6daf 1446s 1..2 1446s # Start of GObject tests 1446s ok 1 /GObject/threaded-dynamic-ref-unref-init 1446s ok 2 /GObject/dynamic-interface-properties 1446s # End of GObject tests 1446s ok - glib/dynamictests.test 1446s # Running test: glib/type.test 1446s TAP version 13 1446s # random seed: R02Sf471202a27b873acedfef533e3d3b216 1446s 1..6 1446s # Start of type tests 1446s ok 1 /type/registration-serial 1446s ok 2 /type/interface-prerequisite 1446s ok 3 /type/interface-check 1446s ok 4 /type/next-base 1446s ok 5 /type/is-a 1446s # Invalid types can?t be queried. 1446s # Unclassed types can?t be queried. 1446s ok 6 /type/query 1446s # End of type tests 1446s ok - glib/type.test 1446s # Running test: glib/gdatetime.test 1446s TAP version 13 1446s # random seed: R02Sfbdbc2b133cdfa6f6697fd0e1c7772bb 1446s 1..68 1446s # Start of GDateTime tests 1446s # Bug Reference: http://bugzilla.gnome.org/702674 1446s ok 1 /GDateTime/invalid 1446s ok 2 /GDateTime/add_days 1446s ok 3 /GDateTime/add_full 1446s ok 4 /GDateTime/add_hours 1446s ok 5 /GDateTime/add_minutes 1446s ok 6 /GDateTime/add_months 1446s ok 7 /GDateTime/add_seconds 1446s ok 8 /GDateTime/add_weeks 1446s ok 9 /GDateTime/add_years 1446s ok 10 /GDateTime/compare 1446s ok 11 /GDateTime/diff 1446s ok 12 /GDateTime/equal 1446s ok 13 /GDateTime/get_day_of_week 1446s ok 14 /GDateTime/get_day_of_month 1446s ok 15 /GDateTime/get_day_of_year 1446s ok 16 /GDateTime/get_hour 1446s ok 17 /GDateTime/get_microsecond 1446s ok 18 /GDateTime/get_minute 1446s ok 19 /GDateTime/get_month 1446s ok 20 /GDateTime/get_second 1446s ok 21 /GDateTime/get_utc_offset 1446s ok 22 /GDateTime/get_year 1446s ok 23 /GDateTime/hash 1446s ok 24 /GDateTime/new_from_unix 1446s ok 25 /GDateTime/new_from_unix_utc 1446s ok 26 /GDateTime/new_from_timeval 1446s ok 27 /GDateTime/new_from_timeval_utc 1446s ok 28 /GDateTime/new_from_iso8601 1446s ok 29 /GDateTime/new_full 1446s ok 30 /GDateTime/now 1446s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1446s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1446s ok 32 /GDateTime/printf 1446s ok 33 /GDateTime/non_utf8_printf 1446s ok 34 /GDateTime/format_unrepresentable 1446s ok 35 /GDateTime/format_iso8601 1446s ok 36 /GDateTime/strftime 1446s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1446s # Bug Reference: http://bugzilla.gnome.org/749206 1446s ok 38 /GDateTime/month_names 1446s ok 39 /GDateTime/to_local 1446s ok 40 /GDateTime/to_unix 1446s ok 41 /GDateTime/to_timeval 1446s ok 42 /GDateTime/to_utc 1446s ok 43 /GDateTime/now_utc 1446s ok 44 /GDateTime/dst 1446s # Bug Reference: http://bugzilla.gnome.org/642935 1446s ok 45 /GDateTime/test_z 1448s ok 46 /GDateTime/test-all-dates 1448s # slow test /GDateTime/test-all-dates executed in 1.77 secs 1448s ok 47 /GDateTime/unix_usec 1448s # Start of new_from_unix tests 1448s # Bug Reference: http://bugzilla.gnome.org/782089 1448s ok 48 /GDateTime/new_from_unix/overflow 1448s # End of new_from_unix tests 1448s # Start of new_from_timeval tests 1448s # Bug Reference: http://bugzilla.gnome.org/782089 1448s # Maximum supported GTimeVal.tv_sec = 253402300799 1448s ok 49 /GDateTime/new_from_timeval/overflow 1448s # End of new_from_timeval tests 1448s # Start of new_from_iso8601 tests 1448s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1448s # Vector 0: 1990-11-01T10:21:17Z 1448s # Vector 1: 19901101T102117Z 1448s # Vector 2: 1970-01-01T00:00:17.12Z 1448s # Vector 3: 1970-01-01T00:00:17.1234Z 1448s # Vector 4: 1970-01-01T00:00:17.123456Z 1448s # Vector 5: 1980-02-22T12:36:00+02:00 1448s # Vector 6: 1990-12-31T15:59:60-08:00 1448s # Vector 7: 1448s # Vector 8: x 1448s # Vector 9: 123x 1448s # Vector 10: 2001-10+x 1448s # Vector 11: 1980-02-22T 1448s # Vector 12: 2001-10-08Tx 1448s # Vector 13: 2001-10-08T10:11x 1448s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1448s # Vector 15: 1980-02-22T10:36:00Zulu 1448s # Vector 16: 2T0+819855292164632335 1448s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1448s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1448s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1448s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1448s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1448s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1448s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1448s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1448s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1448s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1448s # Vector 27: 20180803T140805.446178377+0100 1448s # Vector 28: 21474836480803T140805.446178377+0100 1448s # Vector 29: 20181303T140805.446178377+0100 1448s # Vector 30: 20180003T140805.446178377+0100 1448s # Vector 31: 20180800T140805.446178377+0100 1448s # Vector 32: 20180832T140805.446178377+0100 1448s # Vector 33: 20180803T240805.446178377+0100 1448s # Vector 34: 20180803T146005.446178377+0100 1448s # Vector 35: 20180803T140863.446178377+0100 1448s # Vector 36: 20180803T140805.446178377+10000 1448s # Vector 37: -0005-01-01T00:00:00Z 1448s # Vector 38: 2018-08-06 1448s # Vector 39: 20180803T140805,446178377+0100 1448s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1448s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1448s # Vector 42: 1990-11-01T10:21:17 1448s # Vector 43: 1719W462 407777-07 1448s # Vector 44: 4011090 260528Z 1448s # Vector 45: 0000W011 228214-22 1448s ok 50 /GDateTime/new_from_iso8601/2 1448s # End of new_from_iso8601 tests 1448s # Start of format_mixed tests 1448s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1448s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1448s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1448s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1448s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1448s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1448s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1448s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1448s # End of format_mixed tests 1448s # Start of strftime tests 1448s ok 55 /GDateTime/strftime/error_handling 1448s # End of strftime tests 1448s # Start of eras tests 1448s ok 56 /GDateTime/eras/japan 1448s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1448s # Vector 0: 1448s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1448s # 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年 1448s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1448s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1448s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1448s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1448s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1448s # Vector 8: + 1448s # Vector 9: +: 1448s # Vector 10: +:: 1448s # Vector 11: +:200 1448s # Vector 12: +:2nonsense 1448s # Vector 13: +:2nonsense: 1448s # Vector 14: +:2: 1448s # Vector 15: +:2:: 1448s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1448s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1448s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1448s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1448s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1448s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1448s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1448s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1448s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1448s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1448s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1448s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1448s # Vector 28: +:2:2020/01/01 1448s # Vector 29: +:2:2020/01/01: 1448s # Vector 30: +:2:2020/01/01:: 1448s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1448s # Vector 32: +:2:2020/01/01:+* 1448s # Vector 33: +:2:2020/01/01:+*: 1448s # Vector 34: +:2:2020/01/01:+*:: 1448s # Vector 35: +:2:2020/01/01:+*:令和 1448s # Vector 36: +:2:2020/01/01:+*:令和: 1448s # Vector 37: +:2:2020/01/01:+*:令和:; 1448s ok 58 /GDateTime/eras/parsing 1448s # End of eras tests 1448s # End of GDateTime tests 1448s # Start of GTimeZone tests 1448s ok 59 /GTimeZone/find-interval 1448s ok 60 /GTimeZone/adjust-time 1448s ok 61 /GTimeZone/no-header 1448s ok 62 /GTimeZone/no-header-identifier 1448s ok 63 /GTimeZone/posix-parse 1448s # Bug Reference: http://bugzilla.gnome.org/697715 1448s ok 64 /GTimeZone/floating-point 1448s # System time zone identifier: Etc/UTC 1448s ok 65 /GTimeZone/identifier 1448s # Vector 0: -158400 1448s # Vector 1: -10000 1448s # Vector 2: -3600 1448s # Vector 3: -61 1448s # Vector 4: -60 1448s # Vector 5: -59 1448s # Vector 6: 0 1448s # Vector 7: 59 1448s # Vector 8: 60 1448s # Vector 9: 61 1448s # Vector 10: 3600 1448s # Vector 11: 10000 1448s # Vector 12: 158400 1448s ok 66 /GTimeZone/new-offset 1448s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1448s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1448s ok 67 /GTimeZone/parse-rfc8536 1448s # /GTimeZone/caching summary: GTimeZone instances are cached 1448s ok 68 /GTimeZone/caching 1448s # End of GTimeZone tests 1448s ok - glib/gdatetime.test 1448s # Running test: glib/array-test.test 1448s TAP version 13 1448s # random seed: R02Sc82306d884b67a40c2da635824e96385 1448s 1..113 1448s # Start of array tests 1448s ok 1 /array/ref-count 1448s ok 2 /array/steal 1448s ok 3 /array/clear-func 1448s ok 4 /array/binary-search 1448s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1448s ok 5 /array/copy-sized 1448s ok 6 /array/overflow-append-vals 1448s ok 7 /array/overflow-set-size 1448s # Start of new tests 1448s ok 8 /array/new/zero-terminated 1448s ok 9 /array/new/take 1448s ok 10 /array/new/take-zero-terminated 1448s # Start of take tests 1448s ok 11 /array/new/take/empty 1448s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1448s # End of take tests 1448s # End of new tests 1448s # Start of set-size tests 1448s ok 13 /array/set-size/non-zero-terminated-no-clear 1448s ok 14 /array/set-size/non-zero-terminated-clear 1448s ok 15 /array/set-size/zero-terminated-no-clear 1448s ok 16 /array/set-size/zero-terminated-clear 1448s # Start of sized tests 1448s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1448s ok 18 /array/set-size/sized/non-zero-terminated-clear 1448s ok 19 /array/set-size/sized/zero-terminated-no-clear 1448s ok 20 /array/set-size/sized/zero-terminated-clear 1448s # End of sized tests 1448s # End of set-size tests 1448s # Start of append-val tests 1448s ok 21 /array/append-val/non-zero-terminated-no-clear 1448s ok 22 /array/append-val/non-zero-terminated-clear 1448s ok 23 /array/append-val/zero-terminated-no-clear 1448s ok 24 /array/append-val/zero-terminated-clear 1448s # End of append-val tests 1448s # Start of prepend-val tests 1448s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1448s ok 26 /array/prepend-val/non-zero-terminated-clear 1448s ok 27 /array/prepend-val/zero-terminated-no-clear 1448s ok 28 /array/prepend-val/zero-terminated-clear 1448s # End of prepend-val tests 1448s # Start of prepend-vals tests 1448s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1448s ok 30 /array/prepend-vals/non-zero-terminated-clear 1448s ok 31 /array/prepend-vals/zero-terminated-no-clear 1448s ok 32 /array/prepend-vals/zero-terminated-clear 1448s # End of prepend-vals tests 1448s # Start of insert-vals tests 1448s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1448s ok 34 /array/insert-vals/non-zero-terminated-clear 1448s ok 35 /array/insert-vals/zero-terminated-no-clear 1448s ok 36 /array/insert-vals/zero-terminated-clear 1448s # End of insert-vals tests 1448s # Start of remove-index tests 1448s ok 37 /array/remove-index/non-zero-terminated-no-clear 1448s ok 38 /array/remove-index/non-zero-terminated-clear 1448s ok 39 /array/remove-index/zero-terminated-no-clear 1448s ok 40 /array/remove-index/zero-terminated-clear 1448s # End of remove-index tests 1448s # Start of remove-index-fast tests 1448s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1448s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1448s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1448s ok 44 /array/remove-index-fast/zero-terminated-clear 1448s # End of remove-index-fast tests 1448s # Start of remove-range tests 1448s ok 45 /array/remove-range/non-zero-terminated-no-clear 1448s ok 46 /array/remove-range/non-zero-terminated-clear 1448s ok 47 /array/remove-range/zero-terminated-no-clear 1448s ok 48 /array/remove-range/zero-terminated-clear 1448s # End of remove-range tests 1448s # Start of copy tests 1448s ok 49 /array/copy/non-zero-terminated-no-clear 1448s ok 50 /array/copy/non-zero-terminated-clear 1448s ok 51 /array/copy/zero-terminated-no-clear 1448s ok 52 /array/copy/zero-terminated-clear 1448s # End of copy tests 1448s # Start of sort tests 1448s ok 53 /array/sort/non-zero-terminated-no-clear 1448s ok 54 /array/sort/non-zero-terminated-clear 1448s ok 55 /array/sort/zero-terminated-no-clear 1448s ok 56 /array/sort/zero-terminated-clear 1448s # End of sort tests 1448s # Start of sort-with-data tests 1448s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1448s ok 58 /array/sort-with-data/non-zero-terminated-clear 1448s ok 59 /array/sort-with-data/zero-terminated-no-clear 1448s ok 60 /array/sort-with-data/zero-terminated-clear 1448s # End of sort-with-data tests 1448s # End of array tests 1448s # Start of pointerarray tests 1448s ok 61 /pointerarray/add 1448s ok 62 /pointerarray/insert 1448s ok 63 /pointerarray/new-take 1448s ok 64 /pointerarray/new-take-null-terminated 1448s ok 65 /pointerarray/new-from-array 1448s ok 66 /pointerarray/new-from-null-terminated-array 1448s ok 67 /pointerarray/free-func 1448s ok 68 /pointerarray/array_extend_and_steal 1448s ok 69 /pointerarray/sort 1448s ok 70 /pointerarray/sort-with-data 1448s ok 71 /pointerarray/sort-values 1448s ok 72 /pointerarray/sort-values-with-data 1448s ok 73 /pointerarray/remove-range 1448s ok 74 /pointerarray/steal 1448s # Start of free tests 1448s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1448s ok 75 /pointerarray/free/null-terminated 1448s # End of free tests 1448s # Start of new-take tests 1448s ok 76 /pointerarray/new-take/empty 1448s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1448s ok 78 /pointerarray/new-take/with-free-func 1448s # End of new-take tests 1448s # Start of new-take-null-terminated tests 1448s ok 79 /pointerarray/new-take-null-terminated/empty 1448s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1448s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1448s # End of new-take-null-terminated tests 1448s # Start of new-from-array tests 1448s ok 82 /pointerarray/new-from-array/empty 1448s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1448s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1448s # End of new-from-array tests 1448s # Start of new-from-null-terminated-array tests 1448s ok 85 /pointerarray/new-from-null-terminated-array/empty 1448s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1448s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1448s # End of new-from-null-terminated-array tests 1448s # Start of ref-count tests 1448s ok 88 /pointerarray/ref-count/not-null-terminated 1448s ok 89 /pointerarray/ref-count/null-terminated 1448s # End of ref-count tests 1448s # Start of array_copy tests 1448s # /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 1448s ok 90 /pointerarray/array_copy/not-null-terminated 1448s # /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 1448s ok 91 /pointerarray/array_copy/null-terminated 1448s # End of array_copy tests 1448s # Start of array_extend tests 1448s ok 92 /pointerarray/array_extend/not-null-terminated 1448s ok 93 /pointerarray/array_extend/null-terminated 1448s # End of array_extend tests 1448s # Start of sort tests 1448s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1448s ok 94 /pointerarray/sort/example 1448s # End of sort tests 1448s # Start of sort-with-data tests 1448s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1448s ok 95 /pointerarray/sort-with-data/example 1448s # End of sort-with-data tests 1448s # Start of sort-values tests 1448s ok 96 /pointerarray/sort-values/example 1448s # End of sort-values tests 1448s # Start of sort-values-with-data tests 1448s ok 97 /pointerarray/sort-values-with-data/example 1448s # End of sort-values-with-data tests 1448s # Start of find tests 1448s ok 98 /pointerarray/find/empty 1448s ok 99 /pointerarray/find/non-empty 1448s # End of find tests 1448s # Start of steal_index tests 1448s ok 100 /pointerarray/steal_index/not-null-terminated 1448s ok 101 /pointerarray/steal_index/null-terminated 1448s # End of steal_index tests 1448s # End of pointerarray tests 1448s # Start of bytearray tests 1448s ok 102 /bytearray/steal 1448s ok 103 /bytearray/append 1448s ok 104 /bytearray/prepend 1448s ok 105 /bytearray/remove 1448s ok 106 /bytearray/remove-fast 1448s ok 107 /bytearray/remove-range 1448s ok 108 /bytearray/ref-count 1448s ok 109 /bytearray/sort 1448s ok 110 /bytearray/sort-with-data 1448s ok 111 /bytearray/new-take 1448s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1448s ok 113 /bytearray/free-to-bytes 1448s # End of bytearray tests 1448s ok - glib/array-test.test 1448s # Running test: glib/mount-operation.test 1448s TAP version 13 1448s # random seed: R02S5a92ba26d949232b3069b6db580e8c93 1448s 1..2 1448s # Start of mount-operation tests 1448s ok 1 /mount-operation/construction 1448s ok 2 /mount-operation/properties 1448s # End of mount-operation tests 1448s ok - glib/mount-operation.test 1448s # Running test: glib/unicode.test 1448s TAP version 13 1448s # random seed: R02Saa16c03c1d791a7ce375fe99d75f4b2d 1448s 1..39 1448s # Start of unicode tests 1448s ok 1 /unicode/alnum 1448s ok 2 /unicode/alpha 1448s ok 3 /unicode/break-type 1448s ok 4 /unicode/canonical-decomposition 1448s ok 5 /unicode/casefold 1448s # Cannot set locale to lt_LT, skipping 1448s # Cannot set locale to lt_LT, skipping 1448s # Cannot set locale to lt_LT, skipping 1448s # Cannot set locale to lt_LT, skipping 1448s # Cannot set locale to lt_LT, skipping 1448s # Cannot set locale to lt_LT, skipping 1448s # Cannot set locale to lt_LT, skipping 1448s # Cannot set locale to lt_LT, skipping 1448s # Cannot set locale to lt_LT, skipping 1448s # Cannot set locale to lt_LT, skipping 1448s # Cannot set locale to lt_LT, skipping 1448s ok 6 /unicode/casemap_and_casefold 1448s ok 7 /unicode/cases 1448s ok 8 /unicode/character-type 1448s ok 9 /unicode/cntrl 1448s ok 10 /unicode/combining-class 1448s ok 11 /unicode/compose 1448s ok 12 /unicode/decompose 1448s ok 13 /unicode/decompose-tail 1448s ok 14 /unicode/defined 1448s ok 15 /unicode/digit 1448s ok 16 /unicode/digit-value 1448s ok 17 /unicode/fully-decompose-canonical 1448s ok 18 /unicode/fully-decompose-len 1448s ok 19 /unicode/normalization 1448s ok 20 /unicode/graph 1448s # Testing script Zyyy (code 1517910393) 1448s # Testing script Zinh (code 1516858984) 1448s # Testing script Zmth (code 1517122664) 1448s # Testing script Arab (code 1098015074) 1448s # Testing script Armn (code 1098018158) 1448s # Testing script Beng (code 1113943655) 1448s # Testing script Bopo (code 1114599535) 1448s # Testing script Cher (code 1130915186) 1448s # Testing script Copt (code 1131376756) 1448s # Testing script Cyrl (code 1132032620) 1448s # Testing script Dsrt (code 1148416628) 1448s # Testing script Deva (code 1147500129) 1448s # Testing script Ethi (code 1165256809) 1448s # Testing script Geor (code 1197830002) 1448s # Testing script Goth (code 1198486632) 1448s # Testing script Grek (code 1198679403) 1448s # Testing script Gujr (code 1198877298) 1448s # Testing script Guru (code 1198879349) 1448s # Testing script Hani (code 1214344809) 1448s # Testing script Hang (code 1214344807) 1448s # Testing script Hebr (code 1214603890) 1448s # Testing script Hira (code 1214870113) 1448s # Testing script Knda (code 1265525857) 1448s # Testing script Kana (code 1264676449) 1448s # Testing script Khmr (code 1265134962) 1448s # Testing script Laoo (code 1281453935) 1448s # Testing script Latn (code 1281455214) 1448s # Testing script Mlym (code 1298954605) 1448s # Testing script Mong (code 1299148391) 1448s # Testing script Mymr (code 1299803506) 1448s # Testing script Ogam (code 1332175213) 1448s # Testing script Ital (code 1232363884) 1448s # Testing script Orya (code 1332902241) 1448s # Testing script Runr (code 1383427698) 1448s # Testing script Sinh (code 1399418472) 1448s # Testing script Syrc (code 1400468067) 1448s # Testing script Taml (code 1415671148) 1448s # Testing script Telu (code 1415933045) 1448s # Testing script Thaa (code 1416126817) 1448s # Testing script Thai (code 1416126825) 1448s # Testing script Tibt (code 1416192628) 1448s # Testing script Cans (code 1130458739) 1448s # Testing script Yiii (code 1500080489) 1448s # Testing script Tglg (code 1416064103) 1448s # Testing script Hano (code 1214344815) 1448s # Testing script Buhd (code 1114990692) 1448s # Testing script Tagb (code 1415669602) 1448s # Testing script Brai (code 1114792297) 1448s # Testing script Cprt (code 1131442804) 1448s # Testing script Limb (code 1281977698) 1448s # Testing script Osma (code 1332964705) 1448s # Testing script Shaw (code 1399349623) 1448s # Testing script Linb (code 1281977954) 1448s # Testing script Tale (code 1415670885) 1448s # Testing script Ugar (code 1432838514) 1448s # Testing script Talu (code 1415670901) 1448s # Testing script Bugi (code 1114990441) 1448s # Testing script Glag (code 1198285159) 1448s # Testing script Tfng (code 1415999079) 1448s # Testing script Sylo (code 1400466543) 1448s # Testing script Xpeo (code 1483761007) 1448s # Testing script Khar (code 1265131890) 1448s # Testing script Zzzz (code 1517976186) 1448s # Testing script Bali (code 1113681001) 1448s # Testing script Xsux (code 1483961720) 1448s # Testing script Phnx (code 1349021304) 1448s # Testing script Phag (code 1349017959) 1448s # Testing script Nkoo (code 1315663727) 1448s # Testing script Kali (code 1264675945) 1448s # Testing script Lepc (code 1281716323) 1448s # Testing script Rjng (code 1382706791) 1448s # Testing script Sund (code 1400204900) 1448s # Testing script Saur (code 1398895986) 1448s # Testing script Cham (code 1130914157) 1448s # Testing script Olck (code 1332503403) 1448s # Testing script Vaii (code 1449224553) 1448s # Testing script Cari (code 1130459753) 1448s # Testing script Lyci (code 1283023721) 1448s # Testing script Lydi (code 1283023977) 1448s # Testing script Avst (code 1098281844) 1448s # Testing script Bamu (code 1113681269) 1448s # Testing script Egyp (code 1164409200) 1448s # Testing script Armi (code 1098018153) 1448s # Testing script Phli (code 1349020777) 1448s # Testing script Prti (code 1349678185) 1448s # Testing script Java (code 1247901281) 1448s # Testing script Kthi (code 1265920105) 1448s # Testing script Lisu (code 1281979253) 1448s # Testing script Mtei (code 1299473769) 1448s # Testing script Sarb (code 1398895202) 1448s # Testing script Orkh (code 1332898664) 1448s # Testing script Samr (code 1398893938) 1448s # Testing script Lana (code 1281453665) 1448s # Testing script Tavt (code 1415673460) 1448s # Testing script Batk (code 1113683051) 1448s # Testing script Brah (code 1114792296) 1448s # Testing script Mand (code 1298230884) 1448s # Testing script Cakm (code 1130457965) 1448s # Testing script Merc (code 1298494051) 1448s # Testing script Mero (code 1298494063) 1448s # Testing script Plrd (code 1349284452) 1448s # Testing script Shrd (code 1399353956) 1448s # Testing script Sora (code 1399812705) 1448s # Testing script Takr (code 1415670642) 1448s # Testing script Bass (code 1113682803) 1448s # Testing script Aghb (code 1097295970) 1448s # Testing script Dupl (code 1148547180) 1448s # Testing script Elba (code 1164730977) 1448s # Testing script Gran (code 1198678382) 1448s # Testing script Khoj (code 1265135466) 1448s # Testing script Sind (code 1399418468) 1448s # Testing script Lina (code 1281977953) 1448s # Testing script Mahj (code 1298229354) 1448s # Testing script Mani (code 1298230889) 1448s # Testing script Mend (code 1298493028) 1448s # Testing script Modi (code 1299145833) 1448s # Testing script Mroo (code 1299345263) 1448s # Testing script Nbat (code 1315070324) 1448s # Testing script Narb (code 1315009122) 1448s # Testing script Perm (code 1348825709) 1448s # Testing script Hmng (code 1215131239) 1448s # Testing script Palm (code 1348562029) 1448s # Testing script Pauc (code 1348564323) 1448s # Testing script Phlp (code 1349020784) 1448s # Testing script Sidd (code 1399415908) 1448s # Testing script Tirh (code 1416196712) 1448s # Testing script Wara (code 1466004065) 1448s # Testing script Ahom (code 1097363309) 1448s # Testing script Hluw (code 1215067511) 1448s # Testing script Hatr (code 1214346354) 1448s # Testing script Mult (code 1299541108) 1448s # Testing script Hung (code 1215655527) 1448s # Testing script Sgnw (code 1399287415) 1448s # Testing script Adlm (code 1097100397) 1448s # Testing script Bhks (code 1114139507) 1448s # Testing script Marc (code 1298231907) 1448s # Testing script Newa (code 1315272545) 1448s # Testing script Osge (code 1332963173) 1448s # Testing script Tang (code 1415671399) 1448s # Testing script Gonm (code 1198485101) 1448s # Testing script Nshu (code 1316186229) 1448s # Testing script Soyo (code 1399814511) 1448s # Testing script Zanb (code 1516334690) 1448s # Testing script Dogr (code 1148151666) 1448s # Testing script Gong (code 1198485095) 1448s # Testing script Rohg (code 1383032935) 1448s # Testing script Maka (code 1298230113) 1448s # Testing script Medf (code 1298490470) 1448s # Testing script Sogo (code 1399809903) 1448s # Testing script Sogd (code 1399809892) 1448s # Testing script Elym (code 1164736877) 1448s # Testing script Nand (code 1315008100) 1448s # Testing script Hmnp (code 1215131248) 1448s # Testing script Wcho (code 1466132591) 1448s # Testing script Chrs (code 1130918515) 1448s # Testing script Diak (code 1147756907) 1448s # Testing script Kits (code 1265202291) 1448s # Testing script Yezi (code 1499822697) 1448s # Testing script Cpmn (code 1131441518) 1448s # Testing script Ougr (code 1333094258) 1448s # Testing script Tnsa (code 1416524641) 1448s # Testing script Toto (code 1416590447) 1448s # Testing script Vith (code 1449751656) 1448s # Testing script Kawi (code 1264678761) 1448s # Testing script Nagm (code 1315006317) 1448s ok 21 /unicode/iso15924 1448s ok 22 /unicode/lower 1448s ok 23 /unicode/mark 1448s ok 24 /unicode/mirror 1448s ok 25 /unicode/print 1448s ok 26 /unicode/punctuation 1448s ok 27 /unicode/script 1448s ok 28 /unicode/space 1448s ok 29 /unicode/strdown 1448s ok 30 /unicode/strup 1448s ok 31 /unicode/turkish-strupdown 1448s ok 32 /unicode/title 1448s ok 33 /unicode/upper 1448s ok 34 /unicode/validate 1448s ok 35 /unicode/wide 1448s ok 36 /unicode/xdigit 1448s ok 37 /unicode/xdigit-value 1448s ok 38 /unicode/zero-width 1448s ok 39 /unicode/normalize 1448s # End of unicode tests 1448s ok - glib/unicode.test 1448s # Running test: glib/mutex.test 1448s TAP version 13 1448s # random seed: R02S2af670ce15609f4ce05f7e476fcbc6c6 1448s 1..17 1448s # Start of thread tests 1448s ok 1 /thread/mutex1 1448s ok 2 /thread/mutex2 1448s ok 3 /thread/mutex3 1448s ok 4 /thread/mutex4 1449s # Executing: glib/mutex.test 1454s # Executing: glib/mutex.test 1459s # Executing: glib/mutex.test 1464s # Executing: glib/mutex.test 1464s ok 5 /thread/mutex5 1464s # slow test /thread/mutex5 executed in 16.00 secs 1464s # Start of mutex tests 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1464s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1465s ok 6 /thread/mutex/errno 1465s # slow test /thread/mutex/errno executed in 0.89 secs 1465s # Start of perf tests 1465s # max perf: 1.000000 mips 1465s ok 7 /thread/mutex/perf/uncontended 1465s # Start of contended tests 1465s # max perf: inf mips 1465s ok 8 /thread/mutex/perf/contended/1 1465s # max perf: 3.000000 mips 1465s ok 9 /thread/mutex/perf/contended/2 1465s # max perf: 4.000000 mips 1465s ok 10 /thread/mutex/perf/contended/3 1465s # max perf: inf mips 1465s ok 11 /thread/mutex/perf/contended/4 1465s # max perf: 6.000000 mips 1465s ok 12 /thread/mutex/perf/contended/5 1465s # max perf: 7.000000 mips 1465s ok 13 /thread/mutex/perf/contended/6 1465s # max perf: inf mips 1465s ok 14 /thread/mutex/perf/contended/7 1465s # max perf: 9.000000 mips 1465s ok 15 /thread/mutex/perf/contended/8 1465s # max perf: 10.000000 mips 1465s ok 16 /thread/mutex/perf/contended/9 1465s # max perf: 11.000000 mips 1465s ok 17 /thread/mutex/perf/contended/10 1465s # End of contended tests 1465s # End of perf tests 1465s # End of mutex tests 1465s # End of thread tests 1465s ok - glib/mutex.test 1465s # Running test: glib/autoptr.test 1465s TAP version 13 1465s # random seed: R02Sde7c575d64c97396a03c4935162b7341 1465s 1..6 1465s # Start of autoptr tests 1465s ok 1 /autoptr/autoptr 1465s ok 2 /autoptr/autoptr_steal 1465s ok 3 /autoptr/autolist 1465s ok 4 /autoptr/autoslist 1465s ok 5 /autoptr/autoqueue 1465s ok 6 /autoptr/autoclass 1465s # End of autoptr tests 1465s ok - glib/autoptr.test 1465s # Running test: glib/objects-refcount1.test 1465s TAP version 13 1465s # random seed: R02S28077aa4be71acf7bea58d59099e29c6 1465s 1..1 1465s # Start of gobject tests 1465s # Start of refcount tests 1465s # init 0xc5c663e98750 1465s # 1465s # init 0xc5c663e988e0 1465s # 1469s # Executing: glib/objects-refcount1.test 1470s # dispose 0xc5c663e98750! 1470s # 1470s # dispose 0xc5c663e988e0! 1470s # 1470s ok 1 /gobject/refcount/object-basics 1470s # slow test /gobject/refcount/object-basics executed in 5.01 secs 1470s # End of refcount tests 1470s # End of gobject tests 1470s ok - glib/objects-refcount1.test 1470s # Running test: glib/atomic-c-90.test 1470s TAP version 13 1470s # random seed: R02S6eae57b4336704b6ee9cf509eadfc803 1470s 1..2 1470s # Start of atomic tests 1470s ok 1 /atomic/types 1471s ok 2 /atomic/threaded 1471s # End of atomic tests 1471s ok - glib/atomic-c-90.test 1471s # Running test: glib/gdbus-auth.test 1471s TAP version 13 1471s # random seed: R02Sba1ade6922509ea2dc478224d748e342 1471s 1..5 1471s # Start of gdbus tests 1471s # Start of auth tests 1471s # Start of client tests 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/EXTERNAL/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/EXTERNAL/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/EXTERNAL/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/EXTERNAL/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/EXTERNAL/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1471s ok 1 /gdbus/auth/client/EXTERNAL 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1471s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1471s # End of client tests 1471s # Start of server tests 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/ANONYMOUS/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/ANONYMOUS/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/ANONYMOUS/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/ANONYMOUS/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1471s ok 3 /gdbus/auth/server/ANONYMOUS 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/EXTERNAL/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/EXTERNAL/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/EXTERNAL/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/EXTERNAL/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/EXTERNAL/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1471s ok 4 /gdbus/auth/server/EXTERNAL 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_AF9QK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1471s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1471s # End of server tests 1471s # End of auth tests 1471s # End of gdbus tests 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s ok - glib/gdbus-auth.test 1471s # Running test: glib/properties.test 1471s TAP version 13 1471s # random seed: R02Saa125ed828e6dfd618f7b26fc1dbdf72 1471s 1..13 1471s # Start of properties tests 1471s ok 1 /properties/install 1471s ok 2 /properties/install-many 1471s ok 3 /properties/notify 1471s ok 4 /properties/notify-queue 1471s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1471s ok 5 /properties/construct 1471s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1471s # Test g_object_get_property with an initialized value 1471s # Test g_object_get_property with an uninitialized value 1471s # Test g_object_get_property with a transformable value 1471s ok 6 /properties/get-property 1471s ok 7 /properties/testv_with_no_properties 1471s ok 8 /properties/testv_with_valid_properties 1471s ok 9 /properties/testv_with_invalid_property_type 1471s ok 10 /properties/testv_with_invalid_property_names 1471s ok 11 /properties/testv_getv 1471s ok 12 /properties/testv_notify_queue 1471s # Start of set-property tests 1471s # Start of variant tests 1471s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1471s ok 13 /properties/set-property/variant/floating 1471s # End of variant tests 1471s # End of set-property tests 1471s # End of properties tests 1471s ok - glib/properties.test 1471s # Running test: glib/struct-info.test 1471s TAP version 13 1471s # random seed: R02S9636323500b75de2db1a2710eb8bbcef 1471s 1..4 1471s # Start of struct-info tests 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_PYAWK2/struct-info/field-iterators/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_PYAWK2/struct-info/field-iterators/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_PYAWK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_PYAWK2/struct-info/field-iterators/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_PYAWK2/struct-info/field-iterators/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_PYAWK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_PYAWK2/struct-info/field-iterators/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_PYAWK2/struct-info/field-iterators/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_PYAWK2/struct-info/field-iterators/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_PYAWK2/struct-info/field-iterators/.dirs/runtime 1471s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1471s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1471s ok 1 /struct-info/field-iterators 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_PYAWK2/struct-info/sizeof-gvalue/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_PYAWK2/struct-info/sizeof-gvalue/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_PYAWK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_PYAWK2/struct-info/sizeof-gvalue/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_PYAWK2/struct-info/sizeof-gvalue/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_PYAWK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_PYAWK2/struct-info/sizeof-gvalue/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_PYAWK2/struct-info/sizeof-gvalue/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_PYAWK2/struct-info/sizeof-gvalue/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_PYAWK2/struct-info/sizeof-gvalue/.dirs/runtime 1471s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1471s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1471s ok 2 /struct-info/sizeof-gvalue 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_PYAWK2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_PYAWK2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_PYAWK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_PYAWK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_PYAWK2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_PYAWK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_PYAWK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_PYAWK2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_PYAWK2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_PYAWK2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1471s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1471s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1471s ok 3 /struct-info/is-pointer-for-struct-method-arg 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_PYAWK2/struct-info/boxed/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_PYAWK2/struct-info/boxed/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_PYAWK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_PYAWK2/struct-info/boxed/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_PYAWK2/struct-info/boxed/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_PYAWK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_PYAWK2/struct-info/boxed/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_PYAWK2/struct-info/boxed/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_PYAWK2/struct-info/boxed/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_PYAWK2/struct-info/boxed/.dirs/runtime 1471s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1471s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1471s ok 4 /struct-info/boxed 1471s # End of struct-info tests 1471s ok - glib/struct-info.test 1471s # Running test: glib/data-output-stream.test 1471s TAP version 13 1471s # random seed: R02S761dc30a9e5f04fab471a1f9a2c77edf 1471s 1..7 1471s # Start of data-output-stream tests 1471s ok 1 /data-output-stream/basic 1471s ok 2 /data-output-stream/write-lines-LF 1471s ok 3 /data-output-stream/write-lines-CR 1471s ok 4 /data-output-stream/write-lines-CR-LF 1471s ok 5 /data-output-stream/write-int 1471s ok 6 /data-output-stream/seek 1471s ok 7 /data-output-stream/truncate 1471s # End of data-output-stream tests 1471s ok - glib/data-output-stream.test 1471s # Running test: glib/closure-refcount.test 1471s TAP version 13 1471s # random seed: R02Sa0c20718c6f0d004a2cfb52eaafcb103 1471s 1..1 1471s # Start of closure tests 1471s # Init 0xb24925ff11e0 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from thread1 1471s # Yielding from thread2 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from thread1 1471s # Yielding from thread2 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from thread1 1471s # Yielding from thread2 1471s # Stopping 1471s # Stopped 1471s ok 1 /closure/refcount 1471s # slow test /closure/refcount executed in 0.55 secs 1471s # End of closure tests 1471s ok - glib/closure-refcount.test 1471s # Running test: glib/win32-appinfo.test 1471s TAP version 13 1471s # random seed: R02S575de0ead8c6af6adf7eb0053680523f 1471s 1..5 1471s # Start of appinfo tests 1471s ok 1 /appinfo/utf16-strfuncs 1471s ok 2 /appinfo/win32-extract-executable 1471s ok 3 /appinfo/win32-rundll32-fixup 1471s ok 4 /appinfo/win32-parse-filename 1471s ok 5 /appinfo/win32-utf16-conversion-fail 1471s # Start of subprocess tests 1471s # End of subprocess tests 1471s # End of appinfo tests 1471s ok - glib/win32-appinfo.test 1471s # Running test: glib/fdo-notification-backend.test 1471s TAP version 13 1471s # random seed: R02S0bb77a7a4d5f377e362c1f79c123fe86 1471s 1..2 1471s # Start of fdo-notification-backend tests 1471s # Test constructing a GFdoNotificationBackend 1471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s ok 1 /fdo-notification-backend/construction 1471s # Start of dbus tests 1471s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1471s ok 2 /fdo-notification-backend/dbus/activate-action 1471s # End of dbus tests 1471s # End of fdo-notification-backend tests 1471s ok - glib/fdo-notification-backend.test 1471s # Running test: glib/tls-certificate.test 1471s TAP version 13 1471s # random seed: R02Sb0cd2d6a006144fe1db83d7866b6314d 1471s 1..19 1471s # Start of tls-certificate tests 1471s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1471s ok 1 /tls-certificate/pem-parser 1471s ok 2 /tls-certificate/pem-parser-handles-chain 1471s ok 3 /tls-certificate/from_file 1471s ok 4 /tls-certificate/from_files 1471s ok 5 /tls-certificate/from_files_crlf 1471s ok 6 /tls-certificate/from_files_pkcs8 1471s ok 7 /tls-certificate/from_files_pkcs8enc 1471s ok 8 /tls-certificate/list_from_file 1471s ok 9 /tls-certificate/pkcs11-uri 1471s ok 10 /tls-certificate/pkcs11-uri-unsupported 1471s ok 11 /tls-certificate/from_pkcs12 1471s ok 12 /tls-certificate/from_pkcs12_file 1471s ok 13 /tls-certificate/not-valid-before 1471s ok 14 /tls-certificate/not-valid-after 1471s ok 15 /tls-certificate/subject-name 1471s ok 16 /tls-certificate/issuer-name 1471s ok 17 /tls-certificate/dns-names 1471s ok 18 /tls-certificate/ip-addresses 1471s ok 19 /tls-certificate/pem-parser-no-sentinel 1471s # End of tls-certificate tests 1471s ok - glib/tls-certificate.test 1471s # Running test: glib/once.test 1471s TAP version 13 1471s # random seed: R02S16a9d9f830a0e77cf00dbf83d20dd381 1471s 1..5 1471s # Start of once tests 1471s # /once/single-threaded summary: Test g_once() usage from a single thread 1471s ok 1 /once/single-threaded 1471s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1471s ok 2 /once/multi-threaded 1471s # End of once tests 1471s # Start of once-init tests 1471s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1471s ok 3 /once-init/single-threaded 1471s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1471s ok 4 /once-init/multi-threaded 1471s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1471s ok 5 /once-init/string 1471s # End of once-init tests 1471s ok - glib/once.test 1471s # Running test: glib/converter-stream.test 1471s TAP version 13 1471s # random seed: R02Sc730c232c45ecf6a4d75d6e0f582b03c 1471s 1..17 1471s # Start of converter tests 1471s ok 1 /converter/basics 1471s # End of converter tests 1471s # Start of converter-input-stream tests 1471s ok 2 /converter-input-stream/expander 1471s ok 3 /converter-input-stream/compressor 1471s # Start of truncation tests 1472s ok 4 /converter-input-stream/truncation/zlib 1472s ok 5 /converter-input-stream/truncation/gzip 1472s ok 6 /converter-input-stream/truncation/raw 1472s # End of truncation tests 1472s # Start of charset tests 1472s ok 7 /converter-input-stream/charset/utf8->latin1 1472s ok 8 /converter-input-stream/charset/latin1->utf8 1472s ok 9 /converter-input-stream/charset/fallbacks 1472s # End of charset tests 1472s # End of converter-input-stream tests 1472s # Start of converter-output-stream tests 1472s # Start of roundtrip tests 1472s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1472s ok 10 /converter-output-stream/roundtrip/zlib-0 1472s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1472s ok 11 /converter-output-stream/roundtrip/zlib-9 1472s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1472s ok 12 /converter-output-stream/roundtrip/gzip-0 1472s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1473s ok 13 /converter-output-stream/roundtrip/gzip-9 1473s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1473s ok 14 /converter-output-stream/roundtrip/raw-0 1473s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1473s ok 15 /converter-output-stream/roundtrip/raw-9 1473s # End of roundtrip tests 1473s # End of converter-output-stream tests 1473s # Start of converter-stream tests 1473s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1473s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbf3443170dd0 and GSocketClientAsyncConnectData 0xbf3443566330 1473s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1473s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1473s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbf3443181550 for GSocketClientAsyncConnectData 0xbf3443566330 1473s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1473s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1473s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1473s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1473s ok 16 /converter-stream/pollable 1473s ok 17 /converter-stream/leftover 1473s # End of converter-stream tests 1473s ok - glib/converter-stream.test 1473s # Running test: glib/1bit-mutex.test 1473s TAP version 13 1473s # random seed: R02S4f31e54236e78abea8de84c1481fdb2f 1473s 1..2 1473s # Start of glib tests 1473s # Start of 1bit-mutex tests 1474s # Executing: glib/1bit-mutex.test 1479s # Executing: glib/1bit-mutex.test 1484s # Executing: glib/1bit-mutex.test 1489s # Executing: glib/1bit-mutex.test 1489s ok 1 /glib/1bit-mutex/int 1489s # slow test /glib/1bit-mutex/int executed in 15.95 secs 1494s # Executing: glib/1bit-mutex.test 1499s # Executing: glib/1bit-mutex.test 1504s # Executing: glib/1bit-mutex.test 1505s ok 2 /glib/1bit-mutex/pointer 1505s # slow test /glib/1bit-mutex/pointer executed in 16.12 secs 1505s # End of 1bit-mutex tests 1505s # End of glib tests 1505s ok - glib/1bit-mutex.test 1505s # Running test: glib/portal-support-none.test 1505s TAP version 13 1505s # random seed: R02Sa94af8849e2c5f13a1f54d5c50bc72ac 1505s 1..1 1505s # Start of portal-support tests 1505s ok 1 /portal-support/none 1505s # End of portal-support tests 1505s ok - glib/portal-support-none.test 1505s # Running test: glib/enums.test 1505s TAP version 13 1505s # random seed: R02S55aba9364d7e7b2f05420e7c9f6e61b5 1505s 1..4 1505s # Start of enum tests 1505s ok 1 /enum/basic 1505s ok 2 /enum/define-type 1505s # End of enum tests 1505s # Start of flags tests 1505s ok 3 /flags/basic 1505s ok 4 /flags/define-type 1505s # End of flags tests 1505s ok - glib/enums.test 1505s # Running test: glib/gthash.test 1505s TAP version 13 1505s # random seed: R02Sfc4dd417ad5c7452a2139425d5bfd303 1505s 1..1 1505s # Start of gthash tests 1505s ok 1 /gthash/build-retrieve 1505s # End of gthash tests 1505s ok - glib/gthash.test 1505s # Running test: glib/slice.test 1505s TAP version 13 1505s # random seed: R02S0a1a420327f409244d21e79d6072c6da 1505s 1..3 1505s # Start of slice tests 1505s ok 1 /slice/copy 1505s ok 2 /slice/chain 1506s ok 3 /slice/allocate 1506s # slow test /slice/allocate executed in 0.51 secs 1506s # End of slice tests 1506s ok - glib/slice.test 1506s # Running test: glib/cancellable.test 1506s TAP version 13 1506s # random seed: R02Sc2af0e1a62b84f3de32c9b066ec43736 1506s 1..10 1506s # Start of cancellable tests 1506s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1506s ok 2 /cancellable/null 1506s # /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 1506s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1506s # /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 1506s ok 4 /cancellable/resets-on-cancel-callback-hangs 1506s ok 5 /cancellable/poll-fd 1506s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1506s ok 6 /cancellable/poll-fd-cancelled 1506s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1506s ok 7 /cancellable/poll-fd-cancelled-threaded 1506s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1506s ok 8 /cancellable/cancel-reset-races 1506s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1506s ok 9 /cancellable/cancel-reset-connect-races 1506s # End of cancellable tests 1506s # Start of cancellable-source tests 1506s # /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) 1506s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1507s ok 10 /cancellable-source/threaded-dispose 1507s # slow test /cancellable-source/threaded-dispose executed in 1.17 secs 1507s # End of cancellable-source tests 1507s ok - glib/cancellable.test 1507s # Running test: glib/cxx-98.test 1507s TAP version 13 1507s # random seed: R02S0f49272d8660bdebbfa167273123ff58 1507s 1..2 1507s # Start of gtask tests 1507s # 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. 1507s ok 1 /gtask/name 1507s # Start of name tests 1507s # 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. 1507s ok 2 /gtask/name/macro-wrapper 1507s # End of name tests 1507s # End of gtask tests 1507s ok - glib/cxx-98.test 1507s # Running test: glib/gsocketclient-slow.test 1507s TAP version 13 1507s # random seed: R02Sc4db4c9392cd9d13f8b4d7bf57c7a024 1507s 1..3 1507s # Start of socket-client tests 1507s # Start of happy-eyeballs tests 1507s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1507s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb33a40875b30 and GSocketClientAsyncConnectData 0xb33a4086f2f0 1507s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1507s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1507s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb33a40877200 for GSocketClientAsyncConnectData 0xb33a4086f2f0 1507s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1508s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1508s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1508s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1508s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1508s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1508s ok 1 /socket-client/happy-eyeballs/slow 1508s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1508s # Start of cancellation tests 1508s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb33a4087a920 and GSocketClientAsyncConnectData 0xb33a40876a10 1508s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1508s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1508s ok 2 /socket-client/happy-eyeballs/cancellation/instant 1508s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb33a40879710 and GSocketClientAsyncConnectData 0xb33a4086f2f0 1508s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1508s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1508s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb33a4087b570 for GSocketClientAsyncConnectData 0xb33a4086f2f0 1508s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1508s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1508s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1508s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1508s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1508s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1508s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 1508s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1508s # End of cancellation tests 1508s # End of happy-eyeballs tests 1508s # End of socket-client tests 1508s ok - glib/gsocketclient-slow.test 1508s # Running test: glib/glistmodel.test 1508s TAP version 13 1508s # random seed: R02Se8d645ae86b6e5ec0efde7510d69403d 1508s 1..18 1508s # Start of glistmodel tests 1508s # Start of store tests 1508s ok 1 /glistmodel/store/properties 1508s ok 2 /glistmodel/store/non-gobjects 1508s ok 3 /glistmodel/store/boundaries 1508s ok 4 /glistmodel/store/refcounts 1508s ok 5 /glistmodel/store/sorted 1509s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1509s ok 6 /glistmodel/store/splice-replace-middle 1509s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1509s ok 7 /glistmodel/store/splice-replace-all 1509s ok 8 /glistmodel/store/splice-noop 1509s ok 9 /glistmodel/store/splice-remove-multiple 1509s ok 10 /glistmodel/store/splice-add-multiple 1509s ok 11 /glistmodel/store/splice-wrong-type 1509s ok 12 /glistmodel/store/item-type 1509s ok 13 /glistmodel/store/remove-all 1509s ok 14 /glistmodel/store/sort 1509s ok 15 /glistmodel/store/get-item-cache 1509s ok 16 /glistmodel/store/items-changed 1509s ok 17 /glistmodel/store/past-end 1509s ok 18 /glistmodel/store/find 1509s # End of store tests 1509s # End of glistmodel tests 1509s ok - glib/glistmodel.test 1509s # Running test: glib/spawn-path-search.test 1509s TAP version 13 1509s # random seed: R02Sc5a3074a407538ed7038f1a28bffd405 1509s 1..7 1509s # Start of spawn tests 1509s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1509s # 1509s # this is spawn-test-helper from glib/tests 1509s # 1509s ok 1 /spawn/do-not-search 1509s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1509s # 1509s # this is spawn-test-helper from path-test-subdir 1509s # 1509s ok 2 /spawn/search-path 1509s # /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. 1509s # 1509s # this is spawn-test-helper from path-test-subdir 1509s # 1509s ok 3 /spawn/search-path-from-envp 1509s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1509s # 1509s # this is spawn-test-helper from path-test-subdir 1509s # 1509s ok 4 /spawn/search-path-ambiguous 1509s # 1509s # this is spawn-test-helper from path-test-subdir 1509s # 1509s ok 5 /spawn/search-path-heap-allocation 1509s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1509s # 1509s # this is spawn-test-helper from glib/tests 1509s # 1509s ok 6 /spawn/search-path-fallback-in-environ 1509s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1509s # 1509s # this is spawn-test-helper from glib/tests 1509s # 1509s ok 7 /spawn/search-path-fallback-in-envp 1509s # End of spawn tests 1509s ok - glib/spawn-path-search.test 1509s # Running test: glib/task.test 1509s TAP version 13 1509s # random seed: R02Sd82d914f02259344c30374fb3ea313ba 1509s 1..36 1509s # Start of gtask tests 1509s ok 1 /gtask/basic 1509s ok 2 /gtask/error 1509s ok 3 /gtask/error-literal 1509s ok 4 /gtask/error-literal-from-variable 1509s ok 5 /gtask/return-from-same-iteration 1509s ok 6 /gtask/return-from-toplevel 1509s ok 7 /gtask/return-from-anon-thread 1509s ok 8 /gtask/return-from-wrong-thread 1509s ok 9 /gtask/no-callback 1509s ok 10 /gtask/report-error 1509s ok 11 /gtask/priority 1509s ok 12 /gtask/name 1509s ok 13 /gtask/static-name 1509s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1509s ok 14 /gtask/asynchronous-cancellation 1509s ok 15 /gtask/check-cancellable 1509s ok 16 /gtask/return-if-cancelled 1509s ok 17 /gtask/run-in-thread 1509s ok 18 /gtask/run-in-thread-sync 1509s ok 19 /gtask/run-in-thread-priority 1509s # Executing: glib/task.test 1509s ok 20 /gtask/run-in-thread-nested 1510s ok 21 /gtask/run-in-thread-overflow 1510s # slow test /gtask/run-in-thread-overflow executed in 0.53 secs 1510s # GLib-GIO-DEBUG: GTask 0xb6e4e25e5230 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1510s # GLib-GIO-DEBUG: GTask 0xb6e4e25e4ca0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1510s ok 22 /gtask/return-on-cancel 1510s # GLib-GIO-DEBUG: GTask 0xb6e4e25e4470 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1510s # GLib-GIO-DEBUG: GTask 0xb6e4e2654fc0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1510s ok 23 /gtask/return-on-cancel-sync 1510s ok 24 /gtask/return-on-cancel-atomic 1510s ok 25 /gtask/return-pointer 1510s ok 26 /gtask/return-value 1510s ok 27 /gtask/return-prefixed-error 1510s ok 28 /gtask/object-keepalive 1510s ok 29 /gtask/legacy-error 1510s ok 30 /gtask/finalize-without-return 1510s # Start of name tests 1510s ok 31 /gtask/name/macro-wrapper 1510s # End of name tests 1510s # Start of return tests 1510s ok 32 /gtask/return/error-first 1510s ok 33 /gtask/return/value-first 1510s # Start of in-idle tests 1510s ok 34 /gtask/return/in-idle/error-first 1510s ok 35 /gtask/return/in-idle/value-first 1510s # End of in-idle tests 1510s # End of return tests 1510s # Start of attach-source tests 1510s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1510s ok 36 /gtask/attach-source/set-name 1510s # End of attach-source tests 1510s # End of gtask tests 1510s ok - glib/task.test 1510s # Running test: glib/mimeapps.test 1510s TAP version 13 1510s # random seed: R02Sd0aad6e5db1022e267f9ce076cb499b5 1510s 1..7 1510s # Start of appinfo tests 1510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/home 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/cache 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/system-config2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/config 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/system-data2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/data 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/state 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/runtime 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/system-data1/applications' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/data/applications' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/data/applications/myapp.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1510s # removing '/tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/data/applications/mimeapps.list' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1510s ok 1 /appinfo/all 1510s # Start of mime tests 1510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/home 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/cache 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/system-config2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/config 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/system-data2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/data 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/state 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/runtime 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/system-data1/applications' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/data/applications' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1510s # removing '/tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/config 1510s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DL5UK2/appinfo/all/.dirs/config to /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/config 1510s ok 2 /appinfo/mime/api 1510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/home 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/cache 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/system-config2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/config 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/system-data2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/data 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/state 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/runtime 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/system-data1/applications' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/data/applications' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1510s # removing '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/config 1510s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DL5UK2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/config 1510s ok 3 /appinfo/mime/default 1510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/home 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/cache 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/system-config2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/config 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/system-data2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/data 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/state 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/runtime 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/system-data1/applications' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/data/applications' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1510s # removing '/tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/config 1510s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DL5UK2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/config 1510s ok 4 /appinfo/mime/file 1510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/home 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/cache 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/system-config2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/config 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/system-data2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/data 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/state 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/runtime 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/data/applications' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1510s # removing '/tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1510s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DL5UK2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/config 1510s ok 5 /appinfo/mime/scheme-handler 1510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/home 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/cache 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/system-config2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/config 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/system-data2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/data 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/state 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/runtime 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/data/applications' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1510s # removing '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/config 1510s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DL5UK2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/config 1510s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/config 1510s ok 6 /appinfo/mime/default-last-used 1510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/home 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/cache 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/config 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/data 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/state 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1510s # removing '/tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1510s # creating '/tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1510s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DL5UK2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_DL5UK2/appinfo/mime/ignore-nonexisting/.dirs/config 1510s ok 7 /appinfo/mime/ignore-nonexisting 1510s # End of mime tests 1510s # End of appinfo tests 1510s ok - glib/mimeapps.test 1510s # Running test: glib/gsubprocess.test 1510s TAP version 13 1510s # random seed: R02S50cd52770373bcb9ca546173e3d0dcbd 1510s 1..83 1510s # Start of gsubprocess tests 1510s ok 1 /gsubprocess/noop 1510s ok 2 /gsubprocess/noop-all-to-null 1510s ok 3 /gsubprocess/noop-no-wait 1510s ok 4 /gsubprocess/noop-stdin-inherit 1510s ok 5 /gsubprocess/search-path 1510s ok 6 /gsubprocess/search-path-from-envp 1513s ok 7 /gsubprocess/signal 1513s # slow test /gsubprocess/signal executed in 3.24 secs 1513s ok 8 /gsubprocess/exit1 1513s ok 9 /gsubprocess/echo1 1513s ok 10 /gsubprocess/echo-merged 1513s ok 11 /gsubprocess/cat-utf8 1514s # Executing: glib/gsubprocess.test 1514s ok 12 /gsubprocess/cat-eof 1514s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1517s ok 13 /gsubprocess/multi1 1517s # slow test /gsubprocess/multi1 executed in 3.02 secs 1517s ok 14 /gsubprocess/communicate 1519s # Executing: glib/gsubprocess.test 1520s ok 15 /gsubprocess/terminate 1520s # slow test /gsubprocess/terminate executed in 2.95 secs 1520s ok 16 /gsubprocess/env 1520s ok 17 /gsubprocess/cwd 1520s ok 18 /gsubprocess/launcher-close 1520s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1520s ok 19 /gsubprocess/stdout-file 1520s ok 20 /gsubprocess/stdout-fd 1520s ok 21 /gsubprocess/child-setup 1520s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1520s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1520s ok 22 /gsubprocess/launcher-environment 1520s # Start of exit1 tests 1520s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1520s ok 23 /gsubprocess/exit1/cancel 1520s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1520s ok 24 /gsubprocess/exit1/cancel_in_cb 1520s # End of exit1 tests 1520s # Start of communicate tests 1520s ok 25 /gsubprocess/communicate/cancelled 1520s ok 26 /gsubprocess/communicate/async 1520s ok 27 /gsubprocess/communicate/utf8 1520s # hello world 1520s ok 28 /gsubprocess/communicate/no-pipes 1520s ok 29 /gsubprocess/communicate/separate-stderr 1520s ok 30 /gsubprocess/communicate/stdout-only 1520s # hello world 1520s ok 31 /gsubprocess/communicate/stderr-only 1520s ok 32 /gsubprocess/communicate/stdout-silence 1520s ok 33 /gsubprocess/communicate/nothing 1520s # Start of async tests 1520s ok 34 /gsubprocess/communicate/async/cancelled 1520s # hello world 1520s ok 35 /gsubprocess/communicate/async/no-pipes 1520s ok 36 /gsubprocess/communicate/async/separate-stderr 1520s ok 37 /gsubprocess/communicate/async/stdout-only 1520s # hello world 1520s ok 38 /gsubprocess/communicate/async/stderr-only 1520s ok 39 /gsubprocess/communicate/async/stdout-silence 1520s # Start of cancelled tests 1520s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1520s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1520s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1520s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1520s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1520s # End of cancelled tests 1520s # End of async tests 1520s # Start of utf8 tests 1520s ok 45 /gsubprocess/communicate/utf8/cancelled 1520s ok 46 /gsubprocess/communicate/utf8/async 1520s # hello world 1520s ok 47 /gsubprocess/communicate/utf8/no-pipes 1520s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1520s ok 49 /gsubprocess/communicate/utf8/stdout-only 1520s # hello world 1520s ok 50 /gsubprocess/communicate/utf8/stderr-only 1520s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1520s ok 52 /gsubprocess/communicate/utf8/invalid 1520s # Start of async tests 1520s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1520s # hello world 1520s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1520s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1520s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1520s # hello world 1520s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1520s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1520s ok 59 /gsubprocess/communicate/utf8/async/invalid 1520s # Start of cancelled tests 1520s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1520s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1520s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1520s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1520s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1520s # End of cancelled tests 1520s # End of async tests 1520s # Start of cancelled tests 1520s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1520s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1520s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1520s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1520s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1520s # End of cancelled tests 1520s # End of utf8 tests 1520s # Start of cancelled tests 1520s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1520s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1520s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1520s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1520s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1520s # End of cancelled tests 1520s # End of communicate tests 1520s # Start of env tests 1520s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1520s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1520s ok 75 /gsubprocess/env/inherit 1520s # End of env tests 1520s # Start of pass-fd tests 1520s ok 76 /gsubprocess/pass-fd/basic 1520s ok 77 /gsubprocess/pass-fd/empty-child-setup 1520s ok 78 /gsubprocess/pass-fd/inherit-fds 1520s # End of pass-fd tests 1520s # Start of fd-conflation tests 1520s ok 79 /gsubprocess/fd-conflation/basic 1520s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1520s ok 81 /gsubprocess/fd-conflation/inherit-fds 1520s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1520s # End of fd-conflation tests 1520s # Start of exit-status tests 1520s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1520s ok 83 /gsubprocess/exit-status/trapped 1520s # End of exit-status tests 1520s # End of gsubprocess tests 1520s ok - glib/gsubprocess.test 1520s # Running test: glib/power-profile-monitor-dbus.test 1521s TAP version 13 1521s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1521s 1..1 1521s ok - glib/power-profile-monitor-dbus.test 1521s # Running test: glib/markup-collect.test 1521s TAP version 13 1521s # random seed: R02S1356d30d7923346a42868bc29c69001d 1521s 1..21 1521s # Start of markup tests 1521s # Start of collect tests 1521s ok 1 /markup/collect/0 1521s ok 2 /markup/collect/1 1521s ok 3 /markup/collect/2 1521s ok 4 /markup/collect/3 1521s ok 5 /markup/collect/4 1521s ok 6 /markup/collect/5 1521s ok 7 /markup/collect/6 1521s ok 8 /markup/collect/7 1521s ok 9 /markup/collect/8 1521s ok 10 /markup/collect/9 1521s ok 11 /markup/collect/10 1521s ok 12 /markup/collect/11 1521s ok 13 /markup/collect/12 1521s ok 14 /markup/collect/13 1521s ok 15 /markup/collect/14 1521s ok 16 /markup/collect/15 1521s ok 17 /markup/collect/16 1521s ok 18 /markup/collect/17 1521s ok 19 /markup/collect/18 1521s ok 20 /markup/collect/19 1521s ok 21 /markup/collect/cleanup 1521s # End of collect tests 1521s # End of markup tests 1521s ok - glib/markup-collect.test 1521s # Running test: glib/assert-msg-test.py.test 1521s TAP version 13 1521s ok 1 __main__.TestAssertMessage.test_gassert 1521s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1521s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1521s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1521s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1521s # Error: ** 1521s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1521s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1521s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1521s 1..2 1521s ok - glib/assert-msg-test.py.test 1521s # Running test: glib/strvbuilder.test 1521s TAP version 13 1521s # random seed: R02S8dbe2e6165edbb80d7f02e683f5f7794 1521s 1..6 1521s # Start of strvbuilder tests 1521s ok 1 /strvbuilder/empty 1521s ok 2 /strvbuilder/add 1521s ok 3 /strvbuilder/addv 1521s ok 4 /strvbuilder/add_many 1521s ok 5 /strvbuilder/take 1521s ok 6 /strvbuilder/ref 1521s # End of strvbuilder tests 1521s ok - glib/strvbuilder.test 1521s # Running test: glib/portal-support-env-var.test 1521s TAP version 13 1521s # random seed: R02S9c4846824ad7dcde3c9fdfc9275d43e6 1521s 1..1 1521s # Start of portal-support tests 1521s ok 1 /portal-support/env-var 1521s # End of portal-support tests 1521s ok - glib/portal-support-env-var.test 1521s # Running test: glib/gdbus-proxy.test 1521s TAP version 13 1521s # random seed: R02Scdf34aee108983b1ceb0718cd32069da 1521s 1..5 1521s # Start of gdbus tests 1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/.dirs/home 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/.dirs/cache 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/.dirs/system-config2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/.dirs/config 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/.dirs/system-data2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/.dirs/data 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/.dirs/state 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/.dirs/runtime 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s ok 1 /gdbus/proxy 1523s # slow test /gdbus/proxy executed in 1.74 secs 1523s # Start of proxy tests 1523s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-properties/.dirs/home 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-properties/.dirs/cache 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-properties/.dirs/system-config2 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-properties/.dirs/config 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-properties/.dirs/system-data2 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-properties/.dirs/data 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-properties/.dirs/state 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-properties/.dirs/runtime 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s ok 2 /gdbus/proxy/no-properties 1523s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/wellknown-noauto/.dirs/home 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/wellknown-noauto/.dirs/cache 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/wellknown-noauto/.dirs/config 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/wellknown-noauto/.dirs/data 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/wellknown-noauto/.dirs/state 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s ok 3 /gdbus/proxy/wellknown-noauto 1523s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/async/.dirs/home 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/async/.dirs/cache 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/async/.dirs/system-config2 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/async/.dirs/config 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/async/.dirs/system-data2 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/async/.dirs/data 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/async/.dirs/state 1523s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/async/.dirs/runtime 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # Executing: glib/gdbus-proxy.test 1525s ok 4 /gdbus/proxy/async 1525s # slow test /gdbus/proxy/async executed in 1.74 secs 1525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-match-rule/.dirs/home 1525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-match-rule/.dirs/cache 1525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-match-rule/.dirs/system-config2 1525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-match-rule/.dirs/config 1525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-match-rule/.dirs/system-data2 1525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-match-rule/.dirs/data 1525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-match-rule/.dirs/state 1525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_2TYJK2/gdbus/proxy/no-match-rule/.dirs/runtime 1525s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s ok 5 /gdbus/proxy/no-match-rule 1526s # slow test /gdbus/proxy/no-match-rule executed in 1.74 secs 1526s # End of proxy tests 1526s # End of gdbus tests 1526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1526s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1526s ok - glib/gdbus-proxy.test 1526s # Running test: glib/hostutils.test 1526s TAP version 13 1526s # random seed: R02Sd8e8cc6294cb9e2e7e6e19d9e6ac3224 1526s 1..3 1526s # Start of hostutils tests 1526s ok 1 /hostutils/to_ascii 1526s ok 2 /hostutils/to_unicode 1526s ok 3 /hostutils/is_ip_addr 1526s # End of hostutils tests 1526s ok - glib/hostutils.test 1526s # Running test: glib/overflow.test 1526s TAP version 13 1526s # random seed: R02Sb0d85a0706056d6ef91395edadf5bf75 1526s 1..6 1526s # Start of glib tests 1526s # Start of checked-math tests 1526s ok 1 /glib/checked-math/guint-add 1526s ok 2 /glib/checked-math/guint-mul 1526s ok 3 /glib/checked-math/guint64-add 1526s ok 4 /glib/checked-math/guint64-mul 1526s ok 5 /glib/checked-math/gsize-add 1526s ok 6 /glib/checked-math/gsize-mul 1526s # End of checked-math tests 1526s # End of glib tests 1526s ok - glib/overflow.test 1526s # Running test: glib/include.test 1526s TAP version 13 1526s # random seed: R02Sfaa5bf970621f2aa1d0542c9e663d328 1526s 1..1 1526s # Start of include tests 1526s ok 1 /include/rwlock 1526s # End of include tests 1526s ok - glib/include.test 1526s # Running test: glib/pollable.test 1526s TAP version 13 1526s # random seed: R02Sbb009cf664bc6f31420b665d9b1f3d0c 1526s 1..6 1526s # Start of pollable tests 1526s ok 1 /pollable/converter 1526s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1526s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbf80dbdce770 and GSocketClientAsyncConnectData 0xbf80dbdc1ae0 1526s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1526s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1526s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbf80dbdcf830 for GSocketClientAsyncConnectData 0xbf80dbdc1ae0 1526s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1526s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1526s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1526s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1526s ok 2 /pollable/socket 1526s # Start of unix tests 1526s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1526s ok 3 /pollable/unix/pipe 1526s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1526s ok 4 /pollable/unix/pty 1526s # /pollable/unix/file summary: Test that regular files are not considered pollable 1526s ok 5 /pollable/unix/file 1526s # /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 1526s ok 6 /pollable/unix/nulldev 1526s # End of unix tests 1526s # End of pollable tests 1526s ok - glib/pollable.test 1526s # Running test: glib/rec-mutex.test 1526s TAP version 13 1526s # random seed: R02Sa93b1e8ed6196420503240da714e1257 1526s 1..29 1526s # Start of thread tests 1526s ok 1 /thread/rec-mutex1 1526s ok 2 /thread/rec-mutex2 1526s ok 3 /thread/rec-mutex3 1527s ok 4 /thread/rec-mutex4 1527s # Start of rec-mutex tests 1527s # Start of perf tests 1527s # Start of uncontended tests 1527s # max perf: 0.500000 mips 1527s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1527s # max perf: 1.000000 mips 1527s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1527s # max perf: 1.000000 mips 1527s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1527s # max perf: 1.000000 mips 1527s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1527s # max perf: inf mips 1527s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1527s # End of uncontended tests 1527s # Start of contended1 tests 1527s # max perf: inf mips 1527s ok 10 /thread/rec-mutex/perf/contended1/depth1 1527s # max perf: inf mips 1527s ok 11 /thread/rec-mutex/perf/contended1/depth2 1527s # max perf: 2.000000 mips 1527s ok 12 /thread/rec-mutex/perf/contended1/depth3 1527s # max perf: inf mips 1527s ok 13 /thread/rec-mutex/perf/contended1/depth4 1527s # max perf: 2.000000 mips 1527s ok 14 /thread/rec-mutex/perf/contended1/depth5 1527s # End of contended1 tests 1527s # Start of contended2 tests 1527s # max perf: 3.000000 mips 1527s ok 15 /thread/rec-mutex/perf/contended2/depth1 1527s # max perf: 3.000000 mips 1527s ok 16 /thread/rec-mutex/perf/contended2/depth2 1527s # max perf: 3.000000 mips 1527s ok 17 /thread/rec-mutex/perf/contended2/depth3 1527s # max perf: 3.000000 mips 1527s ok 18 /thread/rec-mutex/perf/contended2/depth4 1527s # max perf: 3.000000 mips 1527s ok 19 /thread/rec-mutex/perf/contended2/depth5 1527s # End of contended2 tests 1527s # Start of contended3 tests 1527s # max perf: 4.000000 mips 1527s ok 20 /thread/rec-mutex/perf/contended3/depth1 1527s # max perf: 4.000000 mips 1527s ok 21 /thread/rec-mutex/perf/contended3/depth2 1527s # max perf: 4.000000 mips 1527s ok 22 /thread/rec-mutex/perf/contended3/depth3 1527s # max perf: 4.000000 mips 1527s ok 23 /thread/rec-mutex/perf/contended3/depth4 1527s # max perf: 4.000000 mips 1527s ok 24 /thread/rec-mutex/perf/contended3/depth5 1527s # End of contended3 tests 1527s # Start of contended4 tests 1527s # max perf: 5.000000 mips 1527s ok 25 /thread/rec-mutex/perf/contended4/depth1 1527s # max perf: 5.000000 mips 1527s ok 26 /thread/rec-mutex/perf/contended4/depth2 1527s # max perf: 2.500000 mips 1527s ok 27 /thread/rec-mutex/perf/contended4/depth3 1527s # max perf: 5.000000 mips 1527s ok 28 /thread/rec-mutex/perf/contended4/depth4 1527s # max perf: 2.500000 mips 1527s ok 29 /thread/rec-mutex/perf/contended4/depth5 1527s # End of contended4 tests 1527s # End of perf tests 1527s # End of rec-mutex tests 1527s # End of thread tests 1527s ok - glib/rec-mutex.test 1527s # Running test: glib/static-link.test 1527s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1527s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1527s and make sure you have glib build dependencies installed, including 1527s meson. 1527s ok # SKIP - glib/static-link.test 1527s # Running test: glib/gdbus-close-pending.test 1527s TAP version 13 1527s # random seed: R02Saecd1d7a1d5bf76af95eca60e8f1a5ef 1527s 1..2 1527s # Start of gdbus tests 1527s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/close-pending/.dirs/home 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/close-pending/.dirs/cache 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_XL0TK2/gdbus/close-pending/.dirs/system-config2 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/close-pending/.dirs/config 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_XL0TK2/gdbus/close-pending/.dirs/system-data2 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/close-pending/.dirs/data 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/close-pending/.dirs/state 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/close-pending/.dirs/runtime 1527s ok 1 /gdbus/close-pending 1527s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/unref-pending/.dirs/home 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/unref-pending/.dirs/cache 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_XL0TK2/gdbus/unref-pending/.dirs/system-config2 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/unref-pending/.dirs/config 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_XL0TK2/gdbus/unref-pending/.dirs/system-data2 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/unref-pending/.dirs/data 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/unref-pending/.dirs/state 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_XL0TK2/gdbus/unref-pending/.dirs/runtime 1527s ok 2 /gdbus/unref-pending 1527s # End of gdbus tests 1527s ok - glib/gdbus-close-pending.test 1527s # Running test: glib/rwlock.test 1527s TAP version 13 1527s # random seed: R02Sfba3b7b6fac1d4d08d9b6d5f4303411c 1527s 1..8 1527s # Start of thread tests 1527s ok 1 /thread/rwlock1 1527s ok 2 /thread/rwlock2 1527s ok 3 /thread/rwlock3 1527s ok 4 /thread/rwlock4 1527s ok 5 /thread/rwlock5 1527s ok 6 /thread/rwlock6 1529s # Executing: glib/rwlock.test 1534s # Executing: glib/rwlock.test 1539s # Executing: glib/rwlock.test 1544s # Executing: glib/rwlock.test 1544s ok 7 /thread/rwlock7 1544s # slow test /thread/rwlock7 executed in 16.61 secs 1544s ok 8 /thread/rwlock8 1544s # End of thread tests 1544s ok - glib/rwlock.test 1544s # Running test: glib/portal-support-snap.test 1544s TAP version 13 1544s # random seed: R02Sa4c08c1ffa2dd57b169356db6ad5ad89 1544s 1..7 1544s # Start of portal-support tests 1544s # Start of snap tests 1544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/no-snapctl/.dirs/home 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/no-snapctl/.dirs/cache 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_CW5JK2/portal-support/snap/no-snapctl/.dirs/system-config2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/no-snapctl/.dirs/config 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_CW5JK2/portal-support/snap/no-snapctl/.dirs/system-data2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/no-snapctl/.dirs/data 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/no-snapctl/.dirs/state 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/no-snapctl/.dirs/runtime 1544s # Created snap.yaml in /tmp/test_portal-support-snap_CW5JK2/meta/snap.yaml 1544s ok 1 /portal-support/snap/no-snapctl 1544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/none/.dirs/home 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/none/.dirs/cache 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_CW5JK2/portal-support/snap/none/.dirs/system-config2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/none/.dirs/config 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_CW5JK2/portal-support/snap/none/.dirs/system-data2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/none/.dirs/data 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/none/.dirs/state 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/none/.dirs/runtime 1544s # Created snap.yaml in /tmp/test_portal-support-snap_CW5JK2/meta/snap.yaml 1544s # Created snapctl in /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/none/.dirs/runtime/snapctl 1544s ok 2 /portal-support/snap/none 1544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/all/.dirs/home 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/all/.dirs/cache 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_CW5JK2/portal-support/snap/all/.dirs/system-config2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/all/.dirs/config 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_CW5JK2/portal-support/snap/all/.dirs/system-data2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/all/.dirs/data 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/all/.dirs/state 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/all/.dirs/runtime 1544s # Created snap.yaml in /tmp/test_portal-support-snap_CW5JK2/meta/snap.yaml 1544s # Created snapctl in /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/all/.dirs/runtime/snapctl 1544s ok 3 /portal-support/snap/all 1544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/desktop-only/.dirs/home 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/desktop-only/.dirs/cache 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_CW5JK2/portal-support/snap/desktop-only/.dirs/system-config2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/desktop-only/.dirs/config 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_CW5JK2/portal-support/snap/desktop-only/.dirs/system-data2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/desktop-only/.dirs/data 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/desktop-only/.dirs/state 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/desktop-only/.dirs/runtime 1544s # Created snap.yaml in /tmp/test_portal-support-snap_CW5JK2/meta/snap.yaml 1544s # Created snapctl in /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1544s ok 4 /portal-support/snap/desktop-only 1544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/network-only/.dirs/home 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/network-only/.dirs/cache 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_CW5JK2/portal-support/snap/network-only/.dirs/system-config2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/network-only/.dirs/config 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_CW5JK2/portal-support/snap/network-only/.dirs/system-data2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/network-only/.dirs/data 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/network-only/.dirs/state 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/network-only/.dirs/runtime 1544s # Created snap.yaml in /tmp/test_portal-support-snap_CW5JK2/meta/snap.yaml 1544s # Created snapctl in /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/network-only/.dirs/runtime/snapctl 1544s ok 5 /portal-support/snap/network-only 1544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/gsettings-only/.dirs/home 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/gsettings-only/.dirs/cache 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_CW5JK2/portal-support/snap/gsettings-only/.dirs/system-config2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/gsettings-only/.dirs/config 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_CW5JK2/portal-support/snap/gsettings-only/.dirs/system-data2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/gsettings-only/.dirs/data 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/gsettings-only/.dirs/state 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/gsettings-only/.dirs/runtime 1544s # Created snap.yaml in /tmp/test_portal-support-snap_CW5JK2/meta/snap.yaml 1544s # Created snapctl in /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1544s ok 6 /portal-support/snap/gsettings-only 1544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/home 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/cache 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/system-config2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/config 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/system-data2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/data 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/state 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/runtime 1544s # Created snap.yaml in /tmp/test_portal-support-snap_CW5JK2/meta/snap.yaml 1544s # Created snapctl in /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1544s # Created snapctl in /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1544s # Created snapctl in /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1544s # Created snapctl in /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1544s # Created snapctl in /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1544s # Created snapctl in /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1544s # Created snapctl in /tmp/test_portal-support-snap_CW5JK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1544s ok 7 /portal-support/snap/updates-dynamically 1544s # End of snap tests 1544s # End of portal-support tests 1544s ok - glib/portal-support-snap.test 1544s # Running test: glib/unix-mounts.test 1544s TAP version 13 1544s # random seed: R02S3a5a963e27b176364a72332e9ce8aa85 1544s 1..2 1544s # Start of unix-mounts tests 1544s ok 1 /unix-mounts/is-system-fs-type 1544s ok 2 /unix-mounts/is-system-device-path 1544s # End of unix-mounts tests 1544s ok - glib/unix-mounts.test 1544s # Running test: glib/search-utils.test 1544s TAP version 13 1544s # random seed: R02S52e00e3231d3eb3357b2eabafea17f00 1544s # GLib-DEBUG: Current user locale: C.UTF-8 1544s 1..6 1544s # Start of search tests 1544s # GLib-DEBUG: Started 1544s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1544s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1544s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1544s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1544s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1544s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1544s ok 1 /search/basic 1544s # GLib-DEBUG: Started 1544s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1544s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1544s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1544s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1544s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1544s ok 2 /search/composed 1544s # GLib-DEBUG: Started 1544s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1544s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1544s ok 3 /search/decomposed 1544s # GLib-DEBUG: Started 1544s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1544s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1544s ok 4 /search/turkish 1544s # GLib-DEBUG: Started 1544s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1544s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1544s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1544s ok 5 /search/c_locale_unicode 1544s # GLib-DEBUG: Started 1544s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1544s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1544s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1544s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1544s ok 6 /search/multi_words 1544s # End of search tests 1544s ok - glib/search-utils.test 1544s # Running test: glib/string.test 1544s TAP version 13 1544s # random seed: R02Sd61aa5af77adc32a0912dc6a1120e5cf 1544s 1..23 1544s # Start of string tests 1544s ok 1 /string/test-string-chunks 1544s ok 2 /string/test-string-chunk-insert 1544s ok 3 /string/test-string-new 1544s ok 4 /string/test-string-printf 1544s ok 5 /string/test-string-assign 1544s ok 6 /string/test-string-append-c 1544s ok 7 /string/test-string-append 1544s ok 8 /string/test-string-append-vprintf 1544s ok 9 /string/test-string-prepend-c 1544s ok 10 /string/test-string-prepend 1544s ok 11 /string/test-string-insert 1544s ok 12 /string/test-string-insert-unichar 1544s ok 13 /string/test-string-equal 1544s ok 14 /string/test-string-truncate 1544s ok 15 /string/test-string-overwrite 1544s ok 16 /string/test-string-nul-handling 1544s ok 17 /string/test-string-up-down 1544s ok 18 /string/test-string-set-size 1544s ok 19 /string/test-string-to-bytes 1544s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1544s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1544s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1544s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1544s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1544s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1544s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1544s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1544s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1544s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1544s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1544s # -> 4 replacements, "fd fr fals" 1544s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1544s # -> 3 replacements, "aaaaaaaaa" 1544s # 7: Replacing "a" with "" (limit 0) in "aaa" 1544s # -> 3 replacements, "" 1544s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1544s # -> 1 replacements, "bba" 1544s # 9: Replacing "" with "bar" (limit 0) in "foo" 1544s # -> 4 replacements, "barfbarobarobar" 1544s # 10: Replacing "" with "x" (limit 0) in "" 1544s # -> 1 replacements, "x" 1544s # 11: Replacing "" with "" (limit 0) in "" 1544s # -> 1 replacements, "" 1544s ok 20 /string/test-string-replace 1544s ok 21 /string/test-string-steal 1544s ok 22 /string/test-string-new-take 1544s # Start of test-string-new-take tests 1544s ok 23 /string/test-string-new-take/null 1544s # End of test-string-new-take tests 1544s # End of string tests 1544s ok - glib/string.test 1544s # Running test: glib/type-flags.test 1544s TAP version 13 1544s # random seed: R02Sc145ee152ce109a10124adc917a411d7 1544s 1..4 1544s # Start of type tests 1544s # Start of flags tests 1544s ok 1 /type/flags/interface 1544s ok 2 /type/flags/final 1544s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1544s ok 3 /type/flags/deprecated 1544s # Start of final tests 1544s ok 4 /type/flags/final/instance-check 1544s # End of final tests 1544s # End of flags tests 1544s # End of type tests 1544s ok - glib/type-flags.test 1544s # Running test: glib/unix-streams.test 1544s TAP version 13 1544s # random seed: R02Sb51d7d10a075358821a9d57d33035b23 1544s 1..9 1544s # Start of unix-streams tests 1544s ok 1 /unix-streams/basic 1545s ok 2 /unix-streams/pipe-io-test 1545s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1545s ok 3 /unix-streams/nonblocking-io-test 1545s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1545s ok 4 /unix-streams/read_write 1545s ok 5 /unix-streams/read_writev 1545s ok 6 /unix-streams/write-wouldblock 1545s ok 7 /unix-streams/writev-wouldblock 1545s ok 8 /unix-streams/write-async-wouldblock 1545s ok 9 /unix-streams/writev-async-wouldblock 1545s # End of unix-streams tests 1545s ok - glib/unix-streams.test 1545s # Running test: glib/binding.test 1545s TAP version 13 1545s # random seed: R02S8bbec2ddfb10c7506124cd76acca8124 1545s 1..19 1545s # Start of binding tests 1545s ok 1 /binding/default 1545s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1545s ok 2 /binding/canonicalisation 1545s ok 3 /binding/bidirectional 1545s ok 4 /binding/transform 1545s ok 5 /binding/transform-default 1545s ok 6 /binding/transform-closure 1545s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1545s ok 7 /binding/chain 1545s ok 8 /binding/sync-create 1545s ok 9 /binding/invert-boolean 1545s ok 10 /binding/same-object 1545s ok 11 /binding/unbind 1545s ok 12 /binding/unbind-weak 1545s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1545s ok 13 /binding/unbind-multiple 1545s ok 14 /binding/fail 1545s ok 15 /binding/interface 1545s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1545s ok 16 /binding/concurrent-unbind 1545s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1545s ok 17 /binding/concurrent-finalizing 1545s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1545s ok 18 /binding/dispose-source 1545s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1545s ok 19 /binding/dispose-target 1545s # End of binding tests 1545s ok - glib/binding.test 1545s # Running test: glib/logging.test 1545s TAP version 13 1545s # random seed: R02Sf858c93c8e3a85398dc451eca0a1799c 1545s 1..17 1545s # Start of logging tests 1545s ok 1 /logging/default-handler 1545s ok 2 /logging/warnings 1545s ok 3 /logging/fatal-log-mask 1545s # bu-DEBUG: message 1545s # ba-DEBUG: message 1545s # ba-INFO: message 1545s ok 4 /logging/set-handler 1545s ok 5 /logging/print-handler 1545s ok 6 /logging/printerr-handler 1545s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1545s # The Log Message Handler 1545s # 1545s # The Good Fail Message Handler 1545s # 1545s ok 7 /logging/653052 1545s ok 8 /logging/gibberish 1545s # Start of default-handler tests 1545s # Start of subprocess tests 1545s # End of subprocess tests 1545s # End of default-handler tests 1545s # End of logging tests 1545s # Start of structured-logging tests 1545s ok 9 /structured-logging/no-state 1545s ok 10 /structured-logging/some-state 1545s ok 11 /structured-logging/robustness 1545s ok 12 /structured-logging/roundtrip1 1545s ok 13 /structured-logging/roundtrip2 1545s ok 14 /structured-logging/roundtrip3 1545s ok 15 /structured-logging/variant1 1545s ok 16 /structured-logging/variant2 1545s ok 17 /structured-logging/set-writer-func-twice 1545s # End of structured-logging tests 1545s ok - glib/logging.test 1545s # Running test: glib/closure.test 1545s TAP version 13 1545s # random seed: R02Sa3b02a1c7bce5fdc112cdc3f72cd51c8 1545s 1..6 1545s # Start of closure tests 1545s ok 1 /closure/idle 1545s ok 2 /closure/timeout 1545s ok 3 /closure/iochannel 1545s ok 4 /closure/child 1545s ok 5 /closure/fd 1545s ok 6 /closure/signal 1545s # End of closure tests 1545s ok - glib/closure.test 1545s # Running test: glib/properties-refcount2.test 1545s TAP version 13 1546s # random seed: R02S65ef906a6d686aab93942c5d5dd4a916 1546s 1..1 1546s # Start of gobject tests 1546s # Start of refcount tests 1546s # init 0xb8cd20f81780 1546s # 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1546s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1547s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # . 1548s # dispose 0xb8cd20f81780! 1548s # 1548s ok 1 /gobject/refcount/properties-2 1548s # slow test /gobject/refcount/properties-2 executed in 2.58 secs 1548s # End of refcount tests 1548s # End of gobject tests 1548s ok - glib/properties-refcount2.test 1548s # Running test: glib/buffered-output-stream.test 1548s TAP version 13 1548s # random seed: R02S58fe00fcb9bafbdd1fceb7986a78ca9c 1548s 1..5 1548s # Start of buffered-output-stream tests 1548s ok 1 /buffered-output-stream/write 1548s ok 2 /buffered-output-stream/grow 1548s ok 3 /buffered-output-stream/seek 1548s ok 4 /buffered-output-stream/truncate 1548s # End of buffered-output-stream tests 1548s # Start of filter-output-stream tests 1548s ok 5 /filter-output-stream/close 1548s # End of filter-output-stream tests 1548s ok - glib/buffered-output-stream.test 1548s # Running test: glib/ifaceproperties.test 1548s TAP version 13 1548s # random seed: R02S53fd9a24d1bf815aa6dfe127f99dfe06 1548s 1..7 1548s # Start of interface tests 1548s # Start of properties tests 1548s ok 1 /interface/properties/set 1548s ok 2 /interface/properties/notify 1548s ok 3 /interface/properties/find-overridden 1548s ok 4 /interface/properties/list-overridden 1548s ok 5 /interface/properties/find-interface 1548s ok 6 /interface/properties/list-interface 1548s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1548s ok 7 /interface/properties/not-overridden 1548s # End of properties tests 1548s # End of interface tests 1548s ok - glib/ifaceproperties.test 1548s # Running test: glib/fileutils.test 1548s TAP version 13 1548s # random seed: R02S72724f2a6f1abef24e14714e9eb6430d 1548s 1..27 1548s # Start of fileutils tests 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/paths/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/paths/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/paths/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/paths/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/paths/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/paths/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/paths/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/paths/.dirs/runtime 1548s ok 1 /fileutils/paths 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-path/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-path/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/build-path/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-path/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/build-path/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-path/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-path/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/build-path/.dirs/runtime 1548s ok 2 /fileutils/build-path 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-pathv/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-pathv/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/build-pathv/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-pathv/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/build-pathv/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-pathv/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-pathv/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/build-pathv/.dirs/runtime 1548s ok 3 /fileutils/build-pathv 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-filename/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-filename/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/build-filename/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-filename/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/build-filename/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-filename/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-filename/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/build-filename/.dirs/runtime 1548s ok 4 /fileutils/build-filename 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-filenamev/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-filenamev/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/build-filenamev/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-filenamev/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/build-filenamev/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-filenamev/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/build-filenamev/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/build-filenamev/.dirs/runtime 1548s ok 5 /fileutils/build-filenamev 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents/.dirs/runtime 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s ok 6 /fileutils/mkdir-with-parents 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents-permission/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents-permission/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents-permission/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents-permission/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents-permission/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s ok 7 /fileutils/mkdir-with-parents-permission 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/format-size-for-display/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/format-size-for-display/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/format-size-for-display/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/format-size-for-display/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/format-size-for-display/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/format-size-for-display/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/format-size-for-display/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/format-size-for-display/.dirs/runtime 1548s ok 8 /fileutils/format-size-for-display 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/errors/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/errors/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/errors/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/errors/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/errors/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/errors/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/errors/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/errors/.dirs/runtime 1548s ok 9 /fileutils/errors 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/basename/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/basename/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/basename/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/basename/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/basename/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/basename/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/basename/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/basename/.dirs/runtime 1548s ok 10 /fileutils/basename 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-basename/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-basename/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/get-basename/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-basename/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/get-basename/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-basename/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-basename/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/get-basename/.dirs/runtime 1548s ok 11 /fileutils/get-basename 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/dirname/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/dirname/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/dirname/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/dirname/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/dirname/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/dirname/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/dirname/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/dirname/.dirs/runtime 1548s ok 12 /fileutils/dirname 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/dir-make-tmp/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/dir-make-tmp/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/dir-make-tmp/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/dir-make-tmp/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/dir-make-tmp/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/dir-make-tmp/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/dir-make-tmp/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/dir-make-tmp/.dirs/runtime 1548s ok 13 /fileutils/dir-make-tmp 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/file-open-tmp/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/file-open-tmp/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/file-open-tmp/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/file-open-tmp/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/file-open-tmp/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/file-open-tmp/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/file-open-tmp/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/file-open-tmp/.dirs/runtime 1548s ok 14 /fileutils/file-open-tmp 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/file-test/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/file-test/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/file-test/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/file-test/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/file-test/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/file-test/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/file-test/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/file-test/.dirs/runtime 1548s ok 15 /fileutils/file-test 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkstemp/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkstemp/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/mkstemp/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkstemp/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/mkstemp/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkstemp/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkstemp/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/mkstemp/.dirs/runtime 1548s ok 16 /fileutils/mkstemp 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdtemp/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdtemp/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/mkdtemp/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdtemp/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/mkdtemp/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdtemp/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/mkdtemp/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/mkdtemp/.dirs/runtime 1548s ok 17 /fileutils/mkdtemp 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-contents/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-contents/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/get-contents/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-contents/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/get-contents/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-contents/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-contents/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/get-contents/.dirs/runtime 1548s ok 18 /fileutils/get-contents 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-contents-large-file/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-contents-large-file/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/get-contents-large-file/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-contents-large-file/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/get-contents-large-file/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-contents-large-file/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/get-contents-large-file/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/get-contents-large-file/.dirs/runtime 1548s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/set-contents/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/set-contents/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/set-contents/.dirs/runtime 1548s ok 20 /fileutils/set-contents 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/.dirs/runtime 1548s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1548s # Flags 0 and test 0 1548s # Flags 0 and test 1 1548s # Flags 0 and test 2 1548s # Flags 0 and test 3 1548s # Flags 0 and test 4 1548s # Flags 0 and test 5 1548s # Flags 1 and test 0 1548s # Flags 1 and test 1 1548s # Flags 1 and test 2 1548s # Flags 1 and test 3 1548s # Flags 1 and test 4 1548s # Flags 1 and test 5 1548s # Flags 2 and test 0 1548s # Flags 2 and test 1 1548s # Flags 2 and test 2 1548s # Flags 2 and test 3 1548s # Flags 2 and test 4 1548s # Flags 2 and test 5 1548s # Flags 3 and test 0 1548s # Flags 3 and test 1 1548s # Flags 3 and test 2 1548s # Flags 3 and test 3 1548s # Flags 3 and test 4 1548s # Flags 3 and test 5 1548s # Flags 4 and test 0 1548s # Flags 4 and test 1 1548s # Flags 4 and test 2 1548s # Flags 4 and test 3 1548s # Flags 4 and test 4 1548s # Flags 4 and test 5 1548s # Flags 5 and test 0 1548s # Flags 5 and test 1 1548s # Flags 5 and test 2 1548s # Flags 5 and test 3 1548s # Flags 5 and test 4 1548s # Flags 5 and test 5 1548s # Flags 6 and test 0 1548s # Flags 6 and test 1 1548s # Flags 6 and test 2 1548s # Flags 6 and test 3 1548s # Flags 6 and test 4 1548s # Flags 6 and test 5 1548s ok 21 /fileutils/set-contents-full 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/read-link/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/read-link/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/read-link/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/read-link/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/read-link/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/read-link/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/read-link/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/read-link/.dirs/runtime 1548s ok 22 /fileutils/read-link 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/stdio-wrappers/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/stdio-wrappers/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/stdio-wrappers/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/stdio-wrappers/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/stdio-wrappers/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/stdio-wrappers/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/stdio-wrappers/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/stdio-wrappers/.dirs/runtime 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s ok 23 /fileutils/stdio-wrappers 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/fopen-modes/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/fopen-modes/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/fopen-modes/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/fopen-modes/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/fopen-modes/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/fopen-modes/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/fopen-modes/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/fopen-modes/.dirs/runtime 1548s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1548s # Testing fopen() mode 'w' 1548s # Testing fopen() mode 'r' 1548s # Testing fopen() mode 'a' 1548s # Testing fopen() mode 'w+' 1548s # Testing fopen() mode 'r+' 1548s # Testing fopen() mode 'a+' 1548s # Testing fopen() mode 'wb' 1548s # Testing fopen() mode 'rb' 1548s # Testing fopen() mode 'ab' 1548s # Testing fopen() mode 'w+b' 1548s # Testing fopen() mode 'r+b' 1548s # Testing fopen() mode 'a+b' 1548s # Testing fopen() mode 'wb+' 1548s # Testing fopen() mode 'rb+' 1548s # Testing fopen() mode 'ab+' 1548s ok 24 /fileutils/fopen-modes 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/clear-fd/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/clear-fd/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/clear-fd/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/clear-fd/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/clear-fd/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/clear-fd/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/clear-fd/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/clear-fd/.dirs/runtime 1548s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1548s # Will be closed by autocleanup: 3, -42 1548s # Testing error handling 1548s ok 25 /fileutils/clear-fd 1548s # Start of set-contents-full tests 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-file/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-file/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-file/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-file/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-file/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1548s ok 26 /fileutils/set-contents-full/read-only-file 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-directory/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-directory/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-directory/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-directory/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_W5IKK2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1548s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1548s # Flags 0 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # Flags 1 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # Flags 2 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # Flags 3 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # Flags 4 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # Flags 5 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s # Flags 6 1548s # We do not have CAP_DAC_OVERRIDE or equivalent 1548s ok 27 /fileutils/set-contents-full/read-only-directory 1548s # End of set-contents-full tests 1548s # Start of clear-fd tests 1548s # Start of subprocess tests 1548s # End of subprocess tests 1548s # End of clear-fd tests 1548s # End of fileutils tests 1548s ok - glib/fileutils.test 1548s # Running test: glib/appmonitor.test 1548s TAP version 13 1548s # random seed: R02S9f5decd0371ccb6185c1521d80b9989a 1548s 1..1 1548s # Start of monitor tests 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_UDMNK2/monitor/app/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_UDMNK2/monitor/app/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_UDMNK2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_UDMNK2/monitor/app/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_UDMNK2/monitor/app/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_UDMNK2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_UDMNK2/monitor/app/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_UDMNK2/monitor/app/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_UDMNK2/monitor/app/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_UDMNK2/monitor/app/.dirs/runtime 1548s # Using data directory: /tmp/test_appmonitor_UDMNK2/monitor/app/.dirs/data 1548s ok 1 /monitor/app 1548s # End of monitor tests 1548s ok - glib/appmonitor.test 1548s # Running test: glib/memory-input-stream.test 1548s TAP version 13 1548s # random seed: R02Sf6f27f711ba28c642ed820d5671ffb02 1548s 1..6 1548s # Start of memory-input-stream tests 1548s ok 1 /memory-input-stream/read-chunks 1548s ok 2 /memory-input-stream/async 1548s ok 3 /memory-input-stream/seek 1548s ok 4 /memory-input-stream/truncate 1548s ok 5 /memory-input-stream/read-bytes 1548s ok 6 /memory-input-stream/from-bytes 1548s # End of memory-input-stream tests 1548s ok - glib/memory-input-stream.test 1548s # Running test: glib/threadtests.test 1548s TAP version 13 1548s # random seed: R02Sbf21d2047d33316267ef3d94aa939a2b 1548s 1..5 1548s # Start of GObject tests 1548s ok 1 /GObject/threaded-object-init 1549s # Executing: glib/threadtests.test 1549s ok 2 /GObject/threaded-weak-ref 1549s # slow test /GObject/threaded-weak-ref executed in 1.13 secs 1549s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1549s # /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 1552s ok 3 /GObject/threaded-toggle-notify 1552s # slow test /GObject/threaded-toggle-notify executed in 2.89 secs 1552s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1552s # Start of threaded-weak-ref tests 1552s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1552s # /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. 1552s ok 5 /GObject/threaded-weak-ref/on-finalization 1552s # End of threaded-weak-ref tests 1552s # End of GObject tests 1552s ok - glib/threadtests.test 1552s # Running test: glib/async-splice-output-stream.test 1552s TAP version 13 1552s # random seed: R02S37531b0c4e12ae5ad7727f7b8e2bfca6 1552s 1..5 1552s # Start of async-splice tests 1552s ok 1 /async-splice/copy-chunks 1552s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1552s ok 2 /async-splice/copy-chunks-threaded-input 1552s ok 3 /async-splice/copy-chunks-threaded-output 1552s ok 4 /async-splice/copy-chunks-threaded 1552s ok 5 /async-splice/cancelled 1552s # End of async-splice tests 1552s ok - glib/async-splice-output-stream.test 1552s # Running test: glib/power-profile-monitor-portal.test 1553s TAP version 13 1553s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1553s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1553s 1..2 1553s ok - glib/power-profile-monitor-portal.test 1553s # Running test: glib/giomodule.test 1553s TAP version 13 1553s # random seed: R02S7a2611f49c4363b947f77c5ed36748e9 1553s 1..3 1553s # Start of giomodule tests 1553s ok 1 /giomodule/extension-point 1553s ok 2 /giomodule/module-scan-all 1553s ok 3 /giomodule/module-scan-all-with-scope 1553s # End of giomodule tests 1553s ok - glib/giomodule.test 1553s # Running test: glib/gdbus-sasl.test 1553s TAP version 13 1553s # random seed: R02S60895bc7d4f49a7d146569384ce7f426 1553s 1..1 1553s # Start of gdbus tests 1553s # Start of sasl tests 1553s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_ZBPQK2/gdbus/sasl/server/.dirs/home 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_ZBPQK2/gdbus/sasl/server/.dirs/cache 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_ZBPQK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_ZBPQK2/gdbus/sasl/server/.dirs/system-config2 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_ZBPQK2/gdbus/sasl/server/.dirs/config 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_ZBPQK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_ZBPQK2/gdbus/sasl/server/.dirs/system-data2 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_ZBPQK2/gdbus/sasl/server/.dirs/data 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_ZBPQK2/gdbus/sasl/server/.dirs/state 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_ZBPQK2/gdbus/sasl/server/.dirs/runtime 1553s # New handshake: EXTERNAL with incorrect initial response 1553s # C:“AUTH EXTERNAL 30” 1553s # Expect: /^REJECTED.*$/ 1553s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1553s # New handshake: EXTERNAL without initial response, failing to authenticate 1553s # C:“AUTH EXTERNAL” 1553s # Expect: /^DATA$/ 1553s # S:“DATA” 1553s # C:“DATA 30” 1553s # Expect: /^REJECTED.*$/ 1553s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1553s # New handshake: EXTERNAL with initial response 1553s # C:“AUTH EXTERNAL 31303030” 1553s # Expect: /^OK [0-9a-f]+$/ 1553s # S:“OK 087f8d906372bddce4dfb92c65f97bfb” 1553s # New handshake: EXTERNAL without initial response 1553s # C:“AUTH EXTERNAL” 1553s # Expect: /^DATA$/ 1553s # S:“DATA” 1553s # C:“DATA 31303030” 1553s # Expect: /^OK [0-9a-f]+$/ 1553s # S:“OK 087f8d906372bddce4dfb92c65f97bfb” 1553s # New handshake: EXTERNAL with empty authorization identity 1553s # C:“AUTH EXTERNAL” 1553s # Expect: /^DATA$/ 1553s # S:“DATA” 1553s # C:“DATA” 1553s # Expect: /^OK [0-9a-f]+$/ 1553s # S:“OK 087f8d906372bddce4dfb92c65f97bfb” 1553s # New handshake: EXTERNAL with empty authorization identity and whitespace 1553s # C:“AUTH EXTERNAL” 1553s # Expect: /^DATA$/ 1553s # S:“DATA” 1553s # C:“DATA ” 1553s # Expect: /^OK [0-9a-f]+$/ 1553s # S:“OK 087f8d906372bddce4dfb92c65f97bfb” 1553s ok 1 /gdbus/sasl/server 1553s # End of sasl tests 1553s # End of gdbus tests 1553s ok - glib/gdbus-sasl.test 1553s # Running test: glib/signals-refcount2.test 1553s TAP version 13 1553s # random seed: R02S390ea4b464a2743f6c364ef25e2e6dd0 1553s 1..1 1553s # Start of gobject tests 1553s # Start of refcount tests 1553s # init 0xb2a793e33430 1553s # 1553s # init 0xb2a793e335d0 1553s # 1554s # Executing: glib/signals-refcount2.test 1558s # dispose 0xb2a793e33430! 1558s # 1558s # dispose 0xb2a793e335d0! 1558s # 1558s ok 1 /gobject/refcount/signals 1558s # slow test /gobject/refcount/signals executed in 5.01 secs 1558s # End of refcount tests 1558s # End of gobject tests 1558s ok - glib/signals-refcount2.test 1558s # Running test: glib/power-profile-monitor.test 1558s TAP version 13 1558s # random seed: R02Sf17c50b8a4d5fed380059d2faa643c8a 1558s 1..1 1558s # Start of power-profile-monitor tests 1558s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1558s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1558s ok 1 /power-profile-monitor/default 1558s # End of power-profile-monitor tests 1558s ok - glib/power-profile-monitor.test 1558s # Running test: glib/testing.test 1558s TAP version 13 1558s # random seed: R02S1bdc9494fb8b6c22e31a7fc3df4a030c 1558s 1..1 1558s # Start of assert tests 1558s ok 1 /assert/finalize_object 1558s # Start of finalize_object tests 1558s # Start of subprocess tests 1558s # End of subprocess tests 1558s # End of finalize_object tests 1558s # End of assert tests 1558s ok - glib/testing.test 1558s # Running test: glib/socket-service.test 1558s TAP version 13 1558s # random seed: R02S64ed0f109d4a40035fa8d3f5d6daad02 1558s 1..4 1558s # Start of socket-service tests 1558s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1558s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb40e900ee350 and GSocketClientAsyncConnectData 0xb40e900e6630 1558s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1558s ok 1 /socket-service/start-stop 1558s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb40e900efeb0 and GSocketClientAsyncConnectData 0xb40e900efc50 1558s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1558s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1558s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb40e900f03c0 for GSocketClientAsyncConnectData 0xb40e900e6630 1558s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1558s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1558s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1558s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1558s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1558s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb40e900f1240 for GSocketClientAsyncConnectData 0xb40e900efc50 1558s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1558s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1558s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1558s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1558s ok 2 /socket-service/read_write_async 1558s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb40e900f3f90 and GSocketClientAsyncConnectData 0xb40e900f19b0 1558s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1558s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1558s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb40e900f2170 for GSocketClientAsyncConnectData 0xb40e900f19b0 1558s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1558s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1558s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1558s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1558s ok 3 /socket-service/read_writev_async 1558s # Start of threaded tests 1558s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1558s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb40e900f56f0 and GSocketClientAsyncConnectData 0xb40e900f1d30 1558s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1558s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1558s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb40e900f5920 for GSocketClientAsyncConnectData 0xb40e900f1d30 1558s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1558s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1558s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1558s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1558s ok 4 /socket-service/threaded/712570 1558s # End of threaded tests 1558s # End of socket-service tests 1558s ok - glib/socket-service.test 1558s # Running test: glib/properties-refcount1.test 1558s TAP version 13 1558s # random seed: R02Sa6782b08bd757a7ed0246570d9242a7e 1558s 1..1 1558s # Start of gobject tests 1558s # Start of refcount tests 1559s # .c 1559s # .d 1559s # .e 1559s # .f 1559s # .b 1559s # .c 1559s # .e 1559s # .d 1559s # .b 1559s # .f 1559s # .c 1559s # .e 1559s # .b 1559s # .d 1559s # .f 1559s # .c 1559s # Executing: glib/properties-refcount1.test 1559s # .e 1559s # .d 1559s # .b 1559s # .f 1559s # .c 1559s # .e 1559s # .d 1559s # .b 1559s # .f 1559s # .e 1559s # .b 1559s # .d 1559s # .c 1559s # .f 1559s # .e 1559s # .b 1559s # .d 1559s # .f 1559s # .c 1559s # .e 1559s # .b 1559s # .d 1559s # .c 1560s # .f 1560s # .e 1560s # .d 1560s # .f 1560s # .c 1560s # .b 1560s # .e 1560s # .d 1560s # .b 1560s # .f 1560s # .c 1560s # .e 1560s # .d 1560s # .b 1560s # .c 1560s # .f 1560s # .e 1560s # .d 1560s # .b 1560s # .f 1560s # .c 1560s # .e 1560s # .d 1560s # .b 1560s # .f 1560s # .c 1560s # .e 1560s # .d 1560s # .b 1560s # .f 1560s # .c 1560s # .e 1560s # .d 1560s # .b 1560s # .f 1560s # .c 1560s # .e 1561s # .d 1561s # .b 1561s # .c 1561s # .f 1561s # .e 1561s # .d 1561s # .b 1561s # .c 1561s # .f 1561s # .e 1561s # .d 1561s # .b 1561s # .f 1561s # .c 1561s # .e 1561s # .d 1561s # .b 1561s # .c 1561s # .f 1561s # .e 1561s # .d 1561s # .b 1561s # .c 1561s # .f 1561s # .e 1561s # .b 1561s # .d 1561s # .c 1561s # .f 1561s # .e 1561s # .b 1561s # .d 1561s # .c 1561s # .f 1561s # .e 1561s ok 1 /gobject/refcount/properties-1 1561s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 1561s # End of refcount tests 1561s # End of gobject tests 1561s ok - glib/properties-refcount1.test 1561s # Running test: glib/642026-ec.test 1561s TAP version 13 1561s # random seed: R02S937bd58fe0523128c6ddbe33ffac5510 1561s 1..1 1561s # Start of glib tests 1561s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1562s ok 1 /glib/642026 1562s # End of glib tests 1562s ok - glib/642026-ec.test 1562s # Running test: glib/g-file.test 1562s TAP version 13 1562s # random seed: R02Sf4725a66466f3711399419efc6fcd780 1562s 1..8 1562s # Start of g-file tests 1562s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1562s ok 1 /g-file/test_g_file_new_null 1562s ok 2 /g-file/test_g_file_new_for_path 1562s ok 3 /g-file/test_g_file_new_for_uri 1562s ok 4 /g-file/test_g_file_dup 1562s ok 5 /g-file/test_g_file_get_parse_name_utf8 1562s file:///tmp/test-tmp-glib_g-file.test-QY8QK2 1562s file:///tmp 1562s file:///tmp 1562s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1562s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1562s ok 6 /g-file/test_g_file_new_for_commandline_arg 1562s /dir1 /dir1/dir2/dir3/ 1562s /dir1/ /dir1/dir2/dir3/ 1562s /dir1 /dir1/dir2/dir3 1562s /dir1/ /dir1/dir2/dir3 1562s /tmp/ /something/ 1562s /dir1/dir2 /dir1/ 1562s //dir1/new //dir1/new/dir2/dir3 1562s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1562s file:///dir1 file:///dir1/dir2/dir3/ 1562s file:///dir1/ file:///dir1/dir2/dir3/ 1562s file:///dir1 file:///dir1/dir2/dir3 1562s file:///dir1/ file:///dir1/dir2/dir3 1562s file:///tmp/ file:///something/ 1562s file:///dir1/dir2 file:///dir1/ 1562s file:////dir1/new file:////dir1/new/dir2/dir3 1562s 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 1562s ok 7 /g-file/test_g_file_has_prefix 1562s ok 8 /g-file/test_g_file_get_parent_child 1562s # End of g-file tests 1562s ok - glib/g-file.test 1562s # Running test: glib/signals.test 1562s TAP version 13 1562s # random seed: R02S132ac41db8259afe5743a71bb5074f7f 1562s 1..31 1562s # Start of gobject tests 1562s # Start of signals tests 1562s ok 1 /gobject/signals/all-types 1562s ok 2 /gobject/signals/variant 1562s ok 3 /gobject/signals/destroy-target-object 1562s ok 4 /gobject/signals/generic-marshaller-1 1562s ok 5 /gobject/signals/generic-marshaller-2 1562s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1562s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1562s ok 8 /gobject/signals/generic-marshaller-int-return 1562s ok 9 /gobject/signals/generic-marshaller-uint-return 1562s ok 10 /gobject/signals/generic-marshaller-interface-return 1562s ok 11 /gobject/signals/custom-marshaller 1562s ok 12 /gobject/signals/connect 1562s ok 13 /gobject/signals/emission-hook 1562s ok 14 /gobject/signals/emitv 1562s ok 15 /gobject/signals/accumulator 1562s # Signal: accumulator-class-first 1562s # Signal: accumulator-class-last 1562s # Signal: accumulator-class-cleanup 1562s # Signal: accumulator-class-first-last 1562s # Signal: accumulator-class-first-last-cleanup 1562s # Signal: accumulator-class-last-cleanup 1562s ok 16 /gobject/signals/accumulator-class 1562s ok 17 /gobject/signals/introspection 1562s ok 18 /gobject/signals/block-handler 1562s ok 19 /gobject/signals/stop-emission 1562s ok 20 /gobject/signals/invocation-hint 1562s ok 21 /gobject/signals/test-disconnection-wrong-object 1562s ok 22 /gobject/signals/clear-signal-handler 1562s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1562s ok 23 /gobject/signals/lookup 1562s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1562s ok 24 /gobject/signals/parse-name 1562s ok 25 /gobject/signals/is-valid-name 1562s ok 26 /gobject/signals/weak-ref-disconnect 1562s # Start of lookup tests 1562s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1562s ok 27 /gobject/signals/lookup/invalid 1562s # End of lookup tests 1562s # Start of parse-name tests 1562s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1562s # Parser input: 1562s # Parser input: 7zip 1562s # Parser input: invalid:signal 1562s # Parser input: simple-detailed:: 1562s # Parser input: simple-detailed: 1562s # Parser input: : 1562s # Parser input: :: 1562s # Parser input: :valid-detail 1562s # Parser input: ::valid-detail 1562s ok 28 /gobject/signals/parse-name/invalid 1562s # End of parse-name tests 1562s # Start of invalid-name tests 1562s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1562s ok 29 /gobject/signals/invalid-name/colon 1562s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1562s ok 30 /gobject/signals/invalid-name/first-char 1562s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1562s ok 31 /gobject/signals/invalid-name/empty 1562s # End of invalid-name tests 1562s # End of signals tests 1562s # End of gobject tests 1562s ok - glib/signals.test 1562s # Running test: glib/gdbus-server-auth.test 1562s TAP version 13 1562s # random seed: R02S07cf7e68c7bd5702788f32925ad761a9 1562s 1..9 1562s # Start of gdbus tests 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/.dirs/runtime 1562s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ELCWK2/gdbus-server-auth-0JAWK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1562s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ELCWK2/gdbus-server-auth-0JAWK2/dbus-sDfdHrfl 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11108 1562s ok 1 /gdbus/server-auth 1562s # Start of server-auth tests 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/abstract/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/abstract/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/abstract/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/abstract/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/abstract/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/abstract/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/abstract/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/abstract/.dirs/runtime 1562s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_ELCWK2/gdbus-server-auth-R46TK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1562s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ELCWK2/gdbus-server-auth-R46TK2/dbus-BLb5vfpr 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1562s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1562s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11108 1562s ok 2 /gdbus/server-auth/abstract 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/tcp/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/tcp/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/tcp/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/tcp/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/tcp/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/tcp/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/tcp/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/tcp/.dirs/runtime 1562s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1562s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/.dirs/runtime 1562s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ELCWK2/gdbus-server-auth-7WTUK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1562s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ELCWK2/gdbus-server-auth-7WTUK2/dbus-O08wSe9k 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11108 1562s ok 4 /gdbus/server-auth/anonymous 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/.dirs/runtime 1562s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ELCWK2/gdbus-server-auth-TR2XK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1562s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ELCWK2/gdbus-server-auth-TR2XK2/dbus-1HlhIY4J 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11108 1562s ok 5 /gdbus/server-auth/external 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/.dirs/runtime 1562s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ELCWK2/gdbus-server-auth-RUPYK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1562s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1562s # Start of anonymous tests 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/tcp/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/tcp/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/tcp/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/tcp/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1562s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1562s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1562s # End of anonymous tests 1562s # Start of external tests 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/require-same-user/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/require-same-user/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/require-same-user/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/require-same-user/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/require-same-user/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1562s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ELCWK2/gdbus-server-auth-HENYK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1562s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ELCWK2/gdbus-server-auth-HENYK2/dbus-4h2xtrf9 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11108 1562s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1562s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1562s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1562s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11108,uid=1000,gid=1000 1562s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11108 1562s ok 8 /gdbus/server-auth/external/require-same-user 1562s # End of external tests 1562s # Start of sha1 tests 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/tcp/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/tcp/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/tcp/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/tcp/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/tcp/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ELCWK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1562s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1562s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1562s # End of sha1 tests 1562s # End of server-auth tests 1562s # End of gdbus tests 1562s ok - glib/gdbus-server-auth.test 1562s # Running test: glib/buffered-input-stream.test 1562s TAP version 13 1562s # random seed: R02Sfcb267c698315a2918a3505411b315a3 1562s 1..10 1562s # Start of buffered-input-stream tests 1562s ok 1 /buffered-input-stream/peek 1562s ok 2 /buffered-input-stream/peek-buffer 1562s ok 3 /buffered-input-stream/set-buffer-size 1562s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1562s ok 4 /buffered-input-stream/read-byte 1562s ok 5 /buffered-input-stream/read 1562s ok 6 /buffered-input-stream/read-async 1562s ok 7 /buffered-input-stream/skip 1562s ok 8 /buffered-input-stream/skip-async 1562s ok 9 /buffered-input-stream/seek 1562s # End of buffered-input-stream tests 1562s # Start of filter-input-stream tests 1562s ok 10 /filter-input-stream/close 1562s # End of filter-input-stream tests 1562s ok - glib/buffered-input-stream.test 1562s # Running test: glib/simple-proxy.test 1562s TAP version 13 1562s # random seed: R02S0fce4a9f28a318e455d1a1b0339214ba 1562s 1..3 1562s # Start of static-proxy tests 1562s ok 1 /static-proxy/uri 1562s ok 2 /static-proxy/socks 1562s ok 3 /static-proxy/ignore 1562s # End of static-proxy tests 1562s ok - glib/simple-proxy.test 1562s # Running test: glib/thumbnail-verification.test 1562s TAP version 13 1562s # random seed: R02S69893955e7b1b77d7724b979dc39f6e8 1562s 1..1 1562s # Start of png-thumbs tests 1562s ok 1 /png-thumbs/validity 1562s # End of png-thumbs tests 1562s ok - glib/thumbnail-verification.test 1562s # Running test: glib/filter-streams.test 1562s TAP version 13 1562s # random seed: R02S6c5c041db2171503b5ef033dd1a635c0 1562s 1..4 1562s # Start of filter-stream tests 1562s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1562s ok 1 /filter-stream/input 1562s ok 2 /filter-stream/output 1562s ok 3 /filter-stream/async-input 1562s ok 4 /filter-stream/async-output 1562s # End of filter-stream tests 1562s ok - glib/filter-streams.test 1562s # Running test: glib/cmph-bdz.test 1562s TAP version 13 1562s # random seed: R02Sff807df9c6dbb1f8bee783f22fc14f98 1562s 1..2 1562s # Start of cmph-bdz tests 1562s ok 1 /cmph-bdz/search 1562s ok 2 /cmph-bdz/search-packed 1562s # End of cmph-bdz tests 1562s ok - glib/cmph-bdz.test 1562s # Running test: glib/timer.test 1562s TAP version 13 1562s # random seed: R02S54213b67edce9009f65331d6fbf9d8a2 1562s 1..10 1562s # Start of timer tests 1562s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1562s ok 2 /timer/stop 1562s ok 3 /timer/continue 1562s ok 4 /timer/reset 1562s ok 5 /timer/is_active 1562s # End of timer tests 1562s # Start of timeval tests 1562s ok 6 /timeval/add 1562s ok 7 /timeval/from-iso8601 1562s ok 8 /timeval/to-iso8601 1562s # Start of to-iso8601 tests 1562s ok 9 /timeval/to-iso8601/overflow 1562s # End of to-iso8601 tests 1562s # End of timeval tests 1562s # Start of usleep tests 1562s ok 10 /usleep/with-zero-wait 1562s # End of usleep tests 1562s ok - glib/timer.test 1562s # Running test: glib/readwrite.test 1562s TAP version 13 1562s # random seed: R02Sd3ba443b7228db2ca55408b8694c07c6 1562s 1..3 1562s # Start of readwrite tests 1562s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1562s ok 1 /readwrite/test_g_file_open_readwrite 1562s ok 2 /readwrite/test_g_file_create_readwrite 1562s ok 3 /readwrite/test_g_file_replace_readwrite 1562s # End of readwrite tests 1562s ok - glib/readwrite.test 1562s # Running test: glib/file.test 1562s TAP version 13 1562s # random seed: R02Sd9ef7e8a7a1f2e080f4bdff42aa2372f 1562s 1..50 1562s # Start of file tests 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/basic/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/basic/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/basic/.dirs/system-config1:/tmp/test_file_8EF1K2/file/basic/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/basic/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/basic/.dirs/system-data1:/tmp/test_file_8EF1K2/file/basic/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/basic/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/basic/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/basic/.dirs/runtime 1562s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1562s ok 1 /file/basic 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/build-filename/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/build-filename/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/build-filename/.dirs/system-config1:/tmp/test_file_8EF1K2/file/build-filename/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/build-filename/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/build-filename/.dirs/system-data1:/tmp/test_file_8EF1K2/file/build-filename/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/build-filename/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/build-filename/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/build-filename/.dirs/runtime 1562s ok 2 /file/build-filename 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/build-filenamev/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/build-filenamev/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_8EF1K2/file/build-filenamev/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/build-filenamev/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_8EF1K2/file/build-filenamev/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/build-filenamev/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/build-filenamev/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/build-filenamev/.dirs/runtime 1562s ok 3 /file/build-filenamev 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/parent/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/parent/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/parent/.dirs/system-config1:/tmp/test_file_8EF1K2/file/parent/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/parent/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/parent/.dirs/system-data1:/tmp/test_file_8EF1K2/file/parent/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/parent/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/parent/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/parent/.dirs/runtime 1562s ok 4 /file/parent 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/child/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/child/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/child/.dirs/system-config1:/tmp/test_file_8EF1K2/file/child/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/child/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/child/.dirs/system-data1:/tmp/test_file_8EF1K2/file/child/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/child/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/child/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/child/.dirs/runtime 1562s ok 5 /file/child 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/empty-path/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/empty-path/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/empty-path/.dirs/system-config1:/tmp/test_file_8EF1K2/file/empty-path/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/empty-path/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/empty-path/.dirs/system-data1:/tmp/test_file_8EF1K2/file/empty-path/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/empty-path/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/empty-path/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/empty-path/.dirs/runtime 1562s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1562s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1562s ok 6 /file/empty-path 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/type/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/type/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/type/.dirs/system-config1:/tmp/test_file_8EF1K2/file/type/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/type/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/type/.dirs/system-data1:/tmp/test_file_8EF1K2/file/type/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/type/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/type/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/type/.dirs/runtime 1562s ok 7 /file/type 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/parse-name/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/parse-name/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/parse-name/.dirs/system-config1:/tmp/test_file_8EF1K2/file/parse-name/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/parse-name/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/parse-name/.dirs/system-data1:/tmp/test_file_8EF1K2/file/parse-name/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/parse-name/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/parse-name/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/parse-name/.dirs/runtime 1562s ok 8 /file/parse-name 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/replace-load/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/replace-load/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/replace-load/.dirs/system-config1:/tmp/test_file_8EF1K2/file/replace-load/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/replace-load/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/replace-load/.dirs/system-data1:/tmp/test_file_8EF1K2/file/replace-load/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/replace-load/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/replace-load/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/replace-load/.dirs/runtime 1562s ok 9 /file/replace-load 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/replace-cancel/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/replace-cancel/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_8EF1K2/file/replace-cancel/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/replace-cancel/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_8EF1K2/file/replace-cancel/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/replace-cancel/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/replace-cancel/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/replace-cancel/.dirs/runtime 1562s # Bug Reference: https://bugzilla.gnome.org/629301 1562s ok 10 /file/replace-cancel 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/replace-symlink/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/replace-symlink/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_8EF1K2/file/replace-symlink/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/replace-symlink/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_8EF1K2/file/replace-symlink/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/replace-symlink/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/replace-symlink/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/replace-symlink/.dirs/runtime 1562s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1562s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1562s # Using temporary directory /tmp/test_file_8EF1K2/g_file_replace_symlink_2KLZK2 1562s ok 11 /file/replace-symlink 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/async-new-tmp/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/async-new-tmp/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_8EF1K2/file/async-new-tmp/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/async-new-tmp/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_8EF1K2/file/async-new-tmp/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/async-new-tmp/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/async-new-tmp/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/async-new-tmp/.dirs/runtime 1562s ok 12 /file/async-new-tmp 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/async-new-tmp-dir/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/async-new-tmp-dir/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_8EF1K2/file/async-new-tmp-dir/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/async-new-tmp-dir/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_8EF1K2/file/async-new-tmp-dir/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/async-new-tmp-dir/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/async-new-tmp-dir/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/async-new-tmp-dir/.dirs/runtime 1562s ok 13 /file/async-new-tmp-dir 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/async-delete/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/async-delete/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/async-delete/.dirs/system-config1:/tmp/test_file_8EF1K2/file/async-delete/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/async-delete/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/async-delete/.dirs/system-data1:/tmp/test_file_8EF1K2/file/async-delete/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/async-delete/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/async-delete/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/async-delete/.dirs/runtime 1562s ok 14 /file/async-delete 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/async-make-symlink/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/async-make-symlink/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_8EF1K2/file/async-make-symlink/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/async-make-symlink/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_8EF1K2/file/async-make-symlink/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/async-make-symlink/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/async-make-symlink/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/async-make-symlink/.dirs/runtime 1562s ok 15 /file/async-make-symlink 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/copy-preserve-mode/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/copy-preserve-mode/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_8EF1K2/file/copy-preserve-mode/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/copy-preserve-mode/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_8EF1K2/file/copy-preserve-mode/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/copy-preserve-mode/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/copy-preserve-mode/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/copy-preserve-mode/.dirs/runtime 1562s # Current umask: 2 1562s # Vector 0 1562s # Vector 1 1562s # Vector 2 1562s # Vector 3 1562s # Vector 4 1562s # Vector 5 1562s # Vector 6 1562s # Vector 7 1562s # Vector 8 1562s # Vector 9 1562s # Vector 10 1562s ok 16 /file/copy-preserve-mode 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/measure/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/measure/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/measure/.dirs/system-config1:/tmp/test_file_8EF1K2/file/measure/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/measure/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/measure/.dirs/system-data1:/tmp/test_file_8EF1K2/file/measure/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/measure/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/measure/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/measure/.dirs/runtime 1562s ok 17 /file/measure 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/measure-async/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/measure-async/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/measure-async/.dirs/system-config1:/tmp/test_file_8EF1K2/file/measure-async/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/measure-async/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/measure-async/.dirs/system-data1:/tmp/test_file_8EF1K2/file/measure-async/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/measure-async/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/measure-async/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/measure-async/.dirs/runtime 1562s ok 18 /file/measure-async 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/load-bytes/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/load-bytes/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/load-bytes/.dirs/system-config1:/tmp/test_file_8EF1K2/file/load-bytes/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/load-bytes/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/load-bytes/.dirs/system-data1:/tmp/test_file_8EF1K2/file/load-bytes/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/load-bytes/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/load-bytes/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/load-bytes/.dirs/runtime 1562s ok 19 /file/load-bytes 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/load-bytes-async/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/load-bytes-async/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_8EF1K2/file/load-bytes-async/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/load-bytes-async/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_8EF1K2/file/load-bytes-async/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/load-bytes-async/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/load-bytes-async/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/load-bytes-async/.dirs/runtime 1562s ok 20 /file/load-bytes-async 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/writev/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/writev/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/writev/.dirs/system-config1:/tmp/test_file_8EF1K2/file/writev/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/writev/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/writev/.dirs/system-data1:/tmp/test_file_8EF1K2/file/writev/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/writev/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/writev/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/writev/.dirs/runtime 1562s ok 21 /file/writev 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/build-attribute-list-for-copy/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/build-attribute-list-for-copy/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_8EF1K2/file/build-attribute-list-for-copy/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/build-attribute-list-for-copy/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_8EF1K2/file/build-attribute-list-for-copy/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/build-attribute-list-for-copy/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/build-attribute-list-for-copy/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/build-attribute-list-for-copy/.dirs/runtime 1562s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1562s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1562s # 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::* 1562s # 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::* 1562s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1562s # Attributes for copy: standard::size,xattr::* 1562s # Attributes for copy: standard::size,unix::mode,xattr::* 1562s ok 22 /file/build-attribute-list-for-copy 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/move_async/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/move_async/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/move_async/.dirs/system-config1:/tmp/test_file_8EF1K2/file/move_async/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/move_async/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/move_async/.dirs/system-data1:/tmp/test_file_8EF1K2/file/move_async/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/move_async/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/move_async/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/move_async/.dirs/runtime 1562s ok 23 /file/move_async 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/query-zero-length-content-type/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/query-zero-length-content-type/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_8EF1K2/file/query-zero-length-content-type/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/query-zero-length-content-type/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_8EF1K2/file/query-zero-length-content-type/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/query-zero-length-content-type/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/query-zero-length-content-type/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/query-zero-length-content-type/.dirs/runtime 1562s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1562s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1562s ok 24 /file/query-zero-length-content-type 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/runtime 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/data/applications 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/config 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/config 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/config 1562s ok 25 /file/query-default-handler-file 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/runtime 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/data/applications 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/config 1562s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_8EF1K2/file/query-default-handler-file/.dirs/config to /tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/config 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/config 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/config 1562s ok 26 /file/query-default-handler-file-async 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/runtime 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/data/applications 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/config 1562s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_8EF1K2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/config 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/config 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/config 1562s ok 27 /file/query-default-handler-uri 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/runtime 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/data/applications 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/config 1562s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_8EF1K2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/config 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/config 1562s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_8EF1K2/file/query-default-handler-uri-async/.dirs/config 1562s ok 28 /file/query-default-handler-uri-async 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/enumerator-cancellation/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/enumerator-cancellation/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_8EF1K2/file/enumerator-cancellation/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/enumerator-cancellation/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_8EF1K2/file/enumerator-cancellation/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/enumerator-cancellation/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/enumerator-cancellation/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/enumerator-cancellation/.dirs/runtime 1562s ok 29 /file/enumerator-cancellation 1562s # Start of async-create-delete tests 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/async-create-delete/0/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/0/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_8EF1K2/file/async-create-delete/0/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/0/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_8EF1K2/file/async-create-delete/0/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/0/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/0/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/async-create-delete/0/.dirs/runtime 1562s ok 30 /file/async-create-delete/0 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/async-create-delete/1/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/1/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_8EF1K2/file/async-create-delete/1/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/1/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_8EF1K2/file/async-create-delete/1/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/1/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/1/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/async-create-delete/1/.dirs/runtime 1562s ok 31 /file/async-create-delete/1 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/async-create-delete/10/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/10/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_8EF1K2/file/async-create-delete/10/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/10/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_8EF1K2/file/async-create-delete/10/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/10/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/10/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/async-create-delete/10/.dirs/runtime 1562s ok 32 /file/async-create-delete/10 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/async-create-delete/25/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/25/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_8EF1K2/file/async-create-delete/25/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/25/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_8EF1K2/file/async-create-delete/25/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/25/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/25/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/async-create-delete/25/.dirs/runtime 1562s ok 33 /file/async-create-delete/25 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/async-create-delete/4096/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/4096/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_8EF1K2/file/async-create-delete/4096/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/4096/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_8EF1K2/file/async-create-delete/4096/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/4096/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/async-create-delete/4096/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/async-create-delete/4096/.dirs/runtime 1562s ok 34 /file/async-create-delete/4096 1562s # End of async-create-delete tests 1562s # Start of replace-symlink tests 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/replace-symlink/using-etag/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/replace-symlink/using-etag/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_8EF1K2/file/replace-symlink/using-etag/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/replace-symlink/using-etag/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_8EF1K2/file/replace-symlink/using-etag/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/replace-symlink/using-etag/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/replace-symlink/using-etag/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/replace-symlink/using-etag/.dirs/runtime 1562s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1562s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1562s # Using temporary directory /tmp/test_file_8EF1K2/g_file_replace_symlink_using_etag_9CHLK2 1564s # Executing: glib/file.test 1564s ok 35 /file/replace-symlink/using-etag 1564s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1564s # End of replace-symlink tests 1564s # Start of replace tests 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/replace/write-only/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/replace/write-only/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_8EF1K2/file/replace/write-only/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/replace/write-only/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_8EF1K2/file/replace/write-only/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/replace/write-only/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/replace/write-only/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/replace/write-only/.dirs/runtime 1564s # /file/replace/write-only summary: Test various situations for g_file_replace() 1564s # Current umask: 2 1564s # Test 0, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_41DLK2 1564s # Test 1, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_QGELK2 1564s # Test 2, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_3RALK2 1564s # Test 3, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_CS9KK2 1564s # Test 4, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_2F7KK2 1564s # Test 5, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_307KK2 1564s # Test 6, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_H2KMK2 1564s # Test 7, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_IEIMK2 1564s # Test 8, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_VIHMK2 1564s # Test 9, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_XZHMK2 1564s # Test 10, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_5EGMK2 1564s # Test 11, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_FDDMK2 1564s # Test 12, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_S0DMK2 1564s # Test 13, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_NZCMK2 1564s # Test 14, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_5JBMK2 1564s # Test 15, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_TL8LK2 1564s # Test 16, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_T46LK2 1564s # Test 17, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_LO5LK2 1564s # Test 18, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_X73LK2 1564s # Test 19, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_3M2LK2 1564s # Test 20, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_4Y0LK2 1564s # Test 21, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_28YLK2 1564s # Test 22, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_K3YLK2 1564s # Test 23, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_IZXLK2 1564s # Test 24, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_C73PK2 1564s # Test 25, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_QK2PK2 1564s # Test 26, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_8J1PK2 1564s # Test 27, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_OJ0PK2 1564s # Test 28, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_5G0PK2 1564s # Test 29, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_1DXPK2 1564s # Test 30, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_NXXPK2 1564s # Test 31, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_UOWPK2 1564s # Test 32, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_CKWPK2 1564s # Test 33, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_JFTPK2 1564s # Test 34, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_82TPK2 1564s # Test 35, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_T1SPK2 1564s # Test 36, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_BFRPK2 1564s # Test 37, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_83PPK2 1564s # Test 38, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_QJOPK2 1564s # Test 39, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_HTMPK2 1564s # Test 40, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_ZHLPK2 1564s # Test 41, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_MQJPK2 1564s # Test 42, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_H4HPK2 1564s # Test 43, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_MNGPK2 1564s # Test 44, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_FOSQK2 1564s # Test 45, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_QKRQK2 1564s # Test 46, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_5ZPQK2 1564s # Test 47, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_SJQQK2 1564s # Test 48, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_EKOQK2 1564s # We do not have CAP_DAC_OVERRIDE or equivalent 1564s ok 36 /file/replace/write-only 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/replace/read-write/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/replace/read-write/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_8EF1K2/file/replace/read-write/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/replace/read-write/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_8EF1K2/file/replace/read-write/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/replace/read-write/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/replace/read-write/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/replace/read-write/.dirs/runtime 1564s # /file/replace/read-write summary: Test various situations for g_file_replace() 1564s # Current umask: 2 1564s # Test 0, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_RXMQK2 1564s # Test 1, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_PANQK2 1564s # Test 2, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_GGKQK2 1564s # Test 3, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_YCJQK2 1564s # Test 4, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_PJIQK2 1564s # Test 5, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_KJHQK2 1564s # Test 6, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_Z7FQK2 1564s # Test 7, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_YEDQK2 1564s # Test 8, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_SYDQK2 1564s # Test 9, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_0PCQK2 1564s # Test 10, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_Y39PK2 1564s # Test 11, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_FW8PK2 1564s # Test 12, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_VY7PK2 1564s # Test 13, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_8X6PK2 1564s # Test 14, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_RM5PK2 1564s # Test 15, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_SUPOK2 1564s # Test 16, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_A9NOK2 1564s # Test 17, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_6RMOK2 1564s # Test 18, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_41JOK2 1564s # Test 19, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_PVIOK2 1564s # Test 20, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_RAHOK2 1564s # Test 21, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_3DEOK2 1564s # Test 22, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_UQCOK2 1564s # Test 23, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_H5COK2 1564s # Test 24, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_QGBOK2 1564s # Test 25, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_QU9NK2 1564s # Test 26, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_RW8NK2 1564s # Test 27, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_ZV7NK2 1564s # Test 28, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_5T7NK2 1564s # Test 29, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_RT4NK2 1564s # Test 30, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_R33NK2 1564s # Test 31, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_QI4NK2 1564s # Test 32, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_MV2NK2 1564s # Test 33, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_QD1NK2 1564s # Test 34, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_8TEPK2 1564s # Test 35, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_GAFPK2 1564s # Test 36, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_EODPK2 1564s # Test 37, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_U0APK2 1564s # Test 38, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_C88OK2 1564s # Test 39, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_RT7OK2 1564s # Test 40, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_L85OK2 1564s # Test 41, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_4M4OK2 1564s # Test 42, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_XW2OK2 1564s # Test 43, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_3B1OK2 1564s # Test 44, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_ZWZOK2 1564s # Test 45, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_XTYOK2 1564s # Test 46, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_67WOK2 1564s # Test 47, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_INXOK2 1564s # Test 48, using temporary directory /tmp/test_file_8EF1K2/g_file_replace_IUVOK2 1564s # We do not have CAP_DAC_OVERRIDE or equivalent 1564s ok 37 /file/replace/read-write 1564s # End of replace tests 1564s # Start of copy tests 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/copy/progress/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/copy/progress/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/copy/progress/.dirs/system-config1:/tmp/test_file_8EF1K2/file/copy/progress/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/copy/progress/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/copy/progress/.dirs/system-data1:/tmp/test_file_8EF1K2/file/copy/progress/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/copy/progress/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/copy/progress/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/copy/progress/.dirs/runtime 1564s ok 38 /file/copy/progress 1564s # End of copy tests 1564s # Start of writev tests 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/writev/no-bytes-written/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/writev/no-bytes-written/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_8EF1K2/file/writev/no-bytes-written/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/writev/no-bytes-written/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_8EF1K2/file/writev/no-bytes-written/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/writev/no-bytes-written/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/writev/no-bytes-written/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/writev/no-bytes-written/.dirs/runtime 1564s ok 39 /file/writev/no-bytes-written 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/writev/no-vectors/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/writev/no-vectors/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_8EF1K2/file/writev/no-vectors/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/writev/no-vectors/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_8EF1K2/file/writev/no-vectors/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/writev/no-vectors/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/writev/no-vectors/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/writev/no-vectors/.dirs/runtime 1564s ok 40 /file/writev/no-vectors 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/writev/empty-vectors/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/writev/empty-vectors/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_8EF1K2/file/writev/empty-vectors/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/writev/empty-vectors/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_8EF1K2/file/writev/empty-vectors/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/writev/empty-vectors/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/writev/empty-vectors/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/writev/empty-vectors/.dirs/runtime 1564s ok 41 /file/writev/empty-vectors 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/writev/too-big-vectors/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/writev/too-big-vectors/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_8EF1K2/file/writev/too-big-vectors/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/writev/too-big-vectors/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_8EF1K2/file/writev/too-big-vectors/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/writev/too-big-vectors/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/writev/too-big-vectors/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/writev/too-big-vectors/.dirs/runtime 1564s ok 42 /file/writev/too-big-vectors 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/writev/async/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/writev/async/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/writev/async/.dirs/system-config1:/tmp/test_file_8EF1K2/file/writev/async/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/writev/async/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/writev/async/.dirs/system-data1:/tmp/test_file_8EF1K2/file/writev/async/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/writev/async/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/writev/async/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/writev/async/.dirs/runtime 1564s ok 43 /file/writev/async 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/writev/async_all/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/writev/async_all/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_8EF1K2/file/writev/async_all/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/writev/async_all/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_8EF1K2/file/writev/async_all/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/writev/async_all/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/writev/async_all/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/writev/async_all/.dirs/runtime 1564s ok 44 /file/writev/async_all 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/writev/async_all-empty-vectors/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-empty-vectors/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_8EF1K2/file/writev/async_all-empty-vectors/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-empty-vectors/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_8EF1K2/file/writev/async_all-empty-vectors/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-empty-vectors/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-empty-vectors/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/writev/async_all-empty-vectors/.dirs/runtime 1564s ok 45 /file/writev/async_all-empty-vectors 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/writev/async_all-no-vectors/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-no-vectors/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_8EF1K2/file/writev/async_all-no-vectors/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-no-vectors/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_8EF1K2/file/writev/async_all-no-vectors/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-no-vectors/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-no-vectors/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/writev/async_all-no-vectors/.dirs/runtime 1564s ok 46 /file/writev/async_all-no-vectors 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/writev/async_all-to-big-vectors/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-to-big-vectors/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_8EF1K2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-to-big-vectors/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_8EF1K2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-to-big-vectors/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-to-big-vectors/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/writev/async_all-to-big-vectors/.dirs/runtime 1564s ok 47 /file/writev/async_all-to-big-vectors 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/writev/async_all-cancellation/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-cancellation/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_8EF1K2/file/writev/async_all-cancellation/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-cancellation/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_8EF1K2/file/writev/async_all-cancellation/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-cancellation/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/writev/async_all-cancellation/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/writev/async_all-cancellation/.dirs/runtime 1564s ok 48 /file/writev/async_all-cancellation 1564s # End of writev tests 1564s # Start of from-uri tests 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/from-uri/ignores-query-string/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/from-uri/ignores-query-string/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_8EF1K2/file/from-uri/ignores-query-string/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/from-uri/ignores-query-string/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_8EF1K2/file/from-uri/ignores-query-string/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/from-uri/ignores-query-string/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/from-uri/ignores-query-string/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/from-uri/ignores-query-string/.dirs/runtime 1564s ok 49 /file/from-uri/ignores-query-string 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_8EF1K2/file/from-uri/ignores-fragment/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_8EF1K2/file/from-uri/ignores-fragment/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_8EF1K2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_8EF1K2/file/from-uri/ignores-fragment/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_8EF1K2/file/from-uri/ignores-fragment/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_8EF1K2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_8EF1K2/file/from-uri/ignores-fragment/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_8EF1K2/file/from-uri/ignores-fragment/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_8EF1K2/file/from-uri/ignores-fragment/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_8EF1K2/file/from-uri/ignores-fragment/.dirs/runtime 1564s ok 50 /file/from-uri/ignores-fragment 1564s # End of from-uri tests 1564s # End of file tests 1564s ok - glib/file.test 1564s # Running test: glib/mkenums.py.test 1565s TAP version 13 1565s ok 1 __main__.TestMkenums.test_available_in 1565s # tmpdir: /tmp/tmpnwpt2z8t 1565s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1565s # /tmp/tmpnwpt2z8t/tmpt6_9ndez.h: 1565s # typedef enum { 1565s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1565s # } GDBusServerFlags; 1565s # 1565s # /tmp/tmpnwpt2z8t/tmp8por3tjz.template: 1565s # /*** BEGIN file-header ***/ 1565s # file-header 1565s # /*** END file-header ***/ 1565s # 1565s # /*** BEGIN file-production ***/ 1565s # file-production 1565s # filename: @filename@ 1565s # basename: @basename@ 1565s # /*** END file-production ***/ 1565s # 1565s # /*** BEGIN enumeration-production ***/ 1565s # enumeration-production 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END enumeration-production ***/ 1565s # 1565s # /*** BEGIN value-header ***/ 1565s # value-header 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-header ***/ 1565s # 1565s # /*** BEGIN value-production ***/ 1565s # value-production 1565s # VALUENAME: @VALUENAME@ 1565s # valuenick: @valuenick@ 1565s # valuenum: @valuenum@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-production ***/ 1565s # 1565s # /*** BEGIN value-tail ***/ 1565s # value-tail 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-tail ***/ 1565s # 1565s # /*** BEGIN comment ***/ 1565s # comment 1565s # comment: @comment@ 1565s # /*** END comment ***/ 1565s # 1565s # /*** BEGIN file-tail ***/ 1565s # file-tail 1565s # /*** END file-tail ***/ 1565s # 1565s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnwpt2z8t/tmp8por3tjz.template', '/tmp/tmpnwpt2z8t/tmpt6_9ndez.h'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: comment 1565s # 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. 1565s # 1565s # 1565s # file-header 1565s # file-production 1565s # filename: /tmp/tmpnwpt2z8t/tmpt6_9ndez.h 1565s # basename: tmpt6_9ndez.h 1565s # enumeration-production 1565s # EnumName: GDBusServerFlags 1565s # enum_name: g_dbus_server_flags 1565s # ENUMNAME: G_DBUS_SERVER_FLAGS 1565s # ENUMSHORT: DBUS_SERVER_FLAGS 1565s # ENUMPREFIX: G 1565s # enumsince: 1565s # type: flags 1565s # Type: Flags 1565s # TYPE: FLAGS 1565s # value-header 1565s # EnumName: GDBusServerFlags 1565s # enum_name: g_dbus_server_flags 1565s # ENUMNAME: G_DBUS_SERVER_FLAGS 1565s # ENUMSHORT: DBUS_SERVER_FLAGS 1565s # ENUMPREFIX: G 1565s # enumsince: 1565s # type: flags 1565s # Type: Flags 1565s # TYPE: FLAGS 1565s # value-production 1565s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1565s # valuenick: user 1565s # valuenum: 4 1565s # type: flags 1565s # Type: Flags 1565s # TYPE: FLAGS 1565s # value-tail 1565s # EnumName: GDBusServerFlags 1565s # enum_name: g_dbus_server_flags 1565s # ENUMNAME: G_DBUS_SERVER_FLAGS 1565s # ENUMSHORT: DBUS_SERVER_FLAGS 1565s # ENUMPREFIX: G 1565s # enumsince: 1565s # type: flags 1565s # Type: Flags 1565s # TYPE: FLAGS 1565s # file-tail 1565s # 1565s # comment 1565s # comment: Generated data ends here 1565s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1565s # tmpdir: /tmp/tmpn0w7okpb 1565s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1565s # /tmp/tmpn0w7okpb/tmpeq4dmfrf.h: 1565s # typedef enum { 1565s # ENUM_VALUE_WITH_COMMA = ',', 1565s # } TestCommaEnum; 1565s # 1565s # /tmp/tmpn0w7okpb/tmpabs8let9.template: 1565s # /*** BEGIN file-header ***/ 1565s # file-header 1565s # /*** END file-header ***/ 1565s # 1565s # /*** BEGIN file-production ***/ 1565s # file-production 1565s # filename: @filename@ 1565s # basename: @basename@ 1565s # /*** END file-production ***/ 1565s # 1565s # /*** BEGIN enumeration-production ***/ 1565s # enumeration-production 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END enumeration-production ***/ 1565s # 1565s # /*** BEGIN value-header ***/ 1565s # value-header 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-header ***/ 1565s # 1565s # /*** BEGIN value-production ***/ 1565s # value-production 1565s # VALUENAME: @VALUENAME@ 1565s # valuenick: @valuenick@ 1565s # valuenum: @valuenum@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-production ***/ 1565s # 1565s # /*** BEGIN value-tail ***/ 1565s # value-tail 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-tail ***/ 1565s # 1565s # /*** BEGIN comment ***/ 1565s # comment 1565s # comment: @comment@ 1565s # /*** END comment ***/ 1565s # 1565s # /*** BEGIN file-tail ***/ 1565s # file-tail 1565s # /*** END file-tail ***/ 1565s # 1565s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpn0w7okpb/tmpabs8let9.template', '/tmp/tmpn0w7okpb/tmpeq4dmfrf.h'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: comment 1565s # 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. 1565s # 1565s # 1565s # file-header 1565s # file-production 1565s # filename: /tmp/tmpn0w7okpb/tmpeq4dmfrf.h 1565s # basename: tmpeq4dmfrf.h 1565s # enumeration-production 1565s # EnumName: TestCommaEnum 1565s # enum_name: test_comma_enum 1565s # ENUMNAME: TEST_COMMA_ENUM 1565s # ENUMSHORT: COMMA_ENUM 1565s # ENUMPREFIX: TEST 1565s # enumsince: 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # value-header 1565s # EnumName: TestCommaEnum 1565s # enum_name: test_comma_enum 1565s # ENUMNAME: TEST_COMMA_ENUM 1565s # ENUMSHORT: COMMA_ENUM 1565s # ENUMPREFIX: TEST 1565s # enumsince: 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # value-production 1565s # VALUENAME: ENUM_VALUE_WITH_COMMA 1565s # valuenick: comma 1565s # valuenum: 44 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # value-tail 1565s # EnumName: TestCommaEnum 1565s # enum_name: test_comma_enum 1565s # ENUMNAME: TEST_COMMA_ENUM 1565s # ENUMSHORT: COMMA_ENUM 1565s # ENUMPREFIX: TEST 1565s # enumsince: 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # file-tail 1565s # 1565s # comment 1565s # comment: Generated data ends here 1565s ok 3 __main__.TestMkenums.test_deprecated_in 1565s # tmpdir: /tmp/tmp4kvnyyor 1565s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1565s # /tmp/tmp4kvnyyor/tmp99zdd9hq.h: 1565s # typedef enum { 1565s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1565s # } GDBusServerFlags; 1565s # 1565s # /tmp/tmp4kvnyyor/tmp1p9frk03.template: 1565s # /*** BEGIN file-header ***/ 1565s # file-header 1565s # /*** END file-header ***/ 1565s # 1565s # /*** BEGIN file-production ***/ 1565s # file-production 1565s # filename: @filename@ 1565s # basename: @basename@ 1565s # /*** END file-production ***/ 1565s # 1565s # /*** BEGIN enumeration-production ***/ 1565s # enumeration-production 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END enumeration-production ***/ 1565s # 1565s # /*** BEGIN value-header ***/ 1565s # value-header 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-header ***/ 1565s # 1565s # /*** BEGIN value-production ***/ 1565s # value-production 1565s # VALUENAME: @VALUENAME@ 1565s # valuenick: @valuenick@ 1565s # valuenum: @valuenum@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-production ***/ 1565s # 1565s # /*** BEGIN value-tail ***/ 1565s # value-tail 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-tail ***/ 1565s # 1565s # /*** BEGIN comment ***/ 1565s # comment 1565s # comment: @comment@ 1565s # /*** END comment ***/ 1565s # 1565s # /*** BEGIN file-tail ***/ 1565s # file-tail 1565s # /*** END file-tail ***/ 1565s # 1565s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4kvnyyor/tmp1p9frk03.template', '/tmp/tmp4kvnyyor/tmp99zdd9hq.h'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: comment 1565s # 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. 1565s # 1565s # 1565s # file-header 1565s # file-production 1565s # filename: /tmp/tmp4kvnyyor/tmp99zdd9hq.h 1565s # basename: tmp99zdd9hq.h 1565s # enumeration-production 1565s # EnumName: GDBusServerFlags 1565s # enum_name: g_dbus_server_flags 1565s # ENUMNAME: G_DBUS_SERVER_FLAGS 1565s # ENUMSHORT: DBUS_SERVER_FLAGS 1565s # ENUMPREFIX: G 1565s # enumsince: 1565s # type: flags 1565s # Type: Flags 1565s # TYPE: FLAGS 1565s # value-header 1565s # EnumName: GDBusServerFlags 1565s # enum_name: g_dbus_server_flags 1565s # ENUMNAME: G_DBUS_SERVER_FLAGS 1565s # ENUMSHORT: DBUS_SERVER_FLAGS 1565s # ENUMPREFIX: G 1565s # enumsince: 1565s # type: flags 1565s # Type: Flags 1565s # TYPE: FLAGS 1565s # value-production 1565s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1565s # valuenick: user 1565s # valuenum: 4 1565s # type: flags 1565s # Type: Flags 1565s # TYPE: FLAGS 1565s # value-tail 1565s # EnumName: GDBusServerFlags 1565s # enum_name: g_dbus_server_flags 1565s # ENUMNAME: G_DBUS_SERVER_FLAGS 1565s # ENUMSHORT: DBUS_SERVER_FLAGS 1565s # ENUMPREFIX: G 1565s # enumsince: 1565s # type: flags 1565s # Type: Flags 1565s # TYPE: FLAGS 1565s # file-tail 1565s # 1565s # comment 1565s # comment: Generated data ends here 1565s ok 4 __main__.TestMkenums.test_deprecated_in_for 1565s # tmpdir: /tmp/tmpqltwjrue 1565s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1565s # /tmp/tmpqltwjrue/tmpvbrix_on.h: 1565s # typedef enum { 1565s # 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) 1565s # } GDBusServerFlags; 1565s # 1565s # /tmp/tmpqltwjrue/tmpqn2aqui1.template: 1565s # /*** BEGIN file-header ***/ 1565s # file-header 1565s # /*** END file-header ***/ 1565s # 1565s # /*** BEGIN file-production ***/ 1565s # file-production 1565s # filename: @filename@ 1565s # basename: @basename@ 1565s # /*** END file-production ***/ 1565s # 1565s # /*** BEGIN enumeration-production ***/ 1565s # enumeration-production 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END enumeration-production ***/ 1565s # 1565s # /*** BEGIN value-header ***/ 1565s # value-header 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-header ***/ 1565s # 1565s # /*** BEGIN value-production ***/ 1565s # value-production 1565s # VALUENAME: @VALUENAME@ 1565s # valuenick: @valuenick@ 1565s # valuenum: @valuenum@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-production ***/ 1565s # 1565s # /*** BEGIN value-tail ***/ 1565s # value-tail 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-tail ***/ 1565s # 1565s # /*** BEGIN comment ***/ 1565s # comment 1565s # comment: @comment@ 1565s # /*** END comment ***/ 1565s # 1565s # /*** BEGIN file-tail ***/ 1565s # file-tail 1565s # /*** END file-tail ***/ 1565s # 1565s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqltwjrue/tmpqn2aqui1.template', '/tmp/tmpqltwjrue/tmpvbrix_on.h'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: comment 1565s # 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. 1565s # 1565s # 1565s # file-header 1565s # file-production 1565s # filename: /tmp/tmpqltwjrue/tmpvbrix_on.h 1565s # basename: tmpvbrix_on.h 1565s # enumeration-production 1565s # EnumName: GDBusServerFlags 1565s # enum_name: g_dbus_server_flags 1565s # ENUMNAME: G_DBUS_SERVER_FLAGS 1565s # ENUMSHORT: DBUS_SERVER_FLAGS 1565s # ENUMPREFIX: G 1565s # enumsince: 1565s # type: flags 1565s # Type: Flags 1565s # TYPE: FLAGS 1565s # value-header 1565s # EnumName: GDBusServerFlags 1565s # enum_name: g_dbus_server_flags 1565s # ENUMNAME: G_DBUS_SERVER_FLAGS 1565s # ENUMSHORT: DBUS_SERVER_FLAGS 1565s # ENUMPREFIX: G 1565s # enumsince: 1565s # type: flags 1565s # Type: Flags 1565s # TYPE: FLAGS 1565s # value-production 1565s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1565s # valuenick: user 1565s # valuenum: 4 1565s # type: flags 1565s # Type: Flags 1565s # TYPE: FLAGS 1565s # value-tail 1565s # EnumName: GDBusServerFlags 1565s # enum_name: g_dbus_server_flags 1565s # ENUMNAME: G_DBUS_SERVER_FLAGS 1565s # ENUMSHORT: DBUS_SERVER_FLAGS 1565s # ENUMPREFIX: G 1565s # enumsince: 1565s # type: flags 1565s # Type: Flags 1565s # TYPE: FLAGS 1565s # file-tail 1565s # 1565s # comment 1565s # comment: Generated data ends here 1565s ok 5 __main__.TestMkenums.test_empty_header 1565s # tmpdir: /tmp/tmpol2ga3ep 1565s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1565s # /tmp/tmpol2ga3ep/tmpnbua09vi.h: 1565s # /tmp/tmpol2ga3ep/tmpwhps3hyd.template: 1565s # /*** BEGIN file-header ***/ 1565s # file-header 1565s # /*** END file-header ***/ 1565s # 1565s # /*** BEGIN file-production ***/ 1565s # file-production 1565s # filename: @filename@ 1565s # basename: @basename@ 1565s # /*** END file-production ***/ 1565s # 1565s # /*** BEGIN enumeration-production ***/ 1565s # enumeration-production 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END enumeration-production ***/ 1565s # 1565s # /*** BEGIN value-header ***/ 1565s # value-header 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-header ***/ 1565s # 1565s # /*** BEGIN value-production ***/ 1565s # value-production 1565s # VALUENAME: @VALUENAME@ 1565s # valuenick: @valuenick@ 1565s # valuenum: @valuenum@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-production ***/ 1565s # 1565s # /*** BEGIN value-tail ***/ 1565s # value-tail 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-tail ***/ 1565s # 1565s # /*** BEGIN comment ***/ 1565s # comment 1565s # comment: @comment@ 1565s # /*** END comment ***/ 1565s # 1565s # /*** BEGIN file-tail ***/ 1565s # file-tail 1565s # /*** END file-tail ***/ 1565s # 1565s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpol2ga3ep/tmpwhps3hyd.template', '/tmp/tmpol2ga3ep/tmpnbua09vi.h'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: comment 1565s # 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. 1565s # 1565s # 1565s # file-header 1565s # file-tail 1565s # 1565s # comment 1565s # comment: Generated data ends here 1565s ok 6 __main__.TestMkenums.test_empty_template 1565s # tmpdir: /tmp/tmp5k9y_5mz 1565s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1565s # /tmp/tmp5k9y_5mz/tmprbjidnkv.template: 1565s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5k9y_5mz/tmprbjidnkv.template'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # 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. */ 1565s # 1565s # 1565s # /* Generated data ends here */ 1565s ok 7 __main__.TestMkenums.test_enum_name 1565s # tmpdir: /tmp/tmprqtgjamk 1565s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1565s # /tmp/tmprqtgjamk/tmpawwrhg01.h: 1565s # typedef enum _SomeEnumIdentifier { 1565s # ENUM_VALUE 1565s # } SomeEnumIdentifier; 1565s # 1565s # /tmp/tmprqtgjamk/tmpz_9qvt1u.template: 1565s # /*** BEGIN file-header ***/ 1565s # file-header 1565s # /*** END file-header ***/ 1565s # 1565s # /*** BEGIN file-production ***/ 1565s # file-production 1565s # filename: @filename@ 1565s # basename: @basename@ 1565s # /*** END file-production ***/ 1565s # 1565s # /*** BEGIN enumeration-production ***/ 1565s # enumeration-production 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END enumeration-production ***/ 1565s # 1565s # /*** BEGIN value-header ***/ 1565s # value-header 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-header ***/ 1565s # 1565s # /*** BEGIN value-production ***/ 1565s # value-production 1565s # VALUENAME: @VALUENAME@ 1565s # valuenick: @valuenick@ 1565s # valuenum: @valuenum@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-production ***/ 1565s # 1565s # /*** BEGIN value-tail ***/ 1565s # value-tail 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-tail ***/ 1565s # 1565s # /*** BEGIN comment ***/ 1565s # comment 1565s # comment: @comment@ 1565s # /*** END comment ***/ 1565s # 1565s # /*** BEGIN file-tail ***/ 1565s # file-tail 1565s # /*** END file-tail ***/ 1565s # 1565s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprqtgjamk/tmpz_9qvt1u.template', '/tmp/tmprqtgjamk/tmpawwrhg01.h'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: comment 1565s # 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. 1565s # 1565s # 1565s # file-header 1565s # file-production 1565s # filename: /tmp/tmprqtgjamk/tmpawwrhg01.h 1565s # basename: tmpawwrhg01.h 1565s # enumeration-production 1565s # EnumName: SomeEnumIdentifier 1565s # enum_name: some_enum_identifier 1565s # ENUMNAME: SOME_ENUM_IDENTIFIER 1565s # ENUMSHORT: ENUM_IDENTIFIER 1565s # ENUMPREFIX: SOME 1565s # enumsince: 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # value-header 1565s # EnumName: SomeEnumIdentifier 1565s # enum_name: some_enum_identifier 1565s # ENUMNAME: SOME_ENUM_IDENTIFIER 1565s # ENUMSHORT: ENUM_IDENTIFIER 1565s # ENUMPREFIX: SOME 1565s # enumsince: 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # value-production 1565s # VALUENAME: ENUM_VALUE 1565s # valuenick: value 1565s # valuenum: 0 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # value-tail 1565s # EnumName: SomeEnumIdentifier 1565s # enum_name: some_enum_identifier 1565s # ENUMNAME: SOME_ENUM_IDENTIFIER 1565s # ENUMSHORT: ENUM_IDENTIFIER 1565s # ENUMPREFIX: SOME 1565s # enumsince: 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # file-tail 1565s # 1565s # comment 1565s # comment: Generated data ends here 1565s ok 8 __main__.TestMkenums.test_enum_private_public 1565s # tmpdir: /tmp/tmpyj79jrc4 1565s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1565s # /tmp/tmpyj79jrc4/tmp6ao8_lv0.h: 1565s # typedef enum { 1565s # ENUM_VALUE_PUBLIC1, 1565s # /*< private >*/ 1565s # ENUM_VALUE_PRIVATE, 1565s # } SomeEnumA 1565s # 1565s # /tmp/tmpyj79jrc4/tmpkhguzzb1.template: 1565s # /*** BEGIN file-header ***/ 1565s # file-header 1565s # /*** END file-header ***/ 1565s # 1565s # /*** BEGIN file-production ***/ 1565s # file-production 1565s # filename: @filename@ 1565s # basename: @basename@ 1565s # /*** END file-production ***/ 1565s # 1565s # /*** BEGIN enumeration-production ***/ 1565s # enumeration-production 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END enumeration-production ***/ 1565s # 1565s # /*** BEGIN value-header ***/ 1565s # value-header 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-header ***/ 1565s # 1565s # /*** BEGIN value-production ***/ 1565s # value-production 1565s # VALUENAME: @VALUENAME@ 1565s # valuenick: @valuenick@ 1565s # valuenum: @valuenum@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-production ***/ 1565s # 1565s # /*** BEGIN value-tail ***/ 1565s # value-tail 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-tail ***/ 1565s # 1565s # /*** BEGIN comment ***/ 1565s # comment 1565s # comment: @comment@ 1565s # /*** END comment ***/ 1565s # 1565s # /*** BEGIN file-tail ***/ 1565s # file-tail 1565s # /*** END file-tail ***/ 1565s # 1565s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyj79jrc4/tmpkhguzzb1.template', '/tmp/tmpyj79jrc4/tmp6ao8_lv0.h'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: comment 1565s # 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. 1565s # 1565s # 1565s # file-header 1565s # file-production 1565s # filename: /tmp/tmpyj79jrc4/tmp6ao8_lv0.h 1565s # basename: tmp6ao8_lv0.h 1565s # enumeration-production 1565s # EnumName: SomeEnumA 1565s # enum_name: some_enum_a 1565s # ENUMNAME: SOME_ENUM_A 1565s # ENUMSHORT: ENUM_A 1565s # ENUMPREFIX: SOME 1565s # enumsince: 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # value-header 1565s # EnumName: SomeEnumA 1565s # enum_name: some_enum_a 1565s # ENUMNAME: SOME_ENUM_A 1565s # ENUMSHORT: ENUM_A 1565s # ENUMPREFIX: SOME 1565s # enumsince: 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # value-production 1565s # VALUENAME: ENUM_VALUE_PUBLIC1 1565s # valuenick: public1 1565s # valuenum: 0 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # value-tail 1565s # EnumName: SomeEnumA 1565s # enum_name: some_enum_a 1565s # ENUMNAME: SOME_ENUM_A 1565s # ENUMSHORT: ENUM_A 1565s # ENUMPREFIX: SOME 1565s # enumsince: 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # file-tail 1565s # 1565s # comment 1565s # comment: Generated data ends here 1565s # /tmp/tmpyj79jrc4/tmptjjppz4p.h: 1565s # typedef enum { 1565s # /*< private >*/ 1565s # ENUM_VALUE_PRIVATE, 1565s # /*< public >*/ 1565s # ENUM_VALUE_PUBLIC2, 1565s # } SomeEnumB; 1565s # 1565s # /tmp/tmpyj79jrc4/tmp7okk9tuj.template: 1565s # /*** BEGIN file-header ***/ 1565s # file-header 1565s # /*** END file-header ***/ 1565s # 1565s # /*** BEGIN file-production ***/ 1565s # file-production 1565s # filename: @filename@ 1565s # basename: @basename@ 1565s # /*** END file-production ***/ 1565s # 1565s # /*** BEGIN enumeration-production ***/ 1565s # enumeration-production 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END enumeration-production ***/ 1565s # 1565s # /*** BEGIN value-header ***/ 1565s # value-header 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-header ***/ 1565s # 1565s # /*** BEGIN value-production ***/ 1565s # value-production 1565s # VALUENAME: @VALUENAME@ 1565s # valuenick: @valuenick@ 1565s # valuenum: @valuenum@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-production ***/ 1565s # 1565s # /*** BEGIN value-tail ***/ 1565s # value-tail 1565s # EnumName: @EnumName@ 1565s # enum_name: @enum_name@ 1565s # ENUMNAME: @ENUMNAME@ 1565s # ENUMSHORT: @ENUMSHORT@ 1565s # ENUMPREFIX: @ENUMPREFIX@ 1565s # enumsince: @enumsince@ 1565s # type: @type@ 1565s # Type: @Type@ 1565s # TYPE: @TYPE@ 1565s # /*** END value-tail ***/ 1565s # 1565s # /*** BEGIN comment ***/ 1565s # comment 1565s # comment: @comment@ 1565s # /*** END comment ***/ 1565s # 1565s # /*** BEGIN file-tail ***/ 1565s # file-tail 1565s # /*** END file-tail ***/ 1565s # 1565s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyj79jrc4/tmp7okk9tuj.template', '/tmp/tmpyj79jrc4/tmptjjppz4p.h'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: comment 1565s # 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. 1565s # 1565s # 1565s # file-header 1565s # file-production 1565s # filename: /tmp/tmpyj79jrc4/tmptjjppz4p.h 1565s # basename: tmptjjppz4p.h 1565s # enumeration-production 1565s # EnumName: SomeEnumB 1565s # enum_name: some_enum_b 1565s # ENUMNAME: SOME_ENUM_B 1565s # ENUMSHORT: ENUM_B 1565s # ENUMPREFIX: SOME 1565s # enumsince: 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # value-header 1565s # EnumName: SomeEnumB 1565s # enum_name: some_enum_b 1565s # ENUMNAME: SOME_ENUM_B 1565s # ENUMSHORT: ENUM_B 1565s # ENUMPREFIX: SOME 1565s # enumsince: 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # value-production 1565s # VALUENAME: ENUM_VALUE_PUBLIC2 1565s # valuenick: public2 1565s # valuenum: 1 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # value-tail 1565s # EnumName: SomeEnumB 1565s # enum_name: some_enum_b 1565s # ENUMNAME: SOME_ENUM_B 1565s # ENUMSHORT: ENUM_B 1565s # ENUMPREFIX: SOME 1565s # enumsince: 1565s # type: enum 1565s # Type: Enum 1565s # TYPE: ENUM 1565s # file-tail 1565s # 1565s # comment 1565s # comment: Generated data ends here 1566s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1566s # tmpdir: /tmp/tmp_8nk09v0 1566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1566s # /tmp/tmp_8nk09v0/tmptsm750q9.h: 1566s # typedef enum { 1566s # /*< private >*/ 1566s # ENUM_VALUE_PRIVATE = 5, 1566s # /*< public >*/ 1566s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1566s # } TestSymbolicEnum; 1566s # 1566s # /tmp/tmp_8nk09v0/tmp_ppg3qxm.template: 1566s # /*** BEGIN file-header ***/ 1566s # file-header 1566s # /*** END file-header ***/ 1566s # 1566s # /*** BEGIN file-production ***/ 1566s # file-production 1566s # filename: @filename@ 1566s # basename: @basename@ 1566s # /*** END file-production ***/ 1566s # 1566s # /*** BEGIN enumeration-production ***/ 1566s # enumeration-production 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END enumeration-production ***/ 1566s # 1566s # /*** BEGIN value-header ***/ 1566s # value-header 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-header ***/ 1566s # 1566s # /*** BEGIN value-production ***/ 1566s # value-production 1566s # VALUENAME: @VALUENAME@ 1566s # valuenick: @valuenick@ 1566s # valuenum: @valuenum@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-production ***/ 1566s # 1566s # /*** BEGIN value-tail ***/ 1566s # value-tail 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-tail ***/ 1566s # 1566s # /*** BEGIN comment ***/ 1566s # comment 1566s # comment: @comment@ 1566s # /*** END comment ***/ 1566s # 1566s # /*** BEGIN file-tail ***/ 1566s # file-tail 1566s # /*** END file-tail ***/ 1566s # 1566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_8nk09v0/tmp_ppg3qxm.template', '/tmp/tmp_8nk09v0/tmptsm750q9.h'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: comment 1566s # 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. 1566s # 1566s # 1566s # file-header 1566s # file-production 1566s # filename: /tmp/tmp_8nk09v0/tmptsm750q9.h 1566s # basename: tmptsm750q9.h 1566s # enumeration-production 1566s # EnumName: TestSymbolicEnum 1566s # enum_name: test_symbolic_enum 1566s # ENUMNAME: TEST_SYMBOLIC_ENUM 1566s # ENUMSHORT: SYMBOLIC_ENUM 1566s # ENUMPREFIX: TEST 1566s # enumsince: 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-header 1566s # EnumName: TestSymbolicEnum 1566s # enum_name: test_symbolic_enum 1566s # ENUMNAME: TEST_SYMBOLIC_ENUM 1566s # ENUMSHORT: SYMBOLIC_ENUM 1566s # ENUMPREFIX: TEST 1566s # enumsince: 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-production 1566s # VALUENAME: ENUM_VALUE_PUBLIC 1566s # valuenick: public 1566s # valuenum: 7 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-tail 1566s # EnumName: TestSymbolicEnum 1566s # enum_name: test_symbolic_enum 1566s # ENUMNAME: TEST_SYMBOLIC_ENUM 1566s # ENUMSHORT: SYMBOLIC_ENUM 1566s # ENUMPREFIX: TEST 1566s # enumsince: 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # file-tail 1566s # 1566s # comment 1566s # comment: Generated data ends here 1566s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1566s # tmpdir: /tmp/tmpe9x9ufdp 1566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1566s # /tmp/tmpe9x9ufdp/tmp_bdid8o9.template: 1566s # /*** BEGIN file-header ***/ 1566s # file-header 1566s # filename: @filename@ 1566s # basename: @basename@ 1566s # /*** END file-header ***/ 1566s # 1566s # /*** BEGIN comment ***/ 1566s # comment 1566s # comment: @comment@ 1566s # /*** END comment ***/ 1566s # 1566s # /*** BEGIN file-tail ***/ 1566s # file-tail 1566s # filename: @filename@ 1566s # basename: @basename@ 1566s # /*** END file-tail ***/ 1566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpe9x9ufdp/tmp_bdid8o9.template'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: comment 1566s # 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. 1566s # 1566s # 1566s # file-header 1566s # filename: @filename@ 1566s # basename: @basename@ 1566s # file-tail 1566s # filename: @filename@ 1566s # basename: @basename@ 1566s # 1566s # comment 1566s # comment: Generated data ends here 1566s ok 11 __main__.TestMkenums.test_help 1566s # tmpdir: /tmp/tmpy8igfi7f 1566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1566s # Running: ['/usr/bin/glib-mkenums', '--help'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1566s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1566s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1566s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1566s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1566s # [--output OUTPUT] [--version] 1566s # [args ...] 1566s # 1566s # positional arguments: 1566s # args One or more input files, or a single argument 1566s # @rspfile_path pointing to a file that contains the 1566s # actual arguments 1566s # 1566s # options: 1566s # -h, --help show this help message and exit 1566s # --identifier-prefix IDPREFIX 1566s # Identifier prefix 1566s # --symbol-prefix SYMPREFIX 1566s # Symbol prefix 1566s # --fhead FHEAD Output file header 1566s # --ftail FTAIL Output file footer 1566s # --fprod FPROD Put out TEXT every time a new input file is being 1566s # processed. 1566s # --eprod EPROD Per enum text, produced prior to value iterations 1566s # --vhead VHEAD Value header, produced before iterating over enum 1566s # values 1566s # --vprod VPROD Value text, produced for each enum value. 1566s # --vtail VTAIL Value tail, produced after iterating over enum values 1566s # --comments COMMENT_TMPL 1566s # Comment structure 1566s # --template TEMPLATE Template file 1566s # --output OUTPUT 1566s # --version, -v Print version information 1566s # 1566s # Production text substitutions: 1566s # @EnumName@ PrefixTheXEnum 1566s # @enum_name@ prefix_the_xenum 1566s # @ENUMNAME@ PREFIX_THE_XENUM 1566s # @ENUMSHORT@ THE_XENUM 1566s # @ENUMPREFIX@ PREFIX 1566s # @enumsince@ the user-provided since value given 1566s # @VALUENAME@ PREFIX_THE_XVALUE 1566s # @valuenick@ the-xvalue 1566s # @valuenum@ the integer value (limited support, Since: 2.26) 1566s # @type@ either enum or flags 1566s # @Type@ either Enum or Flags 1566s # @TYPE@ either ENUM or FLAGS 1566s # @filename@ name of current input file 1566s # @basename@ base name of the current input file (Since: 2.22) 1566s ok 12 __main__.TestMkenums.test_no_args 1566s # tmpdir: /tmp/tmpheb3ch03 1566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1566s # Running: ['/usr/bin/glib-mkenums'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # 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. */ 1566s # 1566s # 1566s # /* Generated data ends here */ 1566s ok 13 __main__.TestMkenums.test_no_headers 1566s # tmpdir: /tmp/tmpfl4z940v 1566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1566s # /tmp/tmpfl4z940v/tmpui8z7aul.template: 1566s # /*** BEGIN file-header ***/ 1566s # file-header 1566s # /*** END file-header ***/ 1566s # 1566s # /*** BEGIN file-production ***/ 1566s # file-production 1566s # filename: @filename@ 1566s # basename: @basename@ 1566s # /*** END file-production ***/ 1566s # 1566s # /*** BEGIN enumeration-production ***/ 1566s # enumeration-production 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END enumeration-production ***/ 1566s # 1566s # /*** BEGIN value-header ***/ 1566s # value-header 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-header ***/ 1566s # 1566s # /*** BEGIN value-production ***/ 1566s # value-production 1566s # VALUENAME: @VALUENAME@ 1566s # valuenick: @valuenick@ 1566s # valuenum: @valuenum@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-production ***/ 1566s # 1566s # /*** BEGIN value-tail ***/ 1566s # value-tail 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-tail ***/ 1566s # 1566s # /*** BEGIN comment ***/ 1566s # comment 1566s # comment: @comment@ 1566s # /*** END comment ***/ 1566s # 1566s # /*** BEGIN file-tail ***/ 1566s # file-tail 1566s # /*** END file-tail ***/ 1566s # 1566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfl4z940v/tmpui8z7aul.template'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: comment 1566s # 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. 1566s # 1566s # 1566s # file-header 1566s # file-tail 1566s # 1566s # comment 1566s # comment: Generated data ends here 1566s ok 14 __main__.TestMkenums.test_no_nick 1566s # tmpdir: /tmp/tmp366tss66 1566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1566s # /tmp/tmp366tss66/tmpa844_773.h: 1566s # typedef enum { 1566s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1566s # } GeglSamplerType; 1566s # 1566s # /tmp/tmp366tss66/tmprg1e7qpx.template: 1566s # /*** BEGIN file-header ***/ 1566s # file-header 1566s # /*** END file-header ***/ 1566s # 1566s # /*** BEGIN file-production ***/ 1566s # file-production 1566s # filename: @filename@ 1566s # basename: @basename@ 1566s # /*** END file-production ***/ 1566s # 1566s # /*** BEGIN enumeration-production ***/ 1566s # enumeration-production 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END enumeration-production ***/ 1566s # 1566s # /*** BEGIN value-header ***/ 1566s # value-header 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-header ***/ 1566s # 1566s # /*** BEGIN value-production ***/ 1566s # value-production 1566s # VALUENAME: @VALUENAME@ 1566s # valuenick: @valuenick@ 1566s # valuenum: @valuenum@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-production ***/ 1566s # 1566s # /*** BEGIN value-tail ***/ 1566s # value-tail 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-tail ***/ 1566s # 1566s # /*** BEGIN comment ***/ 1566s # comment 1566s # comment: @comment@ 1566s # /*** END comment ***/ 1566s # 1566s # /*** BEGIN file-tail ***/ 1566s # file-tail 1566s # /*** END file-tail ***/ 1566s # 1566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp366tss66/tmprg1e7qpx.template', '/tmp/tmp366tss66/tmpa844_773.h'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: comment 1566s # 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. 1566s # 1566s # 1566s # file-header 1566s # file-production 1566s # filename: /tmp/tmp366tss66/tmpa844_773.h 1566s # basename: tmpa844_773.h 1566s # enumeration-production 1566s # EnumName: GeglSamplerType 1566s # enum_name: gegl_sampler_type 1566s # ENUMNAME: GEGL_SAMPLER_TYPE 1566s # ENUMSHORT: SAMPLER_TYPE 1566s # ENUMPREFIX: GEGL 1566s # enumsince: 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-header 1566s # EnumName: GeglSamplerType 1566s # enum_name: gegl_sampler_type 1566s # ENUMNAME: GEGL_SAMPLER_TYPE 1566s # ENUMSHORT: SAMPLER_TYPE 1566s # ENUMPREFIX: GEGL 1566s # enumsince: 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-production 1566s # VALUENAME: GEGL_SAMPLER_NEAREST 1566s # valuenick: nearest 1566s # valuenum: 0 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-tail 1566s # EnumName: GeglSamplerType 1566s # enum_name: gegl_sampler_type 1566s # ENUMNAME: GEGL_SAMPLER_TYPE 1566s # ENUMSHORT: SAMPLER_TYPE 1566s # ENUMPREFIX: GEGL 1566s # enumsince: 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # file-tail 1566s # 1566s # comment 1566s # comment: Generated data ends here 1566s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1566s # tmpdir: /tmp/tmph8eyw0bl 1566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1566s # /tmp/tmph8eyw0bl/tmp4ntunjyv.h: 1566s # /* Copyright © La Peña */ 1566s # typedef enum { 1566s # ENUM_VALUE 1566s # } SomeEnumIdentifier; 1566s # 1566s # /tmp/tmph8eyw0bl/tmpoozpdufr.template: 1566s # /*** BEGIN file-header ***/ 1566s # file-header 1566s # /*** END file-header ***/ 1566s # 1566s # /*** BEGIN file-production ***/ 1566s # file-production 1566s # filename: @filename@ 1566s # basename: @basename@ 1566s # /*** END file-production ***/ 1566s # 1566s # /*** BEGIN enumeration-production ***/ 1566s # enumeration-production 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END enumeration-production ***/ 1566s # 1566s # /*** BEGIN value-header ***/ 1566s # value-header 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-header ***/ 1566s # 1566s # /*** BEGIN value-production ***/ 1566s # value-production 1566s # VALUENAME: @VALUENAME@ 1566s # valuenick: @valuenick@ 1566s # valuenum: @valuenum@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-production ***/ 1566s # 1566s # /*** BEGIN value-tail ***/ 1566s # value-tail 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-tail ***/ 1566s # 1566s # /*** BEGIN comment ***/ 1566s # comment 1566s # comment: @comment@ 1566s # /*** END comment ***/ 1566s # 1566s # /*** BEGIN file-tail ***/ 1566s # file-tail 1566s # /*** END file-tail ***/ 1566s # 1566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmph8eyw0bl/tmpoozpdufr.template', '/tmp/tmph8eyw0bl/tmp4ntunjyv.h'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: comment 1566s # 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. 1566s # 1566s # 1566s # file-header 1566s # file-production 1566s # filename: /tmp/tmph8eyw0bl/tmp4ntunjyv.h 1566s # basename: tmp4ntunjyv.h 1566s # enumeration-production 1566s # EnumName: SomeEnumIdentifier 1566s # enum_name: some_enum_identifier 1566s # ENUMNAME: SOME_ENUM_IDENTIFIER 1566s # ENUMSHORT: ENUM_IDENTIFIER 1566s # ENUMPREFIX: SOME 1566s # enumsince: 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-header 1566s # EnumName: SomeEnumIdentifier 1566s # enum_name: some_enum_identifier 1566s # ENUMNAME: SOME_ENUM_IDENTIFIER 1566s # ENUMSHORT: ENUM_IDENTIFIER 1566s # ENUMPREFIX: SOME 1566s # enumsince: 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-production 1566s # VALUENAME: ENUM_VALUE 1566s # valuenick: value 1566s # valuenum: 0 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-tail 1566s # EnumName: SomeEnumIdentifier 1566s # enum_name: some_enum_identifier 1566s # ENUMNAME: SOME_ENUM_IDENTIFIER 1566s # ENUMSHORT: ENUM_IDENTIFIER 1566s # ENUMPREFIX: SOME 1566s # enumsince: 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # file-tail 1566s # 1566s # comment 1566s # comment: Generated data ends here 1566s ok 16 __main__.TestMkenums.test_reproducible 1566s # tmpdir: /tmp/tmp65jk1mfz 1566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1566s # /tmp/tmp65jk1mfz/tmpq2u5ur_m.template: template 1566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp65jk1mfz/tmpq2u5ur_m.template', '/tmp/tmp65jk1mfz/tmpu9mpg3ds1.h', '/tmp/tmp65jk1mfz/tmpbi0zl8z_2.h'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # 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. */ 1566s # 1566s # 1566s # /* Generated data ends here */ 1566s # /tmp/tmp65jk1mfz/tmpj6k2n7t_.template: template 1566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp65jk1mfz/tmpj6k2n7t_.template', '/tmp/tmp65jk1mfz/tmpbi0zl8z_2.h', '/tmp/tmp65jk1mfz/tmpu9mpg3ds1.h'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # 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. */ 1566s # 1566s # 1566s # /* Generated data ends here */ 1566s ok 17 __main__.TestMkenums.test_since 1566s # tmpdir: /tmp/tmpljchjdrv 1566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1566s # /tmp/tmpljchjdrv/tmpdspkmoz7.h: 1566s # typedef enum { /*< since=1.0 >*/ 1566s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1566s # } QmiWmsMessageProtocol; 1566s # 1566s # /tmp/tmpljchjdrv/tmp4vlio1ed.template: 1566s # /*** BEGIN file-header ***/ 1566s # file-header 1566s # /*** END file-header ***/ 1566s # 1566s # /*** BEGIN file-production ***/ 1566s # file-production 1566s # filename: @filename@ 1566s # basename: @basename@ 1566s # /*** END file-production ***/ 1566s # 1566s # /*** BEGIN enumeration-production ***/ 1566s # enumeration-production 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END enumeration-production ***/ 1566s # 1566s # /*** BEGIN value-header ***/ 1566s # value-header 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-header ***/ 1566s # 1566s # /*** BEGIN value-production ***/ 1566s # value-production 1566s # VALUENAME: @VALUENAME@ 1566s # valuenick: @valuenick@ 1566s # valuenum: @valuenum@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-production ***/ 1566s # 1566s # /*** BEGIN value-tail ***/ 1566s # value-tail 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-tail ***/ 1566s # 1566s # /*** BEGIN comment ***/ 1566s # comment 1566s # comment: @comment@ 1566s # /*** END comment ***/ 1566s # 1566s # /*** BEGIN file-tail ***/ 1566s # file-tail 1566s # /*** END file-tail ***/ 1566s # 1566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpljchjdrv/tmp4vlio1ed.template', '/tmp/tmpljchjdrv/tmpdspkmoz7.h'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: comment 1566s # 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. 1566s # 1566s # 1566s # file-header 1566s # file-production 1566s # filename: /tmp/tmpljchjdrv/tmpdspkmoz7.h 1566s # basename: tmpdspkmoz7.h 1566s # enumeration-production 1566s # EnumName: QmiWmsMessageProtocol 1566s # enum_name: qmi_wms_message_protocol 1566s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1566s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1566s # ENUMPREFIX: QMI 1566s # enumsince: 1.0 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-header 1566s # EnumName: QmiWmsMessageProtocol 1566s # enum_name: qmi_wms_message_protocol 1566s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1566s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1566s # ENUMPREFIX: QMI 1566s # enumsince: 1.0 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-production 1566s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1566s # valuenick: cdma 1566s # valuenum: 0 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-tail 1566s # EnumName: QmiWmsMessageProtocol 1566s # enum_name: qmi_wms_message_protocol 1566s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1566s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1566s # ENUMPREFIX: QMI 1566s # enumsince: 1.0 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # file-tail 1566s # 1566s # comment 1566s # comment: Generated data ends here 1566s ok 18 __main__.TestMkenums.test_with_double_quotes 1566s # tmpdir: /tmp/tmpuitfvk7d 1566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1566s # /tmp/tmpuitfvk7d/tmp95h58yx3.h: 1566s # typedef enum { 1566s # FOO_VALUE /*< nick="eek, a comma" >*/ 1566s # } Foo; 1566s # 1566s # /tmp/tmpuitfvk7d/tmp6l0tvdq4.template: 1566s # /*** BEGIN file-header ***/ 1566s # file-header 1566s # /*** END file-header ***/ 1566s # 1566s # /*** BEGIN file-production ***/ 1566s # file-production 1566s # filename: @filename@ 1566s # basename: @basename@ 1566s # /*** END file-production ***/ 1566s # 1566s # /*** BEGIN enumeration-production ***/ 1566s # enumeration-production 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END enumeration-production ***/ 1566s # 1566s # /*** BEGIN value-header ***/ 1566s # value-header 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-header ***/ 1566s # 1566s # /*** BEGIN value-production ***/ 1566s # value-production 1566s # VALUENAME: @VALUENAME@ 1566s # valuenick: @valuenick@ 1566s # valuenum: @valuenum@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-production ***/ 1566s # 1566s # /*** BEGIN value-tail ***/ 1566s # value-tail 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-tail ***/ 1566s # 1566s # /*** BEGIN comment ***/ 1566s # comment 1566s # comment: @comment@ 1566s # /*** END comment ***/ 1566s # 1566s # /*** BEGIN file-tail ***/ 1566s # file-tail 1566s # /*** END file-tail ***/ 1566s # 1566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpuitfvk7d/tmp6l0tvdq4.template', '/tmp/tmpuitfvk7d/tmp95h58yx3.h'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: comment 1566s # 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. 1566s # 1566s # 1566s # file-header 1566s # file-production 1566s # filename: /tmp/tmpuitfvk7d/tmp95h58yx3.h 1566s # basename: tmp95h58yx3.h 1566s # enumeration-production 1566s # EnumName: Foo 1566s # enum_name: foo_ 1566s # ENUMNAME: FOO_ 1566s # ENUMSHORT: 1566s # ENUMPREFIX: FOO 1566s # enumsince: 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-header 1566s # EnumName: Foo 1566s # enum_name: foo_ 1566s # ENUMNAME: FOO_ 1566s # ENUMSHORT: 1566s # ENUMPREFIX: FOO 1566s # enumsince: 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-production 1566s # VALUENAME: FOO_VALUE 1566s # valuenick: eek, a comma 1566s # valuenum: 0 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # value-tail 1566s # EnumName: Foo 1566s # enum_name: foo_ 1566s # ENUMNAME: FOO_ 1566s # ENUMSHORT: 1566s # ENUMPREFIX: FOO 1566s # enumsince: 1566s # type: enum 1566s # Type: Enum 1566s # TYPE: ENUM 1566s # file-tail 1566s # 1566s # comment 1566s # comment: Generated data ends here 1567s ok 19 __main__.TestRspMkenums.test_available_in 1567s # tmpdir: /tmp/tmpkamc9ndp 1567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmpkamc9ndp/tmpc06fgu1c.h: 1567s # typedef enum { 1567s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1567s # } GDBusServerFlags; 1567s # 1567s # /tmp/tmpkamc9ndp/tmp_o9xauxy.template: 1567s # /*** BEGIN file-header ***/ 1567s # file-header 1567s # /*** END file-header ***/ 1567s # 1567s # /*** BEGIN file-production ***/ 1567s # file-production 1567s # filename: @filename@ 1567s # basename: @basename@ 1567s # /*** END file-production ***/ 1567s # 1567s # /*** BEGIN enumeration-production ***/ 1567s # enumeration-production 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END enumeration-production ***/ 1567s # 1567s # /*** BEGIN value-header ***/ 1567s # value-header 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-header ***/ 1567s # 1567s # /*** BEGIN value-production ***/ 1567s # value-production 1567s # VALUENAME: @VALUENAME@ 1567s # valuenick: @valuenick@ 1567s # valuenum: @valuenum@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-production ***/ 1567s # 1567s # /*** BEGIN value-tail ***/ 1567s # value-tail 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-tail ***/ 1567s # 1567s # /*** BEGIN comment ***/ 1567s # comment 1567s # comment: @comment@ 1567s # /*** END comment ***/ 1567s # 1567s # /*** BEGIN file-tail ***/ 1567s # file-tail 1567s # /*** END file-tail ***/ 1567s # 1567s # Response file contains: --template /tmp/tmpkamc9ndp/tmp_o9xauxy.template /tmp/tmpkamc9ndp/tmpc06fgu1c.h 1567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkamc9ndp/tmpavqj00q3'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: comment 1567s # 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. 1567s # 1567s # 1567s # file-header 1567s # file-production 1567s # filename: /tmp/tmpkamc9ndp/tmpc06fgu1c.h 1567s # basename: tmpc06fgu1c.h 1567s # enumeration-production 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-header 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-production 1567s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1567s # valuenick: user 1567s # valuenum: 4 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-tail 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # file-tail 1567s # 1567s # comment 1567s # comment: Generated data ends here 1567s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1567s # tmpdir: /tmp/tmp62a9vej0 1567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmp62a9vej0/tmpu630hu56.h: 1567s # typedef enum { 1567s # ENUM_VALUE_WITH_COMMA = ',', 1567s # } TestCommaEnum; 1567s # 1567s # /tmp/tmp62a9vej0/tmpb4lqbtpv.template: 1567s # /*** BEGIN file-header ***/ 1567s # file-header 1567s # /*** END file-header ***/ 1567s # 1567s # /*** BEGIN file-production ***/ 1567s # file-production 1567s # filename: @filename@ 1567s # basename: @basename@ 1567s # /*** END file-production ***/ 1567s # 1567s # /*** BEGIN enumeration-production ***/ 1567s # enumeration-production 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END enumeration-production ***/ 1567s # 1567s # /*** BEGIN value-header ***/ 1567s # value-header 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-header ***/ 1567s # 1567s # /*** BEGIN value-production ***/ 1567s # value-production 1567s # VALUENAME: @VALUENAME@ 1567s # valuenick: @valuenick@ 1567s # valuenum: @valuenum@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-production ***/ 1567s # 1567s # /*** BEGIN value-tail ***/ 1567s # value-tail 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-tail ***/ 1567s # 1567s # /*** BEGIN comment ***/ 1567s # comment 1567s # comment: @comment@ 1567s # /*** END comment ***/ 1567s # 1567s # /*** BEGIN file-tail ***/ 1567s # file-tail 1567s # /*** END file-tail ***/ 1567s # 1567s # Response file contains: --template /tmp/tmp62a9vej0/tmpb4lqbtpv.template /tmp/tmp62a9vej0/tmpu630hu56.h 1567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp62a9vej0/tmpxoww0yve'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: comment 1567s # 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. 1567s # 1567s # 1567s # file-header 1567s # file-production 1567s # filename: /tmp/tmp62a9vej0/tmpu630hu56.h 1567s # basename: tmpu630hu56.h 1567s # enumeration-production 1567s # EnumName: TestCommaEnum 1567s # enum_name: test_comma_enum 1567s # ENUMNAME: TEST_COMMA_ENUM 1567s # ENUMSHORT: COMMA_ENUM 1567s # ENUMPREFIX: TEST 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-header 1567s # EnumName: TestCommaEnum 1567s # enum_name: test_comma_enum 1567s # ENUMNAME: TEST_COMMA_ENUM 1567s # ENUMSHORT: COMMA_ENUM 1567s # ENUMPREFIX: TEST 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-production 1567s # VALUENAME: ENUM_VALUE_WITH_COMMA 1567s # valuenick: comma 1567s # valuenum: 44 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-tail 1567s # EnumName: TestCommaEnum 1567s # enum_name: test_comma_enum 1567s # ENUMNAME: TEST_COMMA_ENUM 1567s # ENUMSHORT: COMMA_ENUM 1567s # ENUMPREFIX: TEST 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # file-tail 1567s # 1567s # comment 1567s # comment: Generated data ends here 1567s ok 21 __main__.TestRspMkenums.test_deprecated_in 1567s # tmpdir: /tmp/tmpqf7noupp 1567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmpqf7noupp/tmpis161uwt.h: 1567s # typedef enum { 1567s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1567s # } GDBusServerFlags; 1567s # 1567s # /tmp/tmpqf7noupp/tmpuuba2rjw.template: 1567s # /*** BEGIN file-header ***/ 1567s # file-header 1567s # /*** END file-header ***/ 1567s # 1567s # /*** BEGIN file-production ***/ 1567s # file-production 1567s # filename: @filename@ 1567s # basename: @basename@ 1567s # /*** END file-production ***/ 1567s # 1567s # /*** BEGIN enumeration-production ***/ 1567s # enumeration-production 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END enumeration-production ***/ 1567s # 1567s # /*** BEGIN value-header ***/ 1567s # value-header 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-header ***/ 1567s # 1567s # /*** BEGIN value-production ***/ 1567s # value-production 1567s # VALUENAME: @VALUENAME@ 1567s # valuenick: @valuenick@ 1567s # valuenum: @valuenum@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-production ***/ 1567s # 1567s # /*** BEGIN value-tail ***/ 1567s # value-tail 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-tail ***/ 1567s # 1567s # /*** BEGIN comment ***/ 1567s # comment 1567s # comment: @comment@ 1567s # /*** END comment ***/ 1567s # 1567s # /*** BEGIN file-tail ***/ 1567s # file-tail 1567s # /*** END file-tail ***/ 1567s # 1567s # Response file contains: --template /tmp/tmpqf7noupp/tmpuuba2rjw.template /tmp/tmpqf7noupp/tmpis161uwt.h 1567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqf7noupp/tmpqu12er28'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: comment 1567s # 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. 1567s # 1567s # 1567s # file-header 1567s # file-production 1567s # filename: /tmp/tmpqf7noupp/tmpis161uwt.h 1567s # basename: tmpis161uwt.h 1567s # enumeration-production 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-header 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-production 1567s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1567s # valuenick: user 1567s # valuenum: 4 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-tail 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # file-tail 1567s # 1567s # comment 1567s # comment: Generated data ends here 1567s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1567s # tmpdir: /tmp/tmp7031mj1_ 1567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmp7031mj1_/tmpouznyabf.h: 1567s # typedef enum { 1567s # 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) 1567s # } GDBusServerFlags; 1567s # 1567s # /tmp/tmp7031mj1_/tmp43zmwqs2.template: 1567s # /*** BEGIN file-header ***/ 1567s # file-header 1567s # /*** END file-header ***/ 1567s # 1567s # /*** BEGIN file-production ***/ 1567s # file-production 1567s # filename: @filename@ 1567s # basename: @basename@ 1567s # /*** END file-production ***/ 1567s # 1567s # /*** BEGIN enumeration-production ***/ 1567s # enumeration-production 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END enumeration-production ***/ 1567s # 1567s # /*** BEGIN value-header ***/ 1567s # value-header 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-header ***/ 1567s # 1567s # /*** BEGIN value-production ***/ 1567s # value-production 1567s # VALUENAME: @VALUENAME@ 1567s # valuenick: @valuenick@ 1567s # valuenum: @valuenum@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-production ***/ 1567s # 1567s # /*** BEGIN value-tail ***/ 1567s # value-tail 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-tail ***/ 1567s # 1567s # /*** BEGIN comment ***/ 1567s # comment 1567s # comment: @comment@ 1567s # /*** END comment ***/ 1567s # 1567s # /*** BEGIN file-tail ***/ 1567s # file-tail 1567s # /*** END file-tail ***/ 1567s # 1567s # Response file contains: --template /tmp/tmp7031mj1_/tmp43zmwqs2.template /tmp/tmp7031mj1_/tmpouznyabf.h 1567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7031mj1_/tmpq45r0vfs'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: comment 1567s # 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. 1567s # 1567s # 1567s # file-header 1567s # file-production 1567s # filename: /tmp/tmp7031mj1_/tmpouznyabf.h 1567s # basename: tmpouznyabf.h 1567s # enumeration-production 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-header 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-production 1567s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1567s # valuenick: user 1567s # valuenum: 4 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-tail 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # file-tail 1567s # 1567s # comment 1567s # comment: Generated data ends here 1567s ok 23 __main__.TestRspMkenums.test_empty_header 1567s # tmpdir: /tmp/tmpcgk70wij 1567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmpcgk70wij/tmpyi814a49.h: 1567s # /tmp/tmpcgk70wij/tmpv25mtp9f.template: 1567s # /*** BEGIN file-header ***/ 1567s # file-header 1567s # /*** END file-header ***/ 1567s # 1567s # /*** BEGIN file-production ***/ 1567s # file-production 1567s # filename: @filename@ 1567s # basename: @basename@ 1567s # /*** END file-production ***/ 1567s # 1567s # /*** BEGIN enumeration-production ***/ 1567s # enumeration-production 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END enumeration-production ***/ 1567s # 1567s # /*** BEGIN value-header ***/ 1567s # value-header 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-header ***/ 1567s # 1567s # /*** BEGIN value-production ***/ 1567s # value-production 1567s # VALUENAME: @VALUENAME@ 1567s # valuenick: @valuenick@ 1567s # valuenum: @valuenum@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-production ***/ 1567s # 1567s # /*** BEGIN value-tail ***/ 1567s # value-tail 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-tail ***/ 1567s # 1567s # /*** BEGIN comment ***/ 1567s # comment 1567s # comment: @comment@ 1567s # /*** END comment ***/ 1567s # 1567s # /*** BEGIN file-tail ***/ 1567s # file-tail 1567s # /*** END file-tail ***/ 1567s # 1567s # Response file contains: --template /tmp/tmpcgk70wij/tmpv25mtp9f.template /tmp/tmpcgk70wij/tmpyi814a49.h 1567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcgk70wij/tmpu_pqu3cu'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: comment 1567s # 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. 1567s # 1567s # 1567s # file-header 1567s # file-tail 1567s # 1567s # comment 1567s # comment: Generated data ends here 1567s ok 24 __main__.TestRspMkenums.test_empty_template 1567s # tmpdir: /tmp/tmp4prilm6i 1567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmp4prilm6i/tmpgea97kdg.template: 1567s # Response file contains: --template /tmp/tmp4prilm6i/tmpgea97kdg.template 1567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4prilm6i/tmp_d4n1nel'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # 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. */ 1567s # 1567s # 1567s # /* Generated data ends here */ 1567s ok 25 __main__.TestRspMkenums.test_enum_name 1567s # tmpdir: /tmp/tmpjodbehwk 1567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmpjodbehwk/tmp4aw136ch.h: 1567s # typedef enum _SomeEnumIdentifier { 1567s # ENUM_VALUE 1567s # } SomeEnumIdentifier; 1567s # 1567s # /tmp/tmpjodbehwk/tmpr0qur3e0.template: 1567s # /*** BEGIN file-header ***/ 1567s # file-header 1567s # /*** END file-header ***/ 1567s # 1567s # /*** BEGIN file-production ***/ 1567s # file-production 1567s # filename: @filename@ 1567s # basename: @basename@ 1567s # /*** END file-production ***/ 1567s # 1567s # /*** BEGIN enumeration-production ***/ 1567s # enumeration-production 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END enumeration-production ***/ 1567s # 1567s # /*** BEGIN value-header ***/ 1567s # value-header 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-header ***/ 1567s # 1567s # /*** BEGIN value-production ***/ 1567s # value-production 1567s # VALUENAME: @VALUENAME@ 1567s # valuenick: @valuenick@ 1567s # valuenum: @valuenum@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-production ***/ 1567s # 1567s # /*** BEGIN value-tail ***/ 1567s # value-tail 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-tail ***/ 1567s # 1567s # /*** BEGIN comment ***/ 1567s # comment 1567s # comment: @comment@ 1567s # /*** END comment ***/ 1567s # 1567s # /*** BEGIN file-tail ***/ 1567s # file-tail 1567s # /*** END file-tail ***/ 1567s # 1567s # Response file contains: --template /tmp/tmpjodbehwk/tmpr0qur3e0.template /tmp/tmpjodbehwk/tmp4aw136ch.h 1567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjodbehwk/tmptkyju_v7'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: comment 1567s # 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. 1567s # 1567s # 1567s # file-header 1567s # file-production 1567s # filename: /tmp/tmpjodbehwk/tmp4aw136ch.h 1567s # basename: tmp4aw136ch.h 1567s # enumeration-production 1567s # EnumName: SomeEnumIdentifier 1567s # enum_name: some_enum_identifier 1567s # ENUMNAME: SOME_ENUM_IDENTIFIER 1567s # ENUMSHORT: ENUM_IDENTIFIER 1567s # ENUMPREFIX: SOME 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-header 1567s # EnumName: SomeEnumIdentifier 1567s # enum_name: some_enum_identifier 1567s # ENUMNAME: SOME_ENUM_IDENTIFIER 1567s # ENUMSHORT: ENUM_IDENTIFIER 1567s # ENUMPREFIX: SOME 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-production 1567s # VALUENAME: ENUM_VALUE 1567s # valuenick: value 1567s # valuenum: 0 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-tail 1567s # EnumName: SomeEnumIdentifier 1567s # enum_name: some_enum_identifier 1567s # ENUMNAME: SOME_ENUM_IDENTIFIER 1567s # ENUMSHORT: ENUM_IDENTIFIER 1567s # ENUMPREFIX: SOME 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # file-tail 1567s # 1567s # comment 1567s # comment: Generated data ends here 1567s ok 26 __main__.TestRspMkenums.test_enum_private_public 1567s # tmpdir: /tmp/tmp6kh9_s6l 1567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmp6kh9_s6l/tmpa0vvxyot.h: 1567s # typedef enum { 1567s # ENUM_VALUE_PUBLIC1, 1567s # /*< private >*/ 1567s # ENUM_VALUE_PRIVATE, 1567s # } SomeEnumA 1567s # 1567s # /tmp/tmp6kh9_s6l/tmpu5v0rhu_.template: 1567s # /*** BEGIN file-header ***/ 1567s # file-header 1567s # /*** END file-header ***/ 1567s # 1567s # /*** BEGIN file-production ***/ 1567s # file-production 1567s # filename: @filename@ 1567s # basename: @basename@ 1567s # /*** END file-production ***/ 1567s # 1567s # /*** BEGIN enumeration-production ***/ 1567s # enumeration-production 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END enumeration-production ***/ 1567s # 1567s # /*** BEGIN value-header ***/ 1567s # value-header 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-header ***/ 1567s # 1567s # /*** BEGIN value-production ***/ 1567s # value-production 1567s # VALUENAME: @VALUENAME@ 1567s # valuenick: @valuenick@ 1567s # valuenum: @valuenum@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-production ***/ 1567s # 1567s # /*** BEGIN value-tail ***/ 1567s # value-tail 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-tail ***/ 1567s # 1567s # /*** BEGIN comment ***/ 1567s # comment 1567s # comment: @comment@ 1567s # /*** END comment ***/ 1567s # 1567s # /*** BEGIN file-tail ***/ 1567s # file-tail 1567s # /*** END file-tail ***/ 1567s # 1567s # Response file contains: --template /tmp/tmp6kh9_s6l/tmpu5v0rhu_.template /tmp/tmp6kh9_s6l/tmpa0vvxyot.h 1567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6kh9_s6l/tmp8tjba9u2'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: comment 1567s # 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. 1567s # 1567s # 1567s # file-header 1567s # file-production 1567s # filename: /tmp/tmp6kh9_s6l/tmpa0vvxyot.h 1567s # basename: tmpa0vvxyot.h 1567s # enumeration-production 1567s # EnumName: SomeEnumA 1567s # enum_name: some_enum_a 1567s # ENUMNAME: SOME_ENUM_A 1567s # ENUMSHORT: ENUM_A 1567s # ENUMPREFIX: SOME 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-header 1567s # EnumName: SomeEnumA 1567s # enum_name: some_enum_a 1567s # ENUMNAME: SOME_ENUM_A 1567s # ENUMSHORT: ENUM_A 1567s # ENUMPREFIX: SOME 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-production 1567s # VALUENAME: ENUM_VALUE_PUBLIC1 1567s # valuenick: public1 1567s # valuenum: 0 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-tail 1567s # EnumName: SomeEnumA 1567s # enum_name: some_enum_a 1567s # ENUMNAME: SOME_ENUM_A 1567s # ENUMSHORT: ENUM_A 1567s # ENUMPREFIX: SOME 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # file-tail 1567s # 1567s # comment 1567s # comment: Generated data ends here 1567s # /tmp/tmp6kh9_s6l/tmpjbz1epi5.h: 1567s # typedef enum { 1567s # /*< private >*/ 1567s # ENUM_VALUE_PRIVATE, 1567s # /*< public >*/ 1567s # ENUM_VALUE_PUBLIC2, 1567s # } SomeEnumB; 1567s # 1567s # /tmp/tmp6kh9_s6l/tmpyaz_v9xr.template: 1567s # /*** BEGIN file-header ***/ 1567s # file-header 1567s # /*** END file-header ***/ 1567s # 1567s # /*** BEGIN file-production ***/ 1567s # file-production 1567s # filename: @filename@ 1567s # basename: @basename@ 1567s # /*** END file-production ***/ 1567s # 1567s # /*** BEGIN enumeration-production ***/ 1567s # enumeration-production 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END enumeration-production ***/ 1567s # 1567s # /*** BEGIN value-header ***/ 1567s # value-header 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-header ***/ 1567s # 1567s # /*** BEGIN value-production ***/ 1567s # value-production 1567s # VALUENAME: @VALUENAME@ 1567s # valuenick: @valuenick@ 1567s # valuenum: @valuenum@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-production ***/ 1567s # 1567s # /*** BEGIN value-tail ***/ 1567s # value-tail 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-tail ***/ 1567s # 1567s # /*** BEGIN comment ***/ 1567s # comment 1567s # comment: @comment@ 1567s # /*** END comment ***/ 1567s # 1567s # /*** BEGIN file-tail ***/ 1567s # file-tail 1567s # /*** END file-tail ***/ 1567s # 1567s # Response file contains: --template /tmp/tmp6kh9_s6l/tmpyaz_v9xr.template /tmp/tmp6kh9_s6l/tmpjbz1epi5.h 1567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6kh9_s6l/tmpgzjjay5t'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: comment 1567s # 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. 1567s # 1567s # 1567s # file-header 1567s # file-production 1567s # filename: /tmp/tmp6kh9_s6l/tmpjbz1epi5.h 1567s # basename: tmpjbz1epi5.h 1567s # enumeration-production 1567s # EnumName: SomeEnumB 1567s # enum_name: some_enum_b 1567s # ENUMNAME: SOME_ENUM_B 1567s # ENUMSHORT: ENUM_B 1567s # ENUMPREFIX: SOME 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-header 1567s # EnumName: SomeEnumB 1567s # enum_name: some_enum_b 1567s # ENUMNAME: SOME_ENUM_B 1567s # ENUMSHORT: ENUM_B 1567s # ENUMPREFIX: SOME 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-production 1567s # VALUENAME: ENUM_VALUE_PUBLIC2 1567s # valuenick: public2 1567s # valuenum: 1 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-tail 1567s # EnumName: SomeEnumB 1567s # enum_name: some_enum_b 1567s # ENUMNAME: SOME_ENUM_B 1567s # ENUMSHORT: ENUM_B 1567s # ENUMPREFIX: SOME 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # file-tail 1567s # 1567s # comment 1567s # comment: Generated data ends here 1567s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1567s # tmpdir: /tmp/tmpkdr65u20 1567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmpkdr65u20/tmp3_10nu6e.h: 1567s # typedef enum { 1567s # /*< private >*/ 1567s # ENUM_VALUE_PRIVATE = 5, 1567s # /*< public >*/ 1567s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1567s # } TestSymbolicEnum; 1567s # 1567s # /tmp/tmpkdr65u20/tmpy4oca4hx.template: 1567s # /*** BEGIN file-header ***/ 1567s # file-header 1567s # /*** END file-header ***/ 1567s # 1567s # /*** BEGIN file-production ***/ 1567s # file-production 1567s # filename: @filename@ 1567s # basename: @basename@ 1567s # /*** END file-production ***/ 1567s # 1567s # /*** BEGIN enumeration-production ***/ 1567s # enumeration-production 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END enumeration-production ***/ 1567s # 1567s # /*** BEGIN value-header ***/ 1567s # value-header 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-header ***/ 1567s # 1567s # /*** BEGIN value-production ***/ 1567s # value-production 1567s # VALUENAME: @VALUENAME@ 1567s # valuenick: @valuenick@ 1567s # valuenum: @valuenum@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-production ***/ 1567s # 1567s # /*** BEGIN value-tail ***/ 1567s # value-tail 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-tail ***/ 1567s # 1567s # /*** BEGIN comment ***/ 1567s # comment 1567s # comment: @comment@ 1567s # /*** END comment ***/ 1567s # 1567s # /*** BEGIN file-tail ***/ 1567s # file-tail 1567s # /*** END file-tail ***/ 1567s # 1567s # Response file contains: --template /tmp/tmpkdr65u20/tmpy4oca4hx.template /tmp/tmpkdr65u20/tmp3_10nu6e.h 1567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkdr65u20/tmppdzouv0d'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: comment 1567s # 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. 1567s # 1567s # 1567s # file-header 1567s # file-production 1567s # filename: /tmp/tmpkdr65u20/tmp3_10nu6e.h 1567s # basename: tmp3_10nu6e.h 1567s # enumeration-production 1567s # EnumName: TestSymbolicEnum 1567s # enum_name: test_symbolic_enum 1567s # ENUMNAME: TEST_SYMBOLIC_ENUM 1567s # ENUMSHORT: SYMBOLIC_ENUM 1567s # ENUMPREFIX: TEST 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-header 1567s # EnumName: TestSymbolicEnum 1567s # enum_name: test_symbolic_enum 1567s # ENUMNAME: TEST_SYMBOLIC_ENUM 1567s # ENUMSHORT: SYMBOLIC_ENUM 1567s # ENUMPREFIX: TEST 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-production 1567s # VALUENAME: ENUM_VALUE_PUBLIC 1567s # valuenick: public 1567s # valuenum: 7 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-tail 1567s # EnumName: TestSymbolicEnum 1567s # enum_name: test_symbolic_enum 1567s # ENUMNAME: TEST_SYMBOLIC_ENUM 1567s # ENUMSHORT: SYMBOLIC_ENUM 1567s # ENUMPREFIX: TEST 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # file-tail 1567s # 1567s # comment 1567s # comment: Generated data ends here 1568s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1568s # tmpdir: /tmp/tmp952207m9 1568s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1568s # /tmp/tmp952207m9/tmpimta2kp4.template: 1568s # /*** BEGIN file-header ***/ 1568s # file-header 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # /*** END file-header ***/ 1568s # 1568s # /*** BEGIN comment ***/ 1568s # comment 1568s # comment: @comment@ 1568s # /*** END comment ***/ 1568s # 1568s # /*** BEGIN file-tail ***/ 1568s # file-tail 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # /*** END file-tail ***/ 1568s # Response file contains: --template /tmp/tmp952207m9/tmpimta2kp4.template 1568s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp952207m9/tmpg107qdlu'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: comment 1568s # 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. 1568s # 1568s # 1568s # file-header 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # file-tail 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # 1568s # comment 1568s # comment: Generated data ends here 1568s ok 29 __main__.TestRspMkenums.test_help 1568s # tmpdir: /tmp/tmp07m7vt7v 1568s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1568s # Response file contains: --help 1568s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp07m7vt7v/tmpysziyubx'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1568s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1568s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1568s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1568s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1568s # [--output OUTPUT] [--version] 1568s # [args ...] 1568s # 1568s # positional arguments: 1568s # args One or more input files, or a single argument 1568s # @rspfile_path pointing to a file that contains the 1568s # actual arguments 1568s # 1568s # options: 1568s # -h, --help show this help message and exit 1568s # --identifier-prefix IDPREFIX 1568s # Identifier prefix 1568s # --symbol-prefix SYMPREFIX 1568s # Symbol prefix 1568s # --fhead FHEAD Output file header 1568s # --ftail FTAIL Output file footer 1568s # --fprod FPROD Put out TEXT every time a new input file is being 1568s # processed. 1568s # --eprod EPROD Per enum text, produced prior to value iterations 1568s # --vhead VHEAD Value header, produced before iterating over enum 1568s # values 1568s # --vprod VPROD Value text, produced for each enum value. 1568s # --vtail VTAIL Value tail, produced after iterating over enum values 1568s # --comments COMMENT_TMPL 1568s # Comment structure 1568s # --template TEMPLATE Template file 1568s # --output OUTPUT 1568s # --version, -v Print version information 1568s # 1568s # Production text substitutions: 1568s # @EnumName@ PrefixTheXEnum 1568s # @enum_name@ prefix_the_xenum 1568s # @ENUMNAME@ PREFIX_THE_XENUM 1568s # @ENUMSHORT@ THE_XENUM 1568s # @ENUMPREFIX@ PREFIX 1568s # @enumsince@ the user-provided since value given 1568s # @VALUENAME@ PREFIX_THE_XVALUE 1568s # @valuenick@ the-xvalue 1568s # @valuenum@ the integer value (limited support, Since: 2.26) 1568s # @type@ either enum or flags 1568s # @Type@ either Enum or Flags 1568s # @TYPE@ either ENUM or FLAGS 1568s # @filename@ name of current input file 1568s # @basename@ base name of the current input file (Since: 2.22) 1568s ok 30 __main__.TestRspMkenums.test_no_args 1568s # tmpdir: /tmp/tmpt5dry7ox 1568s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1568s # Response file contains: 1568s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpt5dry7ox/tmpa25jooo8'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # 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. */ 1568s # 1568s # 1568s # /* Generated data ends here */ 1568s ok 31 __main__.TestRspMkenums.test_no_headers 1568s # tmpdir: /tmp/tmp6997cqrg 1568s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1568s # /tmp/tmp6997cqrg/tmp8yw6mn75.template: 1568s # /*** BEGIN file-header ***/ 1568s # file-header 1568s # /*** END file-header ***/ 1568s # 1568s # /*** BEGIN file-production ***/ 1568s # file-production 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # /*** END file-production ***/ 1568s # 1568s # /*** BEGIN enumeration-production ***/ 1568s # enumeration-production 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END enumeration-production ***/ 1568s # 1568s # /*** BEGIN value-header ***/ 1568s # value-header 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-header ***/ 1568s # 1568s # /*** BEGIN value-production ***/ 1568s # value-production 1568s # VALUENAME: @VALUENAME@ 1568s # valuenick: @valuenick@ 1568s # valuenum: @valuenum@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-production ***/ 1568s # 1568s # /*** BEGIN value-tail ***/ 1568s # value-tail 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-tail ***/ 1568s # 1568s # /*** BEGIN comment ***/ 1568s # comment 1568s # comment: @comment@ 1568s # /*** END comment ***/ 1568s # 1568s # /*** BEGIN file-tail ***/ 1568s # file-tail 1568s # /*** END file-tail ***/ 1568s # 1568s # Response file contains: --template /tmp/tmp6997cqrg/tmp8yw6mn75.template 1568s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6997cqrg/tmpqaghhgez'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: comment 1568s # 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. 1568s # 1568s # 1568s # file-header 1568s # file-tail 1568s # 1568s # comment 1568s # comment: Generated data ends here 1568s ok 32 __main__.TestRspMkenums.test_no_nick 1568s # tmpdir: /tmp/tmp3yy0_l1e 1568s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1568s # /tmp/tmp3yy0_l1e/tmp5uuv91sh.h: 1568s # typedef enum { 1568s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1568s # } GeglSamplerType; 1568s # 1568s # /tmp/tmp3yy0_l1e/tmptzwd74vg.template: 1568s # /*** BEGIN file-header ***/ 1568s # file-header 1568s # /*** END file-header ***/ 1568s # 1568s # /*** BEGIN file-production ***/ 1568s # file-production 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # /*** END file-production ***/ 1568s # 1568s # /*** BEGIN enumeration-production ***/ 1568s # enumeration-production 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END enumeration-production ***/ 1568s # 1568s # /*** BEGIN value-header ***/ 1568s # value-header 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-header ***/ 1568s # 1568s # /*** BEGIN value-production ***/ 1568s # value-production 1568s # VALUENAME: @VALUENAME@ 1568s # valuenick: @valuenick@ 1568s # valuenum: @valuenum@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-production ***/ 1568s # 1568s # /*** BEGIN value-tail ***/ 1568s # value-tail 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-tail ***/ 1568s # 1568s # /*** BEGIN comment ***/ 1568s # comment 1568s # comment: @comment@ 1568s # /*** END comment ***/ 1568s # 1568s # /*** BEGIN file-tail ***/ 1568s # file-tail 1568s # /*** END file-tail ***/ 1568s # 1568s # Response file contains: --template /tmp/tmp3yy0_l1e/tmptzwd74vg.template /tmp/tmp3yy0_l1e/tmp5uuv91sh.h 1568s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3yy0_l1e/tmpvxptmpbk'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: comment 1568s # 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. 1568s # 1568s # 1568s # file-header 1568s # file-production 1568s # filename: /tmp/tmp3yy0_l1e/tmp5uuv91sh.h 1568s # basename: tmp5uuv91sh.h 1568s # enumeration-production 1568s # EnumName: GeglSamplerType 1568s # enum_name: gegl_sampler_type 1568s # ENUMNAME: GEGL_SAMPLER_TYPE 1568s # ENUMSHORT: SAMPLER_TYPE 1568s # ENUMPREFIX: GEGL 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-header 1568s # EnumName: GeglSamplerType 1568s # enum_name: gegl_sampler_type 1568s # ENUMNAME: GEGL_SAMPLER_TYPE 1568s # ENUMSHORT: SAMPLER_TYPE 1568s # ENUMPREFIX: GEGL 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-production 1568s # VALUENAME: GEGL_SAMPLER_NEAREST 1568s # valuenick: nearest 1568s # valuenum: 0 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-tail 1568s # EnumName: GeglSamplerType 1568s # enum_name: gegl_sampler_type 1568s # ENUMNAME: GEGL_SAMPLER_TYPE 1568s # ENUMSHORT: SAMPLER_TYPE 1568s # ENUMPREFIX: GEGL 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # file-tail 1568s # 1568s # comment 1568s # comment: Generated data ends here 1568s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1568s # tmpdir: /tmp/tmpsdwgborx 1568s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1568s # /tmp/tmpsdwgborx/tmpaabinq8w.h: 1568s # /* Copyright © La Peña */ 1568s # typedef enum { 1568s # ENUM_VALUE 1568s # } SomeEnumIdentifier; 1568s # 1568s # /tmp/tmpsdwgborx/tmpvyvqdx49.template: 1568s # /*** BEGIN file-header ***/ 1568s # file-header 1568s # /*** END file-header ***/ 1568s # 1568s # /*** BEGIN file-production ***/ 1568s # file-production 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # /*** END file-production ***/ 1568s # 1568s # /*** BEGIN enumeration-production ***/ 1568s # enumeration-production 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END enumeration-production ***/ 1568s # 1568s # /*** BEGIN value-header ***/ 1568s # value-header 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-header ***/ 1568s # 1568s # /*** BEGIN value-production ***/ 1568s # value-production 1568s # VALUENAME: @VALUENAME@ 1568s # valuenick: @valuenick@ 1568s # valuenum: @valuenum@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-production ***/ 1568s # 1568s # /*** BEGIN value-tail ***/ 1568s # value-tail 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-tail ***/ 1568s # 1568s # /*** BEGIN comment ***/ 1568s # comment 1568s # comment: @comment@ 1568s # /*** END comment ***/ 1568s # 1568s # /*** BEGIN file-tail ***/ 1568s # file-tail 1568s # /*** END file-tail ***/ 1568s # 1568s # Response file contains: --template /tmp/tmpsdwgborx/tmpvyvqdx49.template /tmp/tmpsdwgborx/tmpaabinq8w.h 1568s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsdwgborx/tmpasr4h449'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: comment 1568s # 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. 1568s # 1568s # 1568s # file-header 1568s # file-production 1568s # filename: /tmp/tmpsdwgborx/tmpaabinq8w.h 1568s # basename: tmpaabinq8w.h 1568s # enumeration-production 1568s # EnumName: SomeEnumIdentifier 1568s # enum_name: some_enum_identifier 1568s # ENUMNAME: SOME_ENUM_IDENTIFIER 1568s # ENUMSHORT: ENUM_IDENTIFIER 1568s # ENUMPREFIX: SOME 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-header 1568s # EnumName: SomeEnumIdentifier 1568s # enum_name: some_enum_identifier 1568s # ENUMNAME: SOME_ENUM_IDENTIFIER 1568s # ENUMSHORT: ENUM_IDENTIFIER 1568s # ENUMPREFIX: SOME 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-production 1568s # VALUENAME: ENUM_VALUE 1568s # valuenick: value 1568s # valuenum: 0 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-tail 1568s # EnumName: SomeEnumIdentifier 1568s # enum_name: some_enum_identifier 1568s # ENUMNAME: SOME_ENUM_IDENTIFIER 1568s # ENUMSHORT: ENUM_IDENTIFIER 1568s # ENUMPREFIX: SOME 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # file-tail 1568s # 1568s # comment 1568s # comment: Generated data ends here 1568s ok 34 __main__.TestRspMkenums.test_reproducible 1568s # tmpdir: /tmp/tmpq4kpk_44 1568s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1568s # /tmp/tmpq4kpk_44/tmp4wo9qjv7.template: template 1568s # Response file contains: --template /tmp/tmpq4kpk_44/tmp4wo9qjv7.template /tmp/tmpq4kpk_44/tmpmp20kgoj1.h /tmp/tmpq4kpk_44/tmplu6j54bg2.h 1568s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpq4kpk_44/tmpd6i5n7pa'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # 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. */ 1568s # 1568s # 1568s # /* Generated data ends here */ 1568s # /tmp/tmpq4kpk_44/tmpi2_8spwt.template: template 1568s # Response file contains: --template /tmp/tmpq4kpk_44/tmpi2_8spwt.template /tmp/tmpq4kpk_44/tmplu6j54bg2.h /tmp/tmpq4kpk_44/tmpmp20kgoj1.h 1568s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpq4kpk_44/tmpydeagqu4'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # 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. */ 1568s # 1568s # 1568s # /* Generated data ends here */ 1568s ok 35 __main__.TestRspMkenums.test_since 1568s # tmpdir: /tmp/tmp_9byske7 1568s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1568s # /tmp/tmp_9byske7/tmpng3gvnjm.h: 1568s # typedef enum { /*< since=1.0 >*/ 1568s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1568s # } QmiWmsMessageProtocol; 1568s # 1568s # /tmp/tmp_9byske7/tmpt8h70z06.template: 1568s # /*** BEGIN file-header ***/ 1568s # file-header 1568s # /*** END file-header ***/ 1568s # 1568s # /*** BEGIN file-production ***/ 1568s # file-production 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # /*** END file-production ***/ 1568s # 1568s # /*** BEGIN enumeration-production ***/ 1568s # enumeration-production 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END enumeration-production ***/ 1568s # 1568s # /*** BEGIN value-header ***/ 1568s # value-header 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-header ***/ 1568s # 1568s # /*** BEGIN value-production ***/ 1568s # value-production 1568s # VALUENAME: @VALUENAME@ 1568s # valuenick: @valuenick@ 1568s # valuenum: @valuenum@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-production ***/ 1568s # 1568s # /*** BEGIN value-tail ***/ 1568s # value-tail 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-tail ***/ 1568s # 1568s # /*** BEGIN comment ***/ 1568s # comment 1568s # comment: @comment@ 1568s # /*** END comment ***/ 1568s # 1568s # /*** BEGIN file-tail ***/ 1568s # file-tail 1568s # /*** END file-tail ***/ 1568s # 1568s # Response file contains: --template /tmp/tmp_9byske7/tmpt8h70z06.template /tmp/tmp_9byske7/tmpng3gvnjm.h 1568s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_9byske7/tmptto1y2af'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: comment 1568s # 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. 1568s # 1568s # 1568s # file-header 1568s # file-production 1568s # filename: /tmp/tmp_9byske7/tmpng3gvnjm.h 1568s # basename: tmpng3gvnjm.h 1568s # enumeration-production 1568s # EnumName: QmiWmsMessageProtocol 1568s # enum_name: qmi_wms_message_protocol 1568s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1568s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1568s # ENUMPREFIX: QMI 1568s # enumsince: 1.0 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-header 1568s # EnumName: QmiWmsMessageProtocol 1568s # enum_name: qmi_wms_message_protocol 1568s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1568s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1568s # ENUMPREFIX: QMI 1568s # enumsince: 1.0 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-production 1568s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1568s # valuenick: cdma 1568s # valuenum: 0 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-tail 1568s # EnumName: QmiWmsMessageProtocol 1568s # enum_name: qmi_wms_message_protocol 1568s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1568s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1568s # ENUMPREFIX: QMI 1568s # enumsince: 1.0 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # file-tail 1568s # 1568s # comment 1568s # comment: Generated data ends here 1568s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1568s # tmpdir: /tmp/tmp_3u7wwo8 1568s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1568s # /tmp/tmp_3u7wwo8/tmpg4r61l1z.h: 1568s # typedef enum { 1568s # FOO_VALUE /*< nick="eek, a comma" >*/ 1568s # } Foo; 1568s # 1568s # /tmp/tmp_3u7wwo8/tmpdx7709w9.template: 1568s # /*** BEGIN file-header ***/ 1568s # file-header 1568s # /*** END file-header ***/ 1568s # 1568s # /*** BEGIN file-production ***/ 1568s # file-production 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # /*** END file-production ***/ 1568s # 1568s # /*** BEGIN enumeration-production ***/ 1568s # enumeration-production 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END enumeration-production ***/ 1568s # 1568s # /*** BEGIN value-header ***/ 1568s # value-header 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-header ***/ 1568s # 1568s # /*** BEGIN value-production ***/ 1568s # value-production 1568s # VALUENAME: @VALUENAME@ 1568s # valuenick: @valuenick@ 1568s # valuenum: @valuenum@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-production ***/ 1568s # 1568s # /*** BEGIN value-tail ***/ 1568s # value-tail 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-tail ***/ 1568s # 1568s # /*** BEGIN comment ***/ 1568s # comment 1568s # comment: @comment@ 1568s # /*** END comment ***/ 1568s # 1568s # /*** BEGIN file-tail ***/ 1568s # file-tail 1568s # /*** END file-tail ***/ 1568s # 1568s # Response file contains: --template /tmp/tmp_3u7wwo8/tmpdx7709w9.template /tmp/tmp_3u7wwo8/tmpg4r61l1z.h 1568s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_3u7wwo8/tmpvw9bixus'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: comment 1568s # 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. 1568s # 1568s # 1568s # file-header 1568s # file-production 1568s # filename: /tmp/tmp_3u7wwo8/tmpg4r61l1z.h 1568s # basename: tmpg4r61l1z.h 1568s # enumeration-production 1568s # EnumName: Foo 1568s # enum_name: foo_ 1568s # ENUMNAME: FOO_ 1568s # ENUMSHORT: 1568s # ENUMPREFIX: FOO 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-header 1568s # EnumName: Foo 1568s # enum_name: foo_ 1568s # ENUMNAME: FOO_ 1568s # ENUMSHORT: 1568s # ENUMPREFIX: FOO 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-production 1568s # VALUENAME: FOO_VALUE 1568s # valuenick: eek, a comma 1568s # valuenum: 0 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-tail 1568s # EnumName: Foo 1568s # enum_name: foo_ 1568s # ENUMNAME: FOO_ 1568s # ENUMSHORT: 1568s # ENUMPREFIX: FOO 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # file-tail 1568s # 1568s # comment 1568s # comment: Generated data ends here 1568s 1..36 1568s ok - glib/mkenums.py.test 1568s # Running test: glib/environment.test 1568s TAP version 13 1568s # random seed: R02S03ca40c5107393459e55312c107d0ac0 1568s 1..6 1568s # Start of environ tests 1568s # /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. 1568s ok 1 /environ/listenv 1568s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1568s ok 2 /environ/getenv 1568s ok 3 /environ/setenv 1568s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1568s ok 4 /environ/array 1568s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1568s ok 5 /environ/null 1568s # /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. 1568s ok 6 /environ/case 1568s # End of environ tests 1568s ok - glib/environment.test 1568s # Running test: glib/gobject-private.test 1568s TAP version 13 1568s # random seed: R02Sceb61ee0560fbc67eeca4a7098016bdd 1568s 1..3 1568s # Start of private tests 1568s ok 1 /private/instance 1568s ok 2 /private/derived-instance 1568s ok 3 /private/mixed-derived-instance 1568s # End of private tests 1568s ok - glib/gobject-private.test 1568s # Running test: glib/portal-support-flatpak-full.test 1568s TAP version 13 1568s # random seed: R02Sae884e3cdf6e24f66f93a1836d243cd8 1568s 1..1 1568s # Start of portal-support tests 1568s # Start of flatpak tests 1568s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_HVCTK2/portal-support/flatpak/full/.dirs/home 1568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_HVCTK2/portal-support/flatpak/full/.dirs/cache 1568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_HVCTK2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_HVCTK2/portal-support/flatpak/full/.dirs/system-config2 1568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_HVCTK2/portal-support/flatpak/full/.dirs/config 1568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_HVCTK2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_HVCTK2/portal-support/flatpak/full/.dirs/system-data2 1568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_HVCTK2/portal-support/flatpak/full/.dirs/data 1568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_HVCTK2/portal-support/flatpak/full/.dirs/state 1568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_HVCTK2/portal-support/flatpak/full/.dirs/runtime 1568s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_HVCTK2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1568s ok 1 /portal-support/flatpak/full 1568s # End of flatpak tests 1568s # End of portal-support tests 1568s ok - glib/portal-support-flatpak-full.test 1568s # Running test: glib/utf8-misc.test 1568s TAP version 13 1568s # random seed: R02S7c4ef0254993e6dfec9a7017131f4a99 1568s 1..7 1568s # Start of utf8 tests 1568s ok 1 /utf8/strlen 1568s ok 2 /utf8/strncpy 1568s ok 3 /utf8/strrchr 1568s ok 4 /utf8/reverse 1568s ok 5 /utf8/substring 1568s ok 6 /utf8/make-valid 1568s ok 7 /utf8/truncate-middle 1568s # End of utf8 tests 1568s ok - glib/utf8-misc.test 1568s # Running test: glib/cxx-20.test 1568s TAP version 13 1568s # random seed: R02S17b3372c5acbf9d7777f3b75c7f8dcb3 1568s 1..2 1568s # Start of gtask tests 1568s # 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. 1568s ok 1 /gtask/name 1568s # Start of name tests 1568s # 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. 1568s ok 2 /gtask/name/macro-wrapper 1568s # End of name tests 1568s # End of gtask tests 1569s ok - glib/cxx-20.test 1569s # Running test: glib/boxed.test 1569s TAP version 13 1569s # random seed: R02S946ada2e08e863fe9380bcebaf8aa7b4 1569s 1..27 1569s # Start of boxed tests 1569s ok 1 /boxed/define 1569s ok 2 /boxed/ownership 1569s ok 3 /boxed/closure 1569s ok 4 /boxed/date 1569s ok 5 /boxed/value 1569s ok 6 /boxed/string 1569s ok 7 /boxed/hashtable 1569s ok 8 /boxed/array 1569s ok 9 /boxed/ptrarray 1569s ok 10 /boxed/regex 1569s ok 11 /boxed/varianttype 1569s ok 12 /boxed/error 1569s ok 13 /boxed/datetime 1569s ok 14 /boxed/matchinfo 1569s ok 15 /boxed/keyfile 1569s ok 16 /boxed/mainloop 1569s ok 17 /boxed/maincontext 1569s ok 18 /boxed/source 1569s ok 19 /boxed/variantbuilder 1569s ok 20 /boxed/timezone 1569s ok 21 /boxed/pollfd 1569s ok 22 /boxed/markup 1569s ok 23 /boxed/thread 1569s ok 24 /boxed/checksum 1569s ok 25 /boxed/tree 1569s ok 26 /boxed/patternspec 1569s ok 27 /boxed/rand 1569s # End of boxed tests 1569s ok - glib/boxed.test 1569s # Running test: glib/refstring.test 1569s TAP version 13 1569s # random seed: R02S489983f5c54ff340ee6c7a77d3958e55 1569s 1..5 1569s # Start of refstring tests 1569s # s = 'hello, world' (0xbc098c61e660) 1569s ok 1 /refstring/base 1569s ok 2 /refstring/length 1569s ok 3 /refstring/length-auto 1569s ok 4 /refstring/length-nuls 1569s # s = 'hello, world' (0xbc098c61e660) 1569s # p = s = 'hello, world' (0xbc098c61e660) 1569s # releasing p[0xbc098c61e660] ('hello, world') 1569s # p = 'goodbye, world' (0xbc098c6266c0) 1569s # releasing p[0xbc098c6266c0] ('goodbye, world') 1569s # releasing s[0xbc098c61e660] ('hello, world') 1569s ok 5 /refstring/intern 1569s # End of refstring tests 1569s ok - glib/refstring.test 1569s # Running test: glib/markup.test 1569s TAP version 13 1569s # random seed: R02Sac6b7927c18ec9623b8c68e76ecfee21 1569s 1..1 1569s # Start of markup tests 1569s ok 1 /markup/stack 1569s # End of markup tests 1569s ok - glib/markup.test 1569s # Running test: glib/portal-support-flatpak-network-only.test 1569s TAP version 13 1569s # random seed: R02S8b25e488a3c3e8c8a162ff558ed7f5f0 1569s 1..1 1569s # Start of portal-support tests 1569s # Start of flatpak tests 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_ZADVK2/portal-support/flatpak/network/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_ZADVK2/portal-support/flatpak/network/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_ZADVK2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_ZADVK2/portal-support/flatpak/network/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_ZADVK2/portal-support/flatpak/network/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_ZADVK2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_ZADVK2/portal-support/flatpak/network/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_ZADVK2/portal-support/flatpak/network/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_ZADVK2/portal-support/flatpak/network/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_ZADVK2/portal-support/flatpak/network/.dirs/runtime 1569s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_ZADVK2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1569s ok 1 /portal-support/flatpak/network 1569s # End of flatpak tests 1569s # End of portal-support tests 1569s ok - glib/portal-support-flatpak-network-only.test 1569s # Running test: glib/tls-interaction.test 1569s TAP version 13 1569s # random seed: R02Sbced38c0ac4346317fdcf7867aea592e 1569s 1..42 1569s # Start of tls-interaction tests 1569s # Start of ask-password tests 1569s # Start of invoke-with-loop tests 1569s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1569s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1569s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1569s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1569s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1569s # End of invoke-with-loop tests 1569s # Start of invoke-without-loop tests 1569s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1569s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1569s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1569s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1569s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1569s # End of invoke-without-loop tests 1569s # Start of invoke-in-loop tests 1569s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1569s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1569s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1569s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1569s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1569s # End of invoke-in-loop tests 1569s # Start of sync tests 1569s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1569s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1569s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1569s # End of sync tests 1569s # Start of async tests 1569s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1569s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1569s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1569s # End of async tests 1569s # End of ask-password tests 1569s # Start of request-certificate tests 1569s # Start of invoke-with-loop tests 1569s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1569s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1569s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1569s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1569s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1569s # End of invoke-with-loop tests 1569s # Start of invoke-without-loop tests 1569s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1569s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1569s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1569s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1569s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1569s # End of invoke-without-loop tests 1569s # Start of invoke-in-loop tests 1569s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1569s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1569s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1569s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1569s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1569s # End of invoke-in-loop tests 1569s # Start of sync tests 1569s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1569s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1569s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1569s # End of sync tests 1569s # Start of async tests 1569s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1569s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1569s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1569s # End of async tests 1569s # End of request-certificate tests 1569s # End of tls-interaction tests 1569s ok - glib/tls-interaction.test 1569s # Running test: glib/gdbus-proxy-unique-name.test 1569s TAP version 13 1569s # random seed: R02S3331d6607eefd148ace04fafb36e54db 1569s 1..1 1569s # Start of gdbus tests 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_UR7VK2/gdbus/proxy-unique-name/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_UR7VK2/gdbus/proxy-unique-name/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_UR7VK2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_UR7VK2/gdbus/proxy-unique-name/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_UR7VK2/gdbus/proxy-unique-name/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_UR7VK2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_UR7VK2/gdbus/proxy-unique-name/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_UR7VK2/gdbus/proxy-unique-name/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_UR7VK2/gdbus/proxy-unique-name/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_UR7VK2/gdbus/proxy-unique-name/.dirs/runtime 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s ok 1 /gdbus/proxy-unique-name 1569s # End of gdbus tests 1569s ok - glib/gdbus-proxy-unique-name.test 1569s # Running test: glib/gdbus-non-socket.test 1569s TAP version 13 1569s # random seed: R02S3b222afd07ef6492a0bf63551152d7ad 1569s 1..1 1569s # Start of gdbus tests 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_QHSTK2/gdbus/non-socket/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_QHSTK2/gdbus/non-socket/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_QHSTK2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_QHSTK2/gdbus/non-socket/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_QHSTK2/gdbus/non-socket/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_QHSTK2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_QHSTK2/gdbus/non-socket/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_QHSTK2/gdbus/non-socket/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_QHSTK2/gdbus/non-socket/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_QHSTK2/gdbus/non-socket/.dirs/runtime 1569s ok 1 /gdbus/non-socket 1569s # End of gdbus tests 1569s ok - glib/gdbus-non-socket.test 1569s # Running test: glib/dynamictype.test 1569s TAP version 13 1569s # random seed: R02S8e3382bda12bffd0aaa18d16f42b54b1 1569s 1..2 1569s # Start of gobject tests 1569s ok 1 /gobject/dynamic-type 1569s # Start of dynamic-type tests 1569s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1569s ok 2 /gobject/dynamic-type/query 1569s # End of dynamic-type tests 1569s # End of gobject tests 1569s ok - glib/dynamictype.test 1569s # Running test: glib/basics-gobject.test 1569s TAP version 13 1569s # random seed: R02S8e9ff176cfb6e3986e95e32aca7a048b 1569s 1..1 1569s # Start of gobject tests 1569s # private data during initialization: 54321 == 54321 1569s # MAIN: emit test-signal: 1569s # ::test_signal default_handler called 1569s # ::test_signal default_handler called 1569s # ::test_signal default_handler called 1569s # signal return: "" 1569s # MAIN: call iface print-string on test and derived object: 1569s # Iface-FOO: "iface-string-from-test-type" from 0xac4d1226b7b0 1569s # Iface-BAR: "iface-string-from-derived-type" from 0xac4d1226b6d0 1569s # chaining: 1569s # Iface-FOO: "iface-string-from-derived-type" from 0xac4d1226b6d0 1569s # private data after initialization: 54321 == 54321 1569s ok 1 /gobject/basics 1569s # End of gobject tests 1569s ok - glib/basics-gobject.test 1569s # Running test: glib/stream-rw_all.test 1569s TAP version 13 1569s # random seed: R02Sc24e5a419a70ffc931407417fb8c4f20 1569s 1..3 1569s # Start of stream tests 1569s # Start of read_all_async tests 1569s ok 1 /stream/read_all_async/memory 1569s # End of read_all_async tests 1569s # Start of write_all_async tests 1569s ok 2 /stream/write_all_async/memory 1569s # End of write_all_async tests 1569s # Start of read_write_all_async tests 1569s ok 3 /stream/read_write_all_async/pipe 1569s # End of read_write_all_async tests 1569s # End of stream tests 1569s ok - glib/stream-rw_all.test 1569s # Running test: glib/atomic-c-11.test 1569s TAP version 13 1569s # random seed: R02S627a70b395d4abb5cc2655c0ba263a06 1569s 1..2 1569s # Start of atomic tests 1569s ok 1 /atomic/types 1569s ok 2 /atomic/threaded 1569s # End of atomic tests 1569s ok - glib/atomic-c-11.test 1569s # Running test: glib/gdbus-peer.test 1569s TAP version 13 1569s # random seed: R02S35f3b3766b02edd20b9ac98c85fea1e8 1569s 1..12 1569s # Start of gdbus tests 1569s # Executing: glib/gdbus-peer.test 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/.dirs/runtime 1569s # Testing with unix:dir address 1569s # Testing with unix:tmpdir address 1569s # Testing with unix:path address 1569s ok 1 /gdbus/peer-to-peer 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/delayed-message-processing/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/delayed-message-processing/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_MW23K2/gdbus/delayed-message-processing/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/delayed-message-processing/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_MW23K2/gdbus/delayed-message-processing/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/delayed-message-processing/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/delayed-message-processing/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MW23K2/gdbus/delayed-message-processing/.dirs/runtime 1569s # Testing with unix:dir address 1569s ok 2 /gdbus/delayed-message-processing 1569s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/nonce-tcp/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/nonce-tcp/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_MW23K2/gdbus/nonce-tcp/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/nonce-tcp/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_MW23K2/gdbus/nonce-tcp/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/nonce-tcp/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/nonce-tcp/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MW23K2/gdbus/nonce-tcp/.dirs/runtime 1569s ok 3 /gdbus/nonce-tcp 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/tcp-anonymous/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/tcp-anonymous/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_MW23K2/gdbus/tcp-anonymous/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/tcp-anonymous/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_MW23K2/gdbus/tcp-anonymous/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/tcp-anonymous/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/tcp-anonymous/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MW23K2/gdbus/tcp-anonymous/.dirs/runtime 1569s ok 4 /gdbus/tcp-anonymous 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/credentials/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/credentials/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_MW23K2/gdbus/credentials/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/credentials/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_MW23K2/gdbus/credentials/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/credentials/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/credentials/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MW23K2/gdbus/credentials/.dirs/runtime 1569s ok 5 /gdbus/credentials 1569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/codegen-peer-to-peer/.dirs/home 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/codegen-peer-to-peer/.dirs/cache 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_MW23K2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/codegen-peer-to-peer/.dirs/config 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_MW23K2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/codegen-peer-to-peer/.dirs/data 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/codegen-peer-to-peer/.dirs/state 1569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MW23K2/gdbus/codegen-peer-to-peer/.dirs/runtime 1569s # Testing with unix:dir address 1570s # Machine ID: 68c1d84e8a1e4038b072bfa42d787275 1571s ok 6 /gdbus/codegen-peer-to-peer 1571s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1571s # Start of peer-to-peer tests 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/signals/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/signals/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/signals/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/signals/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/signals/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/signals/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/signals/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/signals/.dirs/runtime 1571s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1571s # Testing with unix:dir address 1571s ok 7 /gdbus/peer-to-peer/signals 1571s # Start of invalid tests 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/server/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/server/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/server/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/server/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1571s ok 8 /gdbus/peer-to-peer/invalid/server 1571s # Start of conn tests 1571s # Start of stream tests 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1571s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1571s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1571s # End of stream tests 1571s # Start of addr tests 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1571s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1571s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1571s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MW23K2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1571s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1571s # End of addr tests 1571s # End of conn tests 1571s # End of invalid tests 1571s # End of peer-to-peer tests 1571s # End of gdbus tests 1571s ok - glib/gdbus-peer.test 1571s # Running test: glib/singleton.test 1571s TAP version 13 1571s # random seed: R02S4c5ef7f94c94c1ca541221f137292871 1571s 1..2 1571s # Start of gobject tests 1571s # Start of singleton tests 1571s ok 1 /gobject/singleton/construction 1571s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1571s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1571s ok 2 /gobject/singleton/construct-property 1571s # End of singleton tests 1571s # End of gobject tests 1571s ok - glib/singleton.test 1571s # Running test: glib/volumemonitor.test 1571s TAP version 13 1571s # random seed: R02S60da6a154e12692f28f760d7e1af2ba2 1571s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1571s 1..3 1571s # Start of volumemonitor tests 1571s ok 1 /volumemonitor/connected_drives 1571s ok 2 /volumemonitor/volumes 1571s ok 3 /volumemonitor/mounts 1571s # End of volumemonitor tests 1571s ok - glib/volumemonitor.test 1571s # Running test: glib/performance.test 1571s Running test simple-construction 1574s # Executing: glib/performance.test 1577s Millions of constructed objects per second: 5.386 1577s Running test simple-construction1 1579s # Executing: glib/performance.test 1582s Millions of constructed objects per second: 45.548 1582s Running test complex-construction 1584s # Executing: glib/performance.test 1586s Millions of constructed objects per second: 2.741 1586s Running test complex-construction1 1589s # Executing: glib/performance.test 1591s Millions of constructed objects per second: 4.299 1591s Running test complex-construction2 1594s # Executing: glib/performance.test 1597s Millions of constructed objects per second: 4.430 1597s Running test finalization 1599s Millions of finalized objects per second: 1.302 1599s Running test type-check 1599s Million type checks per second: inf 1599s Running test emit-unhandled 1599s # Executing: glib/performance.test 1600s Emissions per second: 1696109 1600s Running test emit-unhandled-empty 1601s Emissions per second: 9565074 1601s Running test emit-unhandled-generic 1602s Emissions per second: 2257312 1602s Running test emit-unhandled-generic-empty 1603s Emissions per second: 9565900 1603s Running test emit-unhandled-args 1604s # Executing: glib/performance.test 1605s Emissions per second: 1476019 1605s Running test emit-handled 1606s Emissions per second: 1189288 1606s Running test emit-handled-empty 1608s Emissions per second: 1231502 1608s Running test emit-handled-generic 1609s # Executing: glib/performance.test 1609s Emissions per second: 1216155 1609s Running test emit-handled-generic-empty 1611s Emissions per second: 2065026 1611s Running test emit-handled-args 1612s Emissions per second: 1091047 1612s Running test notify-unhandled 1613s Notify (unhandled) per second: 9798235 1613s Running test notify-by-pspec-unhandled 1614s # Executing: glib/performance.test 1614s Notify (unhandled) per second: 38964076 1614s Running test notify-handled 1616s Notify per second: 698708 1616s Running test notify-by-pspec-handled 1618s Notify per second: 741935 1618s Running test property-set 1619s # Executing: glib/performance.test 1619s Property set per second: 3537486 1619s Running test property-get 1620s Property get per second: 3457987 1620s Running test refcount 1624s # Executing: glib/performance.test 1624s Million refs+unref per second: 10.30 1624s ok - glib/performance.test 1624s # Running test: glib/tls-bindings.test 1624s TAP version 13 1624s # random seed: R02S4c1738fb9cbde5dbc08622167604fced 1624s 1..2 1624s # Start of tls-connection tests 1624s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1624s ok 1 /tls-connection/get-tls-channel-binding 1624s ok 2 /tls-connection/get-dtls-channel-binding 1624s # End of tls-connection tests 1624s ok - glib/tls-bindings.test 1624s # Running test: glib/trash.test 1624s TAP version 13 1624s # random seed: R02S753bc53f595fdab3549a88f2831d7a92 1624s 1..2 1624s # Start of trash tests 1624s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1624s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1624s # File: /tmp/test-trashBF71K2 (parent st_dev: 2049) 1624s # Home: /home/ubuntu (st_dev: 2049) 1624s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1624s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1624s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1624s # End of trash tests 1624s ok - glib/trash.test 1624s # Running test: glib/mapping.test 1624s TAP version 13 1624s # random seed: R02Sdc93f4be97a41a335294e13fd318552e 1624s 1..3 1624s # Start of mapping tests 1624s # test_mapping: ok 1624s ok 1 /mapping/flags 1624s ok 2 /mapping/private 1624s # test_child_private: child spawned 1624s # Subtest: /usr/libexec/installed-tests/glib/mapping 1624s # # random seed: R02S345e4e049cd583ee5d864c1bbd3cea7b 1624s # test_child_private: received first child signal 1624s # # test_child_private: received parent signal 1624s # test_child_private: received second child signal 1624s ok 3 /mapping/private-child 1624s # End of mapping tests 1624s ok - glib/mapping.test 1624s # Running test: glib/gutils-user-database.test 1624s TAP version 13 1624s # random seed: R02S324cf782a13727688276d7474ecd0c21 1624s 1..1 1624s # Start of gutils tests 1624s ok 1 /gutils/get_user_database_entry 1624s # End of gutils tests 1624s ok - glib/gutils-user-database.test 1624s # Running test: glib/pattern.test 1624s TAP version 13 1624s # random seed: R02Sc38f4821cbc70153808b4f8b35165f38 1624s 1..90 1624s # Start of pattern tests 1624s # Start of compile tests 1624s ok 1 /pattern/compile/0 1624s ok 2 /pattern/compile/1 1624s ok 3 /pattern/compile/2 1624s ok 4 /pattern/compile/3 1624s ok 5 /pattern/compile/4 1624s ok 6 /pattern/compile/5 1624s ok 7 /pattern/compile/6 1624s ok 8 /pattern/compile/7 1624s ok 9 /pattern/compile/8 1624s ok 10 /pattern/compile/9 1624s ok 11 /pattern/compile/10 1624s ok 12 /pattern/compile/11 1624s ok 13 /pattern/compile/12 1624s ok 14 /pattern/compile/13 1624s # End of compile tests 1624s # Start of copy tests 1624s ok 15 /pattern/copy/0 1624s ok 16 /pattern/copy/1 1624s ok 17 /pattern/copy/2 1624s ok 18 /pattern/copy/3 1624s ok 19 /pattern/copy/4 1624s ok 20 /pattern/copy/5 1624s ok 21 /pattern/copy/6 1624s ok 22 /pattern/copy/7 1624s ok 23 /pattern/copy/8 1624s ok 24 /pattern/copy/9 1624s ok 25 /pattern/copy/10 1624s ok 26 /pattern/copy/11 1624s ok 27 /pattern/copy/12 1624s ok 28 /pattern/copy/13 1624s # End of copy tests 1624s # Start of match tests 1624s ok 29 /pattern/match/0 1624s ok 30 /pattern/match/1 1624s ok 31 /pattern/match/2 1624s ok 32 /pattern/match/3 1624s ok 33 /pattern/match/4 1624s ok 34 /pattern/match/5 1624s ok 35 /pattern/match/6 1624s ok 36 /pattern/match/7 1624s ok 37 /pattern/match/8 1624s ok 38 /pattern/match/9 1624s ok 39 /pattern/match/10 1624s ok 40 /pattern/match/11 1624s ok 41 /pattern/match/12 1624s ok 42 /pattern/match/13 1624s ok 43 /pattern/match/14 1624s ok 44 /pattern/match/15 1624s ok 45 /pattern/match/16 1624s ok 46 /pattern/match/17 1624s ok 47 /pattern/match/18 1624s ok 48 /pattern/match/19 1624s ok 49 /pattern/match/20 1624s ok 50 /pattern/match/21 1624s ok 51 /pattern/match/22 1624s ok 52 /pattern/match/23 1624s ok 53 /pattern/match/24 1624s ok 54 /pattern/match/25 1624s ok 55 /pattern/match/26 1624s ok 56 /pattern/match/27 1624s ok 57 /pattern/match/28 1624s ok 58 /pattern/match/29 1624s ok 59 /pattern/match/30 1624s ok 60 /pattern/match/31 1624s ok 61 /pattern/match/32 1624s ok 62 /pattern/match/33 1624s ok 63 /pattern/match/34 1624s ok 64 /pattern/match/35 1624s ok 65 /pattern/match/36 1624s ok 66 /pattern/match/37 1624s ok 67 /pattern/match/38 1624s ok 68 /pattern/match/39 1624s ok 69 /pattern/match/40 1624s ok 70 /pattern/match/41 1624s ok 71 /pattern/match/42 1624s ok 72 /pattern/match/43 1624s ok 73 /pattern/match/44 1624s ok 74 /pattern/match/45 1624s ok 75 /pattern/match/46 1624s ok 76 /pattern/match/47 1624s ok 77 /pattern/match/48 1624s ok 78 /pattern/match/49 1624s ok 79 /pattern/match/50 1624s # End of match tests 1624s # Start of equal tests 1624s ok 80 /pattern/equal/0 1624s ok 81 /pattern/equal/1 1624s ok 82 /pattern/equal/2 1624s ok 83 /pattern/equal/3 1624s ok 84 /pattern/equal/4 1624s ok 85 /pattern/equal/5 1624s ok 86 /pattern/equal/6 1624s ok 87 /pattern/equal/7 1624s ok 88 /pattern/equal/8 1624s ok 89 /pattern/equal/9 1624s ok 90 /pattern/equal/10 1624s # End of equal tests 1624s # End of pattern tests 1624s ok - glib/pattern.test 1624s # Running test: glib/thread-pool-slow.test 1624s TAP version 13 1624s # random seed: R02S256e9c72fb7a07f60d85a2d842e84fdb 1624s 1..7 1624s # Start of threadpool tests 1624s ok 1 /threadpool/functions 1625s ok 2 /threadpool/stop-unused 1625s # slow test /threadpool/stop-unused executed in 0.52 secs 1625s ok 3 /threadpool/pools 1625s # [unsorted] ===> pushed new thread with id:65, number of threads:1, unprocessed:1 1625s # [unsorted] ===> pushed new thread with id:97, number of threads:2, unprocessed:1 1625s # [unsorted] ===> pushed new thread with id:78, number of threads:3, unprocessed:2 1625s # [unsorted] ===> pushed new thread with id:38, number of threads:4, unprocessed:3 1625s # [unsorted] ===> pushed new thread with id:65, number of threads:5, unprocessed:4 1625s # [unsorted] ===> pushed new thread with id:29, number of threads:6, unprocessed:5 1625s # [unsorted] ===> pushed new thread with id:63, number of threads:7, unprocessed:6 1625s # [unsorted] ===> pushed new thread with id:25, number of threads:8, unprocessed:7 1625s # [unsorted] ===> pushed new thread with id:30, number of threads:9, unprocessed:8 1625s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:4 1625s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:5 1625s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:6 1625s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:7 1625s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:8 1625s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:9 1625s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:10 1625s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:11 1625s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:12 1625s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:13 1625s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:14 1625s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:15 1625s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:16 1625s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:17 1625s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:18 1625s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:19 1625s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:20 1625s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:21 1625s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:22 1625s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:23 1625s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:24 1625s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:25 1625s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:26 1625s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:27 1625s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:28 1625s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:29 1625s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:30 1625s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:31 1625s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:32 1625s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:33 1625s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:34 1625s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:35 1625s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:36 1625s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:37 1625s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:38 1625s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:39 1625s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:40 1625s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:41 1625s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:42 1625s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:43 1625s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:44 1625s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:45 1625s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:46 1625s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:47 1625s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:48 1625s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:49 1625s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:50 1625s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:51 1625s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:52 1625s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:53 1625s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:54 1625s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:55 1625s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:56 1625s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:57 1625s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:58 1625s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:59 1625s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:60 1625s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:61 1625s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:62 1625s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:63 1625s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:64 1625s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:65 1625s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:66 1625s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:67 1625s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:68 1625s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:69 1625s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:70 1625s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:71 1625s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:72 1625s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:73 1625s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:74 1625s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:75 1625s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:76 1625s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:77 1625s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:78 1625s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:79 1625s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:80 1625s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:81 1625s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:82 1625s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:83 1625s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:84 1625s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:85 1625s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:86 1625s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:87 1625s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:88 1625s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:89 1625s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:90 1625s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:91 1625s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:92 1625s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:93 1625s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:94 1625s ok 4 /threadpool/no-sort 1625s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:1 1625s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:2 1625s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:3 1625s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:4 1625s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:5 1625s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:6 1625s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:7 1625s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:8 1625s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:9 1625s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:10 1625s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:11 1625s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:12 1625s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:13 1625s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:14 1625s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:15 1625s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:16 1625s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:17 1625s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:18 1625s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:19 1625s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:20 1625s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:21 1625s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:22 1625s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:23 1625s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:24 1625s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:25 1625s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:26 1625s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:27 1625s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:28 1625s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:29 1625s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:30 1625s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:31 1625s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:32 1625s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:33 1625s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:34 1625s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:35 1625s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:36 1625s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:37 1625s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:38 1625s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:39 1625s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:40 1625s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:41 1625s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:42 1625s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:43 1625s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:44 1625s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:45 1625s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:46 1625s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:47 1625s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:48 1625s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:49 1625s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:50 1625s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:51 1625s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:52 1625s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:53 1625s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:54 1625s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:55 1625s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:56 1625s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:57 1625s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:58 1625s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:59 1625s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:60 1625s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:61 1625s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:62 1625s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:63 1625s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:64 1625s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:65 1625s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:66 1625s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:67 1625s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:68 1625s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:69 1625s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:70 1625s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:71 1625s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:72 1625s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:73 1625s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:74 1625s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:75 1625s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:76 1625s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:77 1625s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:78 1625s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:79 1625s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:80 1625s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:81 1625s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:82 1625s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:83 1625s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:84 1625s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:85 1625s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:86 1625s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:87 1625s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:88 1625s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:89 1625s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:90 1625s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:91 1625s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:92 1625s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:93 1625s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:94 1625s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:95 1625s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:96 1625s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:97 1625s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:98 1625s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:99 1625s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:100 1625s # Starting thread pool processing 1625s ok 5 /threadpool/sort 1625s ok 6 /threadpool/stop-unused-multiple 1625s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs 1625s # Pool idle thread count: 0, unprocessed jobs: 47 1626s # Pool idle thread count: 0, unprocessed jobs: 0 1626s # Pool idle thread count: 0, unprocessed jobs: 0 1626s # Pool idle thread count: 10, unprocessed jobs: 0 1626s # Pool idle thread count: 10, unprocessed jobs: 0 1627s # Pool idle thread count: 10, unprocessed jobs: 0 1627s # Pool idle thread count: 10, unprocessed jobs: 0 1627s # Pool idle thread count: 10, unprocessed jobs: 0 1627s # Pool idle thread count: 10, unprocessed jobs: 0 1628s # Pool idle thread count: 10, unprocessed jobs: 0 1628s # Pool idle thread count: 10, unprocessed jobs: 0 1628s # Pool idle thread count: 10, unprocessed jobs: 0 1628s # Pool idle thread count: 10, unprocessed jobs: 0 1629s # Pool idle thread count: 10, unprocessed jobs: 0 1629s # Pool idle thread count: 10, unprocessed jobs: 0 1629s # Executing: glib/thread-pool-slow.test 1629s # Pool idle thread count: 10, unprocessed jobs: 0 1629s # Pool idle thread count: 10, unprocessed jobs: 0 1630s # Pool idle thread count: 10, unprocessed jobs: 0 1630s # Pool idle thread count: 10, unprocessed jobs: 0 1630s # Pool idle thread count: 10, unprocessed jobs: 0 1630s # Pool idle thread count: 10, unprocessed jobs: 0 1631s # Pool idle thread count: 10, unprocessed jobs: 0 1631s # Pool idle thread count: 10, unprocessed jobs: 0 1631s # Pool idle thread count: 10, unprocessed jobs: 0 1631s # Pool idle thread count: 10, unprocessed jobs: 0 1632s # Pool idle thread count: 10, unprocessed jobs: 0 1632s # Pool idle thread count: 10, unprocessed jobs: 0 1632s # Pool idle thread count: 10, unprocessed jobs: 0 1632s # Pool idle thread count: 10, unprocessed jobs: 0 1633s # Pool idle thread count: 10, unprocessed jobs: 0 1633s # Pool idle thread count: 10, unprocessed jobs: 0 1633s # Pool idle thread count: 10, unprocessed jobs: 0 1633s # Pool idle thread count: 10, unprocessed jobs: 0 1634s # Pool idle thread count: 10, unprocessed jobs: 0 1634s # Pool idle thread count: 10, unprocessed jobs: 0 1634s # Executing: glib/thread-pool-slow.test 1634s # Pool idle thread count: 10, unprocessed jobs: 2 1634s # Pool idle thread count: 10, unprocessed jobs: 2 1634s # Pool idle thread count: 8, unprocessed jobs: 0 1634s # Pool idle thread count: 8, unprocessed jobs: 0 1635s # Pool idle thread count: 10, unprocessed jobs: 0 1635s # Pool idle thread count: 10, unprocessed jobs: 0 1635s # Pool idle thread count: 10, unprocessed jobs: 0 1635s # Pool idle thread count: 10, unprocessed jobs: 0 1636s # Pool idle thread count: 10, unprocessed jobs: 0 1636s # Pool idle thread count: 10, unprocessed jobs: 0 1636s # Pool idle thread count: 2, unprocessed jobs: 0 1636s # Pool idle thread count: 2, unprocessed jobs: 0 1637s # Pool idle thread count: 2, unprocessed jobs: 0 1637s # Pool idle thread count: 2, unprocessed jobs: 0 1637s # Pool idle thread count: 2, unprocessed jobs: 0 1637s # Pool idle thread count: 2, unprocessed jobs: 0 1638s # Pool idle thread count: 2, unprocessed jobs: 0 1638s # Pool idle thread count: 2, unprocessed jobs: 0 1638s # Pool idle thread count: 2, unprocessed jobs: 0 1638s # Pool idle thread count: 2, unprocessed jobs: 0 1639s # Pool idle thread count: 2, unprocessed jobs: 0 1639s # Pool idle thread count: 2, unprocessed jobs: 0 1639s # Executing: glib/thread-pool-slow.test 1639s # Pool idle thread count: 2, unprocessed jobs: 0 1639s # Pool idle thread count: 2, unprocessed jobs: 0 1640s # Pool idle thread count: 2, unprocessed jobs: 0 1640s # Pool idle thread count: 2, unprocessed jobs: 0 1640s # Pool idle thread count: 2, unprocessed jobs: 0 1640s # Pool idle thread count: 2, unprocessed jobs: 0 1641s # Pool idle thread count: 2, unprocessed jobs: 0 1641s # Pool idle thread count: 2, unprocessed jobs: 0 1641s # Pool idle thread count: 2, unprocessed jobs: 0 1641s # Pool idle thread count: 2, unprocessed jobs: 0 1642s # Pool idle thread count: 2, unprocessed jobs: 0 1642s # Pool idle thread count: 2, unprocessed jobs: 0 1642s # Pool idle thread count: 2, unprocessed jobs: 0 1642s # Pool idle thread count: 2, unprocessed jobs: 0 1643s # Pool idle thread count: 2, unprocessed jobs: 0 1643s # Pool idle thread count: 2, unprocessed jobs: 0 1643s # Pool idle thread count: 2, unprocessed jobs: 0 1643s # Pool idle thread count: 2, unprocessed jobs: 0 1644s # Pool idle thread count: 2, unprocessed jobs: 0 1644s # Pool idle thread count: 2, unprocessed jobs: 0 1644s # Executing: glib/thread-pool-slow.test 1644s # Pool idle thread count: 2, unprocessed jobs: 0 1644s # Pool idle thread count: 2, unprocessed jobs: 0 1645s ok 7 /threadpool/idle-time 1645s # slow test /threadpool/idle-time executed in 19.53 secs 1645s # End of threadpool tests 1645s ok - glib/thread-pool-slow.test 1645s # Running test: glib/thread.test 1645s TAP version 13 1645s # random seed: R02S568b146ac40ff8dca8035553b564d5fa 1645s 1..7 1645s # Start of thread tests 1645s ok 1 /thread/thread1 1645s ok 2 /thread/thread2 1645s ok 3 /thread/thread3 1645s ok 4 /thread/thread4 1645s ok 5 /thread/thread5 1645s ok 6 /thread/thread6 1645s ok 7 /thread/thread7 1645s # End of thread tests 1645s ok - glib/thread.test 1645s # Running test: glib/regex.test 1645s TAP version 13 1645s # random seed: R02S3f6a2bd528c746f4d74a52a684af060e 1645s 1..848 1645s # Start of regex tests 1645s ok 1 /regex/properties 1645s ok 2 /regex/class 1645s ok 3 /regex/lookahead 1645s ok 4 /regex/lookbehind 1645s ok 5 /regex/subpattern 1645s ok 6 /regex/condition 1645s ok 7 /regex/recursion 1645s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1645s ok 8 /regex/multiline 1645s ok 9 /regex/explicit-crlf 1645s ok 10 /regex/max-lookbehind 1645s ok 11 /regex/compile-errors 1645s ok 12 /regex/jit-unsupported-matching 1645s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1645s ok 13 /regex/unmatched-named-subpattern 1645s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1645s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1645s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1645s ok 14 /regex/compiled-regex-after-jit-failure 1645s # Start of new tests 1645s ok 15 /regex/new/1 1645s ok 16 /regex/new/2 1645s ok 17 /regex/new/3 1645s ok 18 /regex/new/4 1645s ok 19 /regex/new/5 1645s ok 20 /regex/new/6 1645s ok 21 /regex/new/7 1645s ok 22 /regex/new/8 1645s ok 23 /regex/new/9 1645s ok 24 /regex/new/10 1645s ok 25 /regex/new/11 1645s ok 26 /regex/new/12 1645s ok 27 /regex/new/13 1645s ok 28 /regex/new/14 1645s ok 29 /regex/new/15 1645s ok 30 /regex/new/16 1645s ok 31 /regex/new/17 1645s ok 32 /regex/new/18 1645s ok 33 /regex/new/19 1645s ok 34 /regex/new/71 1645s ok 35 /regex/new/80 1645s ok 36 /regex/new/82 1645s # End of new tests 1645s # Start of new-check-flags tests 1645s ok 37 /regex/new-check-flags/20 1645s ok 38 /regex/new-check-flags/21 1645s ok 39 /regex/new-check-flags/22 1645s ok 40 /regex/new-check-flags/23 1645s ok 41 /regex/new-check-flags/24 1645s ok 42 /regex/new-check-flags/25 1645s ok 43 /regex/new-check-flags/26 1645s ok 44 /regex/new-check-flags/27 1645s ok 45 /regex/new-check-flags/28 1645s ok 46 /regex/new-check-flags/29 1645s ok 47 /regex/new-check-flags/30 1645s ok 48 /regex/new-check-flags/31 1645s ok 49 /regex/new-check-flags/32 1645s ok 50 /regex/new-check-flags/33 1645s ok 51 /regex/new-check-flags/34 1645s ok 52 /regex/new-check-flags/35 1645s ok 53 /regex/new-check-flags/36 1645s # End of new-check-flags tests 1645s # Start of new-fail tests 1645s ok 54 /regex/new-fail/37 1645s ok 55 /regex/new-fail/38 1645s ok 56 /regex/new-fail/39 1645s ok 57 /regex/new-fail/40 1645s ok 58 /regex/new-fail/41 1645s ok 59 /regex/new-fail/42 1645s ok 60 /regex/new-fail/43 1645s ok 61 /regex/new-fail/44 1645s ok 62 /regex/new-fail/45 1645s ok 63 /regex/new-fail/46 1645s ok 64 /regex/new-fail/47 1645s ok 65 /regex/new-fail/48 1645s ok 66 /regex/new-fail/49 1645s ok 67 /regex/new-fail/50 1645s ok 68 /regex/new-fail/51 1645s ok 69 /regex/new-fail/52 1645s ok 70 /regex/new-fail/53 1645s ok 71 /regex/new-fail/54 1645s ok 72 /regex/new-fail/55 1645s ok 73 /regex/new-fail/56 1645s ok 74 /regex/new-fail/57 1645s ok 75 /regex/new-fail/58 1645s ok 76 /regex/new-fail/59 1645s ok 77 /regex/new-fail/60 1645s ok 78 /regex/new-fail/61 1645s ok 79 /regex/new-fail/62 1645s ok 80 /regex/new-fail/63 1645s ok 81 /regex/new-fail/64 1645s ok 82 /regex/new-fail/65 1645s ok 83 /regex/new-fail/66 1645s ok 84 /regex/new-fail/67 1645s ok 85 /regex/new-fail/68 1645s ok 86 /regex/new-fail/69 1645s ok 87 /regex/new-fail/70 1645s ok 88 /regex/new-fail/72 1645s ok 89 /regex/new-fail/73 1645s ok 90 /regex/new-fail/74 1645s ok 91 /regex/new-fail/75 1645s ok 92 /regex/new-fail/76 1645s ok 93 /regex/new-fail/77 1645s ok 94 /regex/new-fail/78 1645s ok 95 /regex/new-fail/79 1645s ok 96 /regex/new-fail/81 1645s ok 97 /regex/new-fail/83 1645s ok 98 /regex/new-fail/84 1645s ok 99 /regex/new-fail/85 1645s ok 100 /regex/new-fail/86 1645s ok 101 /regex/new-fail/87 1645s ok 102 /regex/new-fail/88 1645s ok 103 /regex/new-fail/89 1645s ok 104 /regex/new-fail/90 1645s ok 105 /regex/new-fail/91 1645s # End of new-fail tests 1645s # Start of match-simple tests 1645s ok 106 /regex/match-simple/92 1645s ok 107 /regex/match-simple/93 1645s ok 108 /regex/match-simple/94 1645s ok 109 /regex/match-simple/95 1645s ok 110 /regex/match-simple/96 1645s ok 111 /regex/match-simple/97 1645s ok 112 /regex/match-simple/98 1645s ok 113 /regex/match-simple/99 1645s ok 114 /regex/match-simple/100 1645s ok 115 /regex/match-simple/101 1645s ok 116 /regex/match-simple/102 1645s ok 117 /regex/match-simple/103 1645s ok 118 /regex/match-simple/104 1645s ok 119 /regex/match-simple/105 1645s ok 120 /regex/match-simple/106 1645s ok 121 /regex/match-simple/107 1645s ok 122 /regex/match-simple/108 1645s ok 123 /regex/match-simple/109 1645s ok 124 /regex/match-simple/110 1645s ok 125 /regex/match-simple/111 1645s ok 126 /regex/match-simple/112 1645s ok 127 /regex/match-simple/113 1645s ok 128 /regex/match-simple/114 1645s ok 129 /regex/match-simple/115 1645s ok 130 /regex/match-simple/116 1645s ok 131 /regex/match-simple/117 1645s ok 132 /regex/match-simple/118 1645s ok 133 /regex/match-simple/119 1645s ok 134 /regex/match-simple/120 1645s ok 135 /regex/match-simple/121 1645s ok 136 /regex/match-simple/122 1645s ok 137 /regex/match-simple/123 1645s ok 138 /regex/match-simple/124 1645s ok 139 /regex/match-simple/125 1645s ok 140 /regex/match-simple/126 1645s ok 141 /regex/match-simple/127 1645s ok 142 /regex/match-simple/128 1645s ok 143 /regex/match-simple/129 1645s ok 144 /regex/match-simple/130 1645s ok 145 /regex/match-simple/131 1645s ok 146 /regex/match-simple/132 1645s ok 147 /regex/match-simple/133 1645s ok 148 /regex/match-simple/134 1645s ok 149 /regex/match-simple/135 1645s ok 150 /regex/match-simple/136 1645s ok 151 /regex/match-simple/137 1645s ok 152 /regex/match-simple/138 1645s ok 153 /regex/match-simple/139 1645s ok 154 /regex/match-simple/140 1645s ok 155 /regex/match-simple/141 1645s ok 156 /regex/match-simple/142 1645s ok 157 /regex/match-simple/143 1645s ok 158 /regex/match-simple/144 1645s ok 159 /regex/match-simple/145 1645s ok 160 /regex/match-simple/146 1645s ok 161 /regex/match-simple/147 1645s ok 162 /regex/match-simple/148 1645s ok 163 /regex/match-simple/149 1645s ok 164 /regex/match-simple/150 1645s ok 165 /regex/match-simple/151 1645s ok 166 /regex/match-simple/152 1645s ok 167 /regex/match-simple/153 1645s ok 168 /regex/match-simple/154 1645s ok 169 /regex/match-simple/155 1645s ok 170 /regex/match-simple/156 1645s ok 171 /regex/match-simple/157 1645s ok 172 /regex/match-simple/158 1645s ok 173 /regex/match-simple/159 1645s ok 174 /regex/match-simple/160 1645s ok 175 /regex/match-simple/161 1645s ok 176 /regex/match-simple/162 1645s ok 177 /regex/match-simple/163 1645s ok 178 /regex/match-simple/164 1645s # End of match-simple tests 1645s # Start of match-simple-optimized tests 1645s ok 179 /regex/match-simple-optimized/92 1645s ok 180 /regex/match-simple-optimized/93 1645s ok 181 /regex/match-simple-optimized/94 1645s ok 182 /regex/match-simple-optimized/95 1645s ok 183 /regex/match-simple-optimized/96 1645s ok 184 /regex/match-simple-optimized/97 1645s ok 185 /regex/match-simple-optimized/98 1645s ok 186 /regex/match-simple-optimized/99 1645s ok 187 /regex/match-simple-optimized/100 1645s ok 188 /regex/match-simple-optimized/101 1645s ok 189 /regex/match-simple-optimized/102 1645s ok 190 /regex/match-simple-optimized/103 1645s ok 191 /regex/match-simple-optimized/104 1645s ok 192 /regex/match-simple-optimized/105 1645s ok 193 /regex/match-simple-optimized/106 1645s ok 194 /regex/match-simple-optimized/107 1645s ok 195 /regex/match-simple-optimized/108 1645s ok 196 /regex/match-simple-optimized/109 1645s ok 197 /regex/match-simple-optimized/110 1645s ok 198 /regex/match-simple-optimized/111 1645s ok 199 /regex/match-simple-optimized/112 1645s ok 200 /regex/match-simple-optimized/113 1645s ok 201 /regex/match-simple-optimized/114 1645s ok 202 /regex/match-simple-optimized/115 1645s ok 203 /regex/match-simple-optimized/116 1645s ok 204 /regex/match-simple-optimized/117 1645s ok 205 /regex/match-simple-optimized/118 1645s ok 206 /regex/match-simple-optimized/119 1645s ok 207 /regex/match-simple-optimized/120 1645s ok 208 /regex/match-simple-optimized/121 1645s ok 209 /regex/match-simple-optimized/122 1645s ok 210 /regex/match-simple-optimized/123 1645s ok 211 /regex/match-simple-optimized/124 1645s ok 212 /regex/match-simple-optimized/125 1645s ok 213 /regex/match-simple-optimized/126 1645s ok 214 /regex/match-simple-optimized/127 1645s ok 215 /regex/match-simple-optimized/128 1645s ok 216 /regex/match-simple-optimized/129 1645s ok 217 /regex/match-simple-optimized/130 1645s ok 218 /regex/match-simple-optimized/131 1645s ok 219 /regex/match-simple-optimized/132 1645s ok 220 /regex/match-simple-optimized/133 1645s ok 221 /regex/match-simple-optimized/134 1645s ok 222 /regex/match-simple-optimized/135 1645s ok 223 /regex/match-simple-optimized/136 1645s ok 224 /regex/match-simple-optimized/137 1645s ok 225 /regex/match-simple-optimized/138 1645s ok 226 /regex/match-simple-optimized/139 1645s ok 227 /regex/match-simple-optimized/140 1645s ok 228 /regex/match-simple-optimized/141 1645s ok 229 /regex/match-simple-optimized/142 1645s ok 230 /regex/match-simple-optimized/143 1645s ok 231 /regex/match-simple-optimized/144 1645s ok 232 /regex/match-simple-optimized/145 1645s ok 233 /regex/match-simple-optimized/146 1645s ok 234 /regex/match-simple-optimized/147 1645s ok 235 /regex/match-simple-optimized/148 1645s ok 236 /regex/match-simple-optimized/149 1645s ok 237 /regex/match-simple-optimized/150 1645s ok 238 /regex/match-simple-optimized/151 1645s ok 239 /regex/match-simple-optimized/152 1645s ok 240 /regex/match-simple-optimized/153 1645s ok 241 /regex/match-simple-optimized/154 1645s ok 242 /regex/match-simple-optimized/155 1645s ok 243 /regex/match-simple-optimized/156 1645s ok 244 /regex/match-simple-optimized/157 1645s ok 245 /regex/match-simple-optimized/158 1645s ok 246 /regex/match-simple-optimized/159 1645s ok 247 /regex/match-simple-optimized/160 1645s ok 248 /regex/match-simple-optimized/161 1645s ok 249 /regex/match-simple-optimized/162 1645s ok 250 /regex/match-simple-optimized/163 1645s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1645s ok 251 /regex/match-simple-optimized/164 1645s # End of match-simple-optimized tests 1645s # Start of match tests 1645s ok 252 /regex/match/165 1645s ok 253 /regex/match/166 1645s ok 254 /regex/match/167 1645s ok 255 /regex/match/168 1645s ok 256 /regex/match/169 1645s ok 257 /regex/match/170 1645s ok 258 /regex/match/171 1645s ok 259 /regex/match/172 1645s ok 260 /regex/match/173 1645s ok 261 /regex/match/174 1645s ok 262 /regex/match/175 1645s ok 263 /regex/match/176 1645s ok 264 /regex/match/177 1645s ok 265 /regex/match/178 1645s ok 266 /regex/match/179 1645s ok 267 /regex/match/180 1645s ok 268 /regex/match/181 1645s ok 269 /regex/match/182 1645s ok 270 /regex/match/183 1645s ok 271 /regex/match/184 1645s ok 272 /regex/match/185 1645s ok 273 /regex/match/186 1645s ok 274 /regex/match/187 1645s ok 275 /regex/match/188 1645s ok 276 /regex/match/189 1645s ok 277 /regex/match/190 1645s ok 278 /regex/match/191 1645s ok 279 /regex/match/192 1645s ok 280 /regex/match/193 1645s ok 281 /regex/match/194 1645s ok 282 /regex/match/195 1645s ok 283 /regex/match/196 1645s ok 284 /regex/match/197 1645s ok 285 /regex/match/198 1645s ok 286 /regex/match/199 1645s ok 287 /regex/match/200 1645s ok 288 /regex/match/201 1645s ok 289 /regex/match/202 1645s ok 290 /regex/match/203 1645s ok 291 /regex/match/204 1645s ok 292 /regex/match/205 1645s ok 293 /regex/match/206 1645s ok 294 /regex/match/207 1645s ok 295 /regex/match/208 1645s ok 296 /regex/match/209 1645s ok 297 /regex/match/210 1645s ok 298 /regex/match/211 1645s ok 299 /regex/match/212 1645s ok 300 /regex/match/213 1645s ok 301 /regex/match/214 1645s ok 302 /regex/match/215 1645s ok 303 /regex/match/216 1645s ok 304 /regex/match/217 1645s ok 305 /regex/match/218 1645s ok 306 /regex/match/219 1645s ok 307 /regex/match/220 1645s ok 308 /regex/match/221 1645s ok 309 /regex/match/222 1645s ok 310 /regex/match/223 1645s ok 311 /regex/match/224 1645s ok 312 /regex/match/225 1645s ok 313 /regex/match/226 1645s ok 314 /regex/match/227 1645s ok 315 /regex/match/228 1645s ok 316 /regex/match/229 1645s ok 317 /regex/match/230 1645s ok 318 /regex/match/231 1645s ok 319 /regex/match/232 1645s ok 320 /regex/match/233 1645s ok 321 /regex/match/234 1645s ok 322 /regex/match/235 1645s ok 323 /regex/match/236 1645s ok 324 /regex/match/237 1645s ok 325 /regex/match/238 1645s ok 326 /regex/match/239 1645s ok 327 /regex/match/240 1645s ok 328 /regex/match/241 1645s ok 329 /regex/match/242 1645s ok 330 /regex/match/243 1645s ok 331 /regex/match/244 1645s ok 332 /regex/match/245 1645s ok 333 /regex/match/246 1645s ok 334 /regex/match/partial281 1645s ok 335 /regex/match/partial282 1645s ok 336 /regex/match/partial283 1645s ok 337 /regex/match/partial284 1645s ok 338 /regex/match/partial285 1645s ok 339 /regex/match/partial286 1645s ok 340 /regex/match/partial287 1645s ok 341 /regex/match/partial288 1645s ok 342 /regex/match/partial289 1645s ok 343 /regex/match/partial290 1645s ok 344 /regex/match/partial291 1645s ok 345 /regex/match/partial292 1645s ok 346 /regex/match/partial293 1645s ok 347 /regex/match/partial294 1645s ok 348 /regex/match/partial295 1645s ok 349 /regex/match/partial296 1645s ok 350 /regex/match/partial297 1645s ok 351 /regex/match/partial298 1645s ok 352 /regex/match/partial299 1645s ok 353 /regex/match/partial300 1645s ok 354 /regex/match/partial301 1645s ok 355 /regex/match/partial302 1645s # Start of next0 tests 1645s ok 356 /regex/match/next0/247 1645s ok 357 /regex/match/next0/248 1645s ok 358 /regex/match/next0/249 1645s ok 359 /regex/match/next0/250 1645s # End of next0 tests 1645s # Start of next1 tests 1645s ok 360 /regex/match/next1/251 1645s ok 361 /regex/match/next1/252 1645s ok 362 /regex/match/next1/253 1645s ok 363 /regex/match/next1/254 1645s ok 364 /regex/match/next1/255 1645s # End of next1 tests 1645s # Start of next2 tests 1645s ok 365 /regex/match/next2/256 1645s ok 366 /regex/match/next2/257 1645s ok 367 /regex/match/next2/258 1645s ok 368 /regex/match/next2/259 1645s ok 369 /regex/match/next2/260 1645s ok 370 /regex/match/next2/261 1645s ok 371 /regex/match/next2/262 1645s ok 372 /regex/match/next2/263 1645s # End of next2 tests 1645s # Start of next3 tests 1645s ok 373 /regex/match/next3/264 1645s ok 374 /regex/match/next3/265 1645s ok 375 /regex/match/next3/266 1645s ok 376 /regex/match/next3/267 1645s ok 377 /regex/match/next3/268 1645s ok 378 /regex/match/next3/269 1645s # End of next3 tests 1645s # Start of next4 tests 1645s ok 379 /regex/match/next4/270 1645s # End of next4 tests 1645s # Start of count tests 1645s ok 380 /regex/match/count/271 1645s ok 381 /regex/match/count/272 1645s ok 382 /regex/match/count/273 1645s ok 383 /regex/match/count/274 1645s ok 384 /regex/match/count/275 1645s ok 385 /regex/match/count/276 1645s ok 386 /regex/match/count/277 1645s ok 387 /regex/match/count/278 1645s ok 388 /regex/match/count/279 1645s ok 389 /regex/match/count/280 1645s # End of count tests 1645s # Start of count-optimized tests 1645s ok 390 /regex/match/count-optimized/271 1645s ok 391 /regex/match/count-optimized/272 1645s ok 392 /regex/match/count-optimized/273 1645s ok 393 /regex/match/count-optimized/274 1645s ok 394 /regex/match/count-optimized/275 1645s ok 395 /regex/match/count-optimized/276 1645s ok 396 /regex/match/count-optimized/277 1645s ok 397 /regex/match/count-optimized/278 1645s ok 398 /regex/match/count-optimized/279 1645s ok 399 /regex/match/count-optimized/280 1645s # End of count-optimized tests 1645s # Start of partial-optimized tests 1645s ok 400 /regex/match/partial-optimized/281 1645s ok 401 /regex/match/partial-optimized/282 1645s ok 402 /regex/match/partial-optimized/283 1645s ok 403 /regex/match/partial-optimized/284 1645s ok 404 /regex/match/partial-optimized/285 1645s ok 405 /regex/match/partial-optimized/286 1645s ok 406 /regex/match/partial-optimized/287 1645s ok 407 /regex/match/partial-optimized/288 1645s ok 408 /regex/match/partial-optimized/289 1645s ok 409 /regex/match/partial-optimized/290 1645s ok 410 /regex/match/partial-optimized/291 1645s ok 411 /regex/match/partial-optimized/292 1645s ok 412 /regex/match/partial-optimized/293 1645s ok 413 /regex/match/partial-optimized/294 1645s ok 414 /regex/match/partial-optimized/295 1645s ok 415 /regex/match/partial-optimized/296 1645s ok 416 /regex/match/partial-optimized/297 1645s ok 417 /regex/match/partial-optimized/298 1645s ok 418 /regex/match/partial-optimized/299 1645s ok 419 /regex/match/partial-optimized/300 1645s ok 420 /regex/match/partial-optimized/301 1645s ok 421 /regex/match/partial-optimized/302 1645s # End of partial-optimized tests 1645s # Start of subpattern tests 1645s ok 422 /regex/match/subpattern/303 1645s ok 423 /regex/match/subpattern/304 1645s ok 424 /regex/match/subpattern/305 1645s ok 425 /regex/match/subpattern/306 1645s ok 426 /regex/match/subpattern/307 1645s ok 427 /regex/match/subpattern/308 1645s ok 428 /regex/match/subpattern/309 1645s ok 429 /regex/match/subpattern/310 1645s ok 430 /regex/match/subpattern/311 1645s ok 431 /regex/match/subpattern/312 1645s ok 432 /regex/match/subpattern/313 1645s ok 433 /regex/match/subpattern/314 1645s ok 434 /regex/match/subpattern/315 1645s # Start of named tests 1645s # Start of dupnames tests 1645s ok 435 /regex/match/subpattern/named/dupnames/325 1645s ok 436 /regex/match/subpattern/named/dupnames/326 1645s ok 437 /regex/match/subpattern/named/dupnames/327 1645s ok 438 /regex/match/subpattern/named/dupnames/328 1645s ok 439 /regex/match/subpattern/named/dupnames/329 1645s # End of dupnames tests 1645s # End of named tests 1645s # End of subpattern tests 1645s # Start of subpattern-optimized tests 1645s ok 440 /regex/match/subpattern-optimized/303 1645s ok 441 /regex/match/subpattern-optimized/304 1645s ok 442 /regex/match/subpattern-optimized/305 1645s ok 443 /regex/match/subpattern-optimized/306 1645s ok 444 /regex/match/subpattern-optimized/307 1645s ok 445 /regex/match/subpattern-optimized/308 1645s ok 446 /regex/match/subpattern-optimized/309 1645s ok 447 /regex/match/subpattern-optimized/310 1645s ok 448 /regex/match/subpattern-optimized/311 1645s ok 449 /regex/match/subpattern-optimized/312 1645s ok 450 /regex/match/subpattern-optimized/313 1645s ok 451 /regex/match/subpattern-optimized/314 1645s ok 452 /regex/match/subpattern-optimized/315 1645s # End of subpattern-optimized tests 1645s # Start of named tests 1645s # Start of subpattern tests 1645s ok 453 /regex/match/named/subpattern/316 1645s ok 454 /regex/match/named/subpattern/317 1645s ok 455 /regex/match/named/subpattern/318 1645s ok 456 /regex/match/named/subpattern/319 1645s ok 457 /regex/match/named/subpattern/320 1645s ok 458 /regex/match/named/subpattern/321 1645s ok 459 /regex/match/named/subpattern/322 1645s ok 460 /regex/match/named/subpattern/323 1645s ok 461 /regex/match/named/subpattern/324 1645s ok 462 /regex/match/named/subpattern/330 1645s ok 463 /regex/match/named/subpattern/331 1645s ok 464 /regex/match/named/subpattern/332 1645s ok 465 /regex/match/named/subpattern/333 1645s ok 466 /regex/match/named/subpattern/334 1645s # End of subpattern tests 1645s # End of named tests 1645s # End of match tests 1645s # Start of match-optimized tests 1645s ok 467 /regex/match-optimized/165 1645s ok 468 /regex/match-optimized/166 1645s ok 469 /regex/match-optimized/167 1645s ok 470 /regex/match-optimized/168 1645s ok 471 /regex/match-optimized/169 1645s ok 472 /regex/match-optimized/170 1645s ok 473 /regex/match-optimized/171 1645s ok 474 /regex/match-optimized/172 1645s ok 475 /regex/match-optimized/173 1645s ok 476 /regex/match-optimized/174 1645s ok 477 /regex/match-optimized/175 1645s ok 478 /regex/match-optimized/176 1645s ok 479 /regex/match-optimized/177 1645s ok 480 /regex/match-optimized/178 1645s ok 481 /regex/match-optimized/179 1645s ok 482 /regex/match-optimized/180 1645s ok 483 /regex/match-optimized/181 1645s ok 484 /regex/match-optimized/182 1645s ok 485 /regex/match-optimized/183 1645s ok 486 /regex/match-optimized/184 1645s ok 487 /regex/match-optimized/185 1645s ok 488 /regex/match-optimized/186 1645s ok 489 /regex/match-optimized/187 1645s ok 490 /regex/match-optimized/188 1645s ok 491 /regex/match-optimized/189 1645s ok 492 /regex/match-optimized/190 1645s ok 493 /regex/match-optimized/191 1645s ok 494 /regex/match-optimized/192 1645s ok 495 /regex/match-optimized/193 1645s ok 496 /regex/match-optimized/194 1645s ok 497 /regex/match-optimized/195 1645s ok 498 /regex/match-optimized/196 1645s ok 499 /regex/match-optimized/197 1645s ok 500 /regex/match-optimized/198 1645s ok 501 /regex/match-optimized/199 1645s ok 502 /regex/match-optimized/200 1645s ok 503 /regex/match-optimized/201 1645s ok 504 /regex/match-optimized/202 1645s ok 505 /regex/match-optimized/203 1645s ok 506 /regex/match-optimized/204 1645s ok 507 /regex/match-optimized/205 1645s ok 508 /regex/match-optimized/206 1645s ok 509 /regex/match-optimized/207 1645s ok 510 /regex/match-optimized/208 1645s ok 511 /regex/match-optimized/209 1645s ok 512 /regex/match-optimized/210 1645s ok 513 /regex/match-optimized/211 1645s ok 514 /regex/match-optimized/212 1645s ok 515 /regex/match-optimized/213 1645s ok 516 /regex/match-optimized/214 1645s ok 517 /regex/match-optimized/215 1645s ok 518 /regex/match-optimized/216 1645s ok 519 /regex/match-optimized/217 1645s ok 520 /regex/match-optimized/218 1645s ok 521 /regex/match-optimized/219 1645s ok 522 /regex/match-optimized/220 1645s ok 523 /regex/match-optimized/221 1645s ok 524 /regex/match-optimized/222 1645s ok 525 /regex/match-optimized/223 1645s ok 526 /regex/match-optimized/224 1645s ok 527 /regex/match-optimized/225 1645s ok 528 /regex/match-optimized/226 1645s ok 529 /regex/match-optimized/227 1645s ok 530 /regex/match-optimized/228 1645s ok 531 /regex/match-optimized/229 1645s ok 532 /regex/match-optimized/230 1645s ok 533 /regex/match-optimized/231 1645s ok 534 /regex/match-optimized/232 1645s ok 535 /regex/match-optimized/233 1645s ok 536 /regex/match-optimized/234 1645s ok 537 /regex/match-optimized/235 1645s ok 538 /regex/match-optimized/236 1645s ok 539 /regex/match-optimized/237 1645s ok 540 /regex/match-optimized/238 1645s ok 541 /regex/match-optimized/239 1645s ok 542 /regex/match-optimized/240 1645s ok 543 /regex/match-optimized/241 1645s ok 544 /regex/match-optimized/242 1645s ok 545 /regex/match-optimized/243 1645s ok 546 /regex/match-optimized/244 1645s ok 547 /regex/match-optimized/245 1645s ok 548 /regex/match-optimized/246 1645s # End of match-optimized tests 1645s # Start of fetch-all0 tests 1645s ok 549 /regex/fetch-all0/335 1645s ok 550 /regex/fetch-all0/336 1645s # End of fetch-all0 tests 1645s # Start of fetch-all1 tests 1645s ok 551 /regex/fetch-all1/337 1645s ok 552 /regex/fetch-all1/338 1645s ok 553 /regex/fetch-all1/339 1645s # End of fetch-all1 tests 1645s # Start of fetch-all2 tests 1645s ok 554 /regex/fetch-all2/340 1645s ok 555 /regex/fetch-all2/341 1645s ok 556 /regex/fetch-all2/342 1645s # End of fetch-all2 tests 1645s # Start of fetch-all3 tests 1645s ok 557 /regex/fetch-all3/343 1645s ok 558 /regex/fetch-all3/344 1645s ok 559 /regex/fetch-all3/345 1645s ok 560 /regex/fetch-all3/346 1645s ok 561 /regex/fetch-all3/347 1645s # End of fetch-all3 tests 1645s # Start of split tests 1645s # Start of simple0 tests 1645s ok 562 /regex/split/simple0/348 1645s ok 563 /regex/split/simple0/349 1645s ok 564 /regex/split/simple0/364 1645s ok 565 /regex/split/simple0/365 1645s # End of simple0 tests 1645s # Start of simple1 tests 1645s ok 566 /regex/split/simple1/350 1645s ok 567 /regex/split/simple1/351 1645s # End of simple1 tests 1645s # Start of simple2 tests 1645s ok 568 /regex/split/simple2/352 1645s ok 569 /regex/split/simple2/358 1645s ok 570 /regex/split/simple2/360 1645s # End of simple2 tests 1645s # Start of simple3 tests 1645s ok 571 /regex/split/simple3/353 1645s ok 572 /regex/split/simple3/354 1645s ok 573 /regex/split/simple3/355 1645s ok 574 /regex/split/simple3/356 1645s ok 575 /regex/split/simple3/357 1645s ok 576 /regex/split/simple3/359 1645s ok 577 /regex/split/simple3/361 1645s ok 578 /regex/split/simple3/362 1645s ok 579 /regex/split/simple3/363 1645s # End of simple3 tests 1645s # End of split tests 1645s # Start of split0 tests 1645s ok 580 /regex/split0/366 1645s ok 581 /regex/split0/368 1645s # End of split0 tests 1645s # Start of full-split0 tests 1645s ok 582 /regex/full-split0/367 1645s ok 583 /regex/full-split0/369 1645s ok 584 /regex/full-split0/370 1645s ok 585 /regex/full-split0/371 1645s ok 586 /regex/full-split0/372 1645s # End of full-split0 tests 1645s # Start of split1 tests 1645s ok 587 /regex/split1/373 1645s ok 588 /regex/split1/376 1645s # End of split1 tests 1645s # Start of full-split1 tests 1645s ok 589 /regex/full-split1/374 1645s ok 590 /regex/full-split1/375 1645s ok 591 /regex/full-split1/377 1645s ok 592 /regex/full-split1/378 1645s ok 593 /regex/full-split1/404 1645s # End of full-split1 tests 1645s # Start of split2 tests 1645s ok 594 /regex/split2/379 1645s ok 595 /regex/split2/383 1645s ok 596 /regex/split2/395 1645s # End of split2 tests 1645s # Start of full-split2 tests 1645s ok 597 /regex/full-split2/380 1645s ok 598 /regex/full-split2/381 1645s ok 599 /regex/full-split2/382 1645s ok 600 /regex/full-split2/384 1645s ok 601 /regex/full-split2/396 1645s ok 602 /regex/full-split2/399 1645s ok 603 /regex/full-split2/405 1645s # End of full-split2 tests 1645s # Start of split3 tests 1645s ok 604 /regex/split3/385 1645s ok 605 /regex/split3/387 1645s ok 606 /regex/split3/389 1645s ok 607 /regex/split3/391 1645s ok 608 /regex/split3/393 1645s ok 609 /regex/split3/397 1645s ok 610 /regex/split3/400 1645s ok 611 /regex/split3/402 1645s # End of split3 tests 1645s # Start of full-split3 tests 1645s ok 612 /regex/full-split3/386 1645s ok 613 /regex/full-split3/388 1645s ok 614 /regex/full-split3/390 1645s ok 615 /regex/full-split3/392 1645s ok 616 /regex/full-split3/394 1645s ok 617 /regex/full-split3/398 1645s ok 618 /regex/full-split3/401 1645s ok 619 /regex/full-split3/403 1645s ok 620 /regex/full-split3/406 1645s ok 621 /regex/full-split3/407 1645s # End of full-split3 tests 1645s # Start of check-repacement tests 1645s ok 622 /regex/check-repacement/408 1645s ok 623 /regex/check-repacement/409 1645s ok 624 /regex/check-repacement/410 1645s ok 625 /regex/check-repacement/411 1645s ok 626 /regex/check-repacement/412 1645s ok 627 /regex/check-repacement/413 1645s ok 628 /regex/check-repacement/414 1645s ok 629 /regex/check-repacement/415 1645s # End of check-repacement tests 1645s # Start of expand tests 1645s ok 630 /regex/expand/416 1645s ok 631 /regex/expand/417 1645s ok 632 /regex/expand/418 1645s ok 633 /regex/expand/419 1645s ok 634 /regex/expand/420 1645s ok 635 /regex/expand/421 1645s ok 636 /regex/expand/422 1645s ok 637 /regex/expand/423 1645s ok 638 /regex/expand/424 1645s ok 639 /regex/expand/425 1645s ok 640 /regex/expand/426 1645s ok 641 /regex/expand/427 1645s ok 642 /regex/expand/428 1645s ok 643 /regex/expand/429 1645s ok 644 /regex/expand/430 1645s ok 645 /regex/expand/431 1645s ok 646 /regex/expand/432 1645s ok 647 /regex/expand/433 1645s ok 648 /regex/expand/434 1645s ok 649 /regex/expand/435 1645s ok 650 /regex/expand/436 1645s ok 651 /regex/expand/437 1645s ok 652 /regex/expand/438 1645s ok 653 /regex/expand/439 1645s ok 654 /regex/expand/440 1645s ok 655 /regex/expand/441 1645s ok 656 /regex/expand/442 1645s ok 657 /regex/expand/443 1645s ok 658 /regex/expand/444 1645s ok 659 /regex/expand/445 1645s ok 660 /regex/expand/446 1645s ok 661 /regex/expand/447 1645s ok 662 /regex/expand/448 1645s ok 663 /regex/expand/449 1645s ok 664 /regex/expand/450 1645s ok 665 /regex/expand/451 1645s ok 666 /regex/expand/452 1645s ok 667 /regex/expand/453 1645s ok 668 /regex/expand/454 1645s ok 669 /regex/expand/455 1645s ok 670 /regex/expand/456 1645s ok 671 /regex/expand/457 1645s ok 672 /regex/expand/458 1645s ok 673 /regex/expand/459 1645s ok 674 /regex/expand/460 1645s ok 675 /regex/expand/461 1645s ok 676 /regex/expand/462 1645s ok 677 /regex/expand/463 1645s ok 678 /regex/expand/464 1645s ok 679 /regex/expand/465 1645s ok 680 /regex/expand/466 1645s ok 681 /regex/expand/467 1645s ok 682 /regex/expand/468 1645s ok 683 /regex/expand/469 1645s ok 684 /regex/expand/470 1645s ok 685 /regex/expand/471 1645s ok 686 /regex/expand/472 1645s ok 687 /regex/expand/473 1645s ok 688 /regex/expand/474 1645s ok 689 /regex/expand/475 1645s ok 690 /regex/expand/476 1645s ok 691 /regex/expand/477 1645s ok 692 /regex/expand/478 1645s ok 693 /regex/expand/479 1645s ok 694 /regex/expand/480 1645s ok 695 /regex/expand/481 1645s # End of expand tests 1645s # Start of replace tests 1645s ok 696 /regex/replace/482 1645s ok 697 /regex/replace/483 1645s ok 698 /regex/replace/484 1645s ok 699 /regex/replace/485 1645s ok 700 /regex/replace/486 1645s ok 701 /regex/replace/487 1645s ok 702 /regex/replace/488 1645s ok 703 /regex/replace/489 1645s ok 704 /regex/replace/490 1645s ok 705 /regex/replace/491 1645s ok 706 /regex/replace/492 1645s ok 707 /regex/replace/493 1645s ok 708 /regex/replace/494 1645s ok 709 /regex/replace/495 1645s ok 710 /regex/replace/496 1645s ok 711 /regex/replace/497 1645s ok 712 /regex/replace/498 1645s ok 713 /regex/replace/499 1645s ok 714 /regex/replace/500 1645s ok 715 /regex/replace/501 1645s ok 716 /regex/replace/502 1645s ok 717 /regex/replace/503 1645s ok 718 /regex/replace/504 1645s ok 719 /regex/replace/505 1645s ok 720 /regex/replace/506 1645s ok 721 /regex/replace/507 1645s ok 722 /regex/replace/508 1645s ok 723 /regex/replace/509 1645s # End of replace tests 1645s # Start of replace-optimized tests 1645s ok 724 /regex/replace-optimized/482 1645s ok 725 /regex/replace-optimized/483 1645s ok 726 /regex/replace-optimized/484 1645s ok 727 /regex/replace-optimized/485 1645s ok 728 /regex/replace-optimized/486 1645s ok 729 /regex/replace-optimized/487 1645s ok 730 /regex/replace-optimized/488 1645s ok 731 /regex/replace-optimized/489 1645s ok 732 /regex/replace-optimized/490 1645s ok 733 /regex/replace-optimized/491 1645s ok 734 /regex/replace-optimized/492 1645s ok 735 /regex/replace-optimized/493 1645s ok 736 /regex/replace-optimized/494 1645s ok 737 /regex/replace-optimized/495 1645s ok 738 /regex/replace-optimized/496 1645s ok 739 /regex/replace-optimized/497 1645s ok 740 /regex/replace-optimized/498 1645s ok 741 /regex/replace-optimized/499 1645s ok 742 /regex/replace-optimized/500 1645s ok 743 /regex/replace-optimized/501 1645s ok 744 /regex/replace-optimized/502 1645s ok 745 /regex/replace-optimized/503 1645s ok 746 /regex/replace-optimized/504 1645s ok 747 /regex/replace-optimized/505 1645s ok 748 /regex/replace-optimized/506 1645s ok 749 /regex/replace-optimized/507 1645s ok 750 /regex/replace-optimized/508 1645s ok 751 /regex/replace-optimized/509 1645s # End of replace-optimized tests 1645s # Start of replace-literally tests 1645s ok 752 /regex/replace-literally/510 1645s ok 753 /regex/replace-literally/511 1645s ok 754 /regex/replace-literally/512 1645s ok 755 /regex/replace-literally/513 1645s ok 756 /regex/replace-literally/514 1645s ok 757 /regex/replace-literally/515 1645s ok 758 /regex/replace-literally/516 1645s ok 759 /regex/replace-literally/517 1645s ok 760 /regex/replace-literally/518 1645s ok 761 /regex/replace-literally/519 1645s ok 762 /regex/replace-literally/520 1645s ok 763 /regex/replace-literally/521 1645s ok 764 /regex/replace-literally/522 1645s ok 765 /regex/replace-literally/523 1645s ok 766 /regex/replace-literally/524 1645s ok 767 /regex/replace-literally/525 1645s ok 768 /regex/replace-literally/526 1645s ok 769 /regex/replace-literally/527 1645s ok 770 /regex/replace-literally/528 1645s ok 771 /regex/replace-literally/529 1645s # End of replace-literally tests 1645s # Start of string-number tests 1645s ok 772 /regex/string-number/530 1645s ok 773 /regex/string-number/531 1645s ok 774 /regex/string-number/532 1645s ok 775 /regex/string-number/533 1645s ok 776 /regex/string-number/534 1645s ok 777 /regex/string-number/535 1645s ok 778 /regex/string-number/536 1645s ok 779 /regex/string-number/537 1645s ok 780 /regex/string-number/538 1645s ok 781 /regex/string-number/539 1645s ok 782 /regex/string-number/540 1645s ok 783 /regex/string-number/541 1645s ok 784 /regex/string-number/542 1645s ok 785 /regex/string-number/543 1645s ok 786 /regex/string-number/544 1645s # End of string-number tests 1645s # Start of escape_nul tests 1645s ok 787 /regex/escape_nul/545 1645s ok 788 /regex/escape_nul/546 1645s ok 789 /regex/escape_nul/547 1645s ok 790 /regex/escape_nul/548 1645s ok 791 /regex/escape_nul/549 1645s ok 792 /regex/escape_nul/550 1645s ok 793 /regex/escape_nul/551 1645s ok 794 /regex/escape_nul/552 1645s ok 795 /regex/escape_nul/553 1645s ok 796 /regex/escape_nul/554 1645s ok 797 /regex/escape_nul/555 1645s ok 798 /regex/escape_nul/556 1645s ok 799 /regex/escape_nul/557 1645s ok 800 /regex/escape_nul/558 1645s ok 801 /regex/escape_nul/559 1645s # End of escape_nul tests 1645s # Start of escape tests 1645s ok 802 /regex/escape/560 1645s ok 803 /regex/escape/561 1645s ok 804 /regex/escape/562 1645s ok 805 /regex/escape/563 1645s ok 806 /regex/escape/564 1645s ok 807 /regex/escape/565 1645s ok 808 /regex/escape/566 1645s ok 809 /regex/escape/567 1645s ok 810 /regex/escape/568 1645s ok 811 /regex/escape/569 1645s ok 812 /regex/escape/570 1645s ok 813 /regex/escape/571 1645s ok 814 /regex/escape/572 1645s ok 815 /regex/escape/573 1645s ok 816 /regex/escape/574 1645s ok 817 /regex/escape/575 1645s ok 818 /regex/escape/576 1645s ok 819 /regex/escape/577 1645s # End of escape tests 1645s # Start of match-all0 tests 1645s ok 820 /regex/match-all0/578 1645s ok 821 /regex/match-all0/580 1645s # End of match-all0 tests 1645s # Start of match-all-full0 tests 1645s ok 822 /regex/match-all-full0/579 1645s ok 823 /regex/match-all-full0/581 1645s ok 824 /regex/match-all-full0/582 1645s ok 825 /regex/match-all-full0/583 1645s # End of match-all-full0 tests 1645s # Start of match-all1 tests 1645s ok 826 /regex/match-all1/584 1645s ok 827 /regex/match-all1/586 1645s ok 828 /regex/match-all1/591 1645s # End of match-all1 tests 1645s # Start of match-all-full1 tests 1645s ok 829 /regex/match-all-full1/585 1645s ok 830 /regex/match-all-full1/587 1645s ok 831 /regex/match-all-full1/588 1645s ok 832 /regex/match-all-full1/589 1645s ok 833 /regex/match-all-full1/590 1645s ok 834 /regex/match-all-full1/592 1645s # End of match-all-full1 tests 1645s # Start of match-all2 tests 1645s ok 835 /regex/match-all2/593 1645s ok 836 /regex/match-all2/595 1645s ok 837 /regex/match-all2/597 1645s # End of match-all2 tests 1645s # Start of match-all-full2 tests 1645s ok 838 /regex/match-all-full2/594 1645s ok 839 /regex/match-all-full2/596 1645s ok 840 /regex/match-all-full2/598 1645s # End of match-all-full2 tests 1645s # Start of match-all3 tests 1645s ok 841 /regex/match-all3/599 1645s ok 842 /regex/match-all3/601 1645s # End of match-all3 tests 1645s # Start of match-all-full3 tests 1645s ok 843 /regex/match-all-full3/600 1645s ok 844 /regex/match-all-full3/602 1645s # End of match-all-full3 tests 1645s # Start of match-notempty tests 1645s ok 845 /regex/match-notempty/603 1645s # End of match-notempty tests 1645s # Start of match-notempty-optimized tests 1645s ok 846 /regex/match-notempty-optimized/603 1645s # End of match-notempty-optimized tests 1645s # Start of match-notempty-atstart tests 1645s ok 847 /regex/match-notempty-atstart/604 1645s # End of match-notempty-atstart tests 1645s # Start of match-notempty-atstart-optimized tests 1645s ok 848 /regex/match-notempty-atstart-optimized/604 1645s # End of match-notempty-atstart-optimized tests 1645s # End of regex tests 1645s ok - glib/regex.test 1645s # Running test: glib/642026.test 1645s TAP version 13 1645s # random seed: R02S97b50e29828ed19a801dd77bf114f9eb 1645s 1..1 1645s # Start of glib tests 1645s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1645s ok 1 /glib/642026 1645s # End of glib tests 1645s ok - glib/642026.test 1645s # Running test: glib/g-file-info.test 1645s TAP version 13 1645s # random seed: R02Sd75b6d022d3ee64c1cf2299b72b361d1 1645s 1..6 1645s # Start of g-file-info tests 1645s ok 1 /g-file-info/test_g_file_info 1645s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1645s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1645s ok 2 /g-file-info/xattrs 1645s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1645s ok 3 /g-file-info/set-modified-date-time-precision 1645s # Start of test_g_file_info tests 1645s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1645s ok 4 /g-file-info/test_g_file_info/modification-time 1645s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1645s ok 5 /g-file-info/test_g_file_info/access-time 1645s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1645s ok 6 /g-file-info/test_g_file_info/creation-time 1645s # End of test_g_file_info tests 1645s # End of g-file-info tests 1645s ok - glib/g-file-info.test 1645s # Running test: glib/unicode-encoding.test 1645s TAP version 13 1645s # random seed: R02Sd068c19cd7c108f94bfc6729a157d9ef 1645s 1..1 1645s # Start of unicode tests 1645s ok 1 /unicode/encoding 1645s # End of unicode tests 1645s ok - glib/unicode-encoding.test 1645s # Running test: glib/thread-pool.test 1645s TAP version 13 1645s # random seed: R02S2c9abbca08c51591c797b18e665db5fa 1645s 1..5 1645s # Start of thread_pool tests 1645s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1645s ok 1 /thread_pool/shared 1645s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1645s ok 2 /thread_pool/exclusive 1645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1645s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1645s ok 3 /thread_pool/create_shared_after_exclusive 1645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1645s ok 4 /thread_pool/create_full 1645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1645s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1645s ok 5 /thread_pool/create_exclusive_after_shared 1645s # End of thread_pool tests 1645s ok - glib/thread-pool.test 1645s # Running test: glib/cache.test 1645s TAP version 13 1645s # random seed: R02S257d8f10dd8d6f1e760013dad3289561 1645s 1..1 1645s # Start of cache tests 1645s ok 1 /cache/basic 1645s # End of cache tests 1645s ok - glib/cache.test 1645s # Running test: glib/portal-support-snap-classic.test 1645s TAP version 13 1645s # random seed: R02S56306dc0f4a42b67bb0f2c4233a2e5e0 1645s 1..3 1645s # Start of portal-support tests 1645s # Start of snap-classic tests 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/no-snapctl/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/no-snapctl/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/no-snapctl/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/no-snapctl/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/no-snapctl/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1645s ok 1 /portal-support/snap-classic/no-snapctl 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/none/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/none/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/none/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/none/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/none/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/none/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/none/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/none/.dirs/runtime 1645s # Created snap.yaml in /tmp/test_portal-support-snap-classic_SZCMK2/meta/snap.yaml 1645s # Created snapctl in /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1645s ok 2 /portal-support/snap-classic/none 1645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/all/.dirs/home 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/all/.dirs/cache 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/all/.dirs/system-config2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/all/.dirs/config 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/all/.dirs/system-data2 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/all/.dirs/data 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/all/.dirs/state 1645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/all/.dirs/runtime 1645s # Created snap.yaml in /tmp/test_portal-support-snap-classic_SZCMK2/meta/snap.yaml 1645s # Created snapctl in /tmp/test_portal-support-snap-classic_SZCMK2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1645s ok 3 /portal-support/snap-classic/all 1645s # End of snap-classic tests 1645s # End of portal-support tests 1645s ok - glib/portal-support-snap-classic.test 1645s # Running test: glib/genmarshal.py.test 1646s TAP version 13 1646s ok 1 __main__.TestGenmarshal.test_empty_list 1646s # tmpdir: /tmp/tmpgb98pa_w 1646s # genmarshal: /usr/bin/glib-genmarshal 1646s # /tmp/tmpgb98pa_w/tmpp6h_cqk4.list: 1646s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpgb98pa_w/tmpp6h_cqk4.list', '--header', '--quiet'] 1646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1646s # 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. */ 1646s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1646s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1646s # 1646s # #include 1646s # 1646s # G_BEGIN_DECLS 1646s # 1646s # 1646s # G_END_DECLS 1646s # 1646s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1646s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpgb98pa_w/tmpp6h_cqk4.list', '--body', '--quiet'] 1646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1646s # 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. */ 1646s # #include 1646s # 1646s # #ifdef G_ENABLE_DEBUG 1646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1646s # #else /* !G_ENABLE_DEBUG */ 1646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1646s # * Do not access GValues directly in your code. Instead, use the 1646s # * g_value_get_*() functions 1646s # */ 1646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1646s # #endif /* !G_ENABLE_DEBUG */ 1646s ok 2 __main__.TestGenmarshal.test_help 1646s # tmpdir: /tmp/tmpqhdp75fx 1646s # genmarshal: /usr/bin/glib-genmarshal 1646s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1646s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1646s # [--internal] [--valist-marshallers] [-v] 1646s # [--g-fatal-warnings] [--include-header [HEADER]] 1646s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1646s # [--prototypes] [--header] [--body] 1646s # [--stdinc | --nostdinc] [--quiet | --verbose] 1646s # [FILE ...] 1646s # 1646s # Generate signal marshallers for GObject 1646s # 1646s # positional arguments: 1646s # FILE Files with lists of marshallers to generate, or "-" 1646s # for standard input 1646s # 1646s # options: 1646s # -h, --help show this help message and exit 1646s # --prefix STRING Specify marshaller prefix 1646s # --output FILE Write output into the specified file 1646s # --skip-source Skip source location comments 1646s # --internal Mark generated functions as internal 1646s # --valist-marshallers Generate va_list marshallers 1646s # -v, --version Print version information, and exit 1646s # --g-fatal-warnings Make warnings fatal 1646s # --include-header [HEADER] 1646s # Include the specified header in the body 1646s # --pragma-once Use "pragma once" as the inclusion guard 1646s # -D CPP_DEFINES Pre-processor define 1646s # -U CPP_UNDEFINES Pre-processor undefine 1646s # --prototypes Generate the marshallers prototype in the C code 1646s # --header Generate C headers 1646s # --body Generate C code 1646s # --stdinc Include standard marshallers 1646s # --nostdinc Use standard marshallers 1646s # --quiet Only print warnings and errors 1646s # --verbose Be verbose, and include debugging information 1646s ok 3 __main__.TestGenmarshal.test_no_args 1646s # tmpdir: /tmp/tmpgk3y3j24 1646s # genmarshal: /usr/bin/glib-genmarshal 1646s # Running: ['/usr/bin/glib-genmarshal'] 1646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1646s # Output: 1646s ok 4 __main__.TestGenmarshal.test_void_boolean 1646s # tmpdir: /tmp/tmpz57x8mcg 1646s # genmarshal: /usr/bin/glib-genmarshal 1646s # /tmp/tmpz57x8mcg/tmpde7brw29.list: VOID:BOOLEAN 1646s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpz57x8mcg/tmpde7brw29.list', '--header', '--quiet'] 1646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1646s # 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. */ 1646s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1646s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1646s # 1646s # #include 1646s # 1646s # G_BEGIN_DECLS 1646s # 1646s # /* VOID:BOOLEAN (/tmp/tmpz57x8mcg/tmpde7brw29.list:1) */ 1646s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1646s # 1646s # 1646s # G_END_DECLS 1646s # 1646s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1646s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpz57x8mcg/tmpde7brw29.list', '--body', '--quiet'] 1646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1646s # 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. */ 1646s # #include 1646s # 1646s # #ifdef G_ENABLE_DEBUG 1646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1646s # #else /* !G_ENABLE_DEBUG */ 1646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1646s # * Do not access GValues directly in your code. Instead, use the 1646s # * g_value_get_*() functions 1646s # */ 1646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1646s # #endif /* !G_ENABLE_DEBUG */ 1646s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1646s # tmpdir: /tmp/tmpcmql4vm4 1646s # genmarshal: /usr/bin/glib-genmarshal 1646s # /tmp/tmpcmql4vm4/tmp61cuk6te.list: VOID:BOOLEAN,INT64 1646s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpcmql4vm4/tmp61cuk6te.list', '--header', '--quiet'] 1646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1646s # 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. */ 1646s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1646s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1646s # 1646s # #include 1646s # 1646s # G_BEGIN_DECLS 1646s # 1646s # /* VOID:BOOLEAN,INT64 (/tmp/tmpcmql4vm4/tmp61cuk6te.list:1) */ 1646s # extern 1646s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1646s # GValue *return_value, 1646s # guint n_param_values, 1646s # const GValue *param_values, 1646s # gpointer invocation_hint, 1646s # gpointer marshal_data); 1646s # 1646s # 1646s # G_END_DECLS 1646s # 1646s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1646s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpcmql4vm4/tmp61cuk6te.list', '--body', '--quiet'] 1646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1646s # 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. */ 1646s # #include 1646s # 1646s # #ifdef G_ENABLE_DEBUG 1646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1646s # #else /* !G_ENABLE_DEBUG */ 1646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1646s # * Do not access GValues directly in your code. Instead, use the 1646s # * g_value_get_*() functions 1646s # */ 1646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1646s # #endif /* !G_ENABLE_DEBUG */ 1646s # 1646s # /* VOID:BOOLEAN,INT64 (/tmp/tmpcmql4vm4/tmp61cuk6te.list:1) */ 1646s # void 1646s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1646s # GValue *return_value G_GNUC_UNUSED, 1646s # guint n_param_values, 1646s # const GValue *param_values, 1646s # gpointer invocation_hint G_GNUC_UNUSED, 1646s # gpointer marshal_data) 1646s # { 1646s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1646s # gboolean arg1, 1646s # gint64 arg2, 1646s # gpointer data2); 1646s # GCClosure *cc = (GCClosure *) closure; 1646s # gpointer data1, data2; 1646s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1646s # 1646s # g_return_if_fail (n_param_values == 3); 1646s # 1646s # if (G_CCLOSURE_SWAP_DATA (closure)) 1646s # { 1646s # data1 = closure->data; 1646s # data2 = g_value_peek_pointer (param_values + 0); 1646s # } 1646s # else 1646s # { 1646s # data1 = g_value_peek_pointer (param_values + 0); 1646s # data2 = closure->data; 1646s # } 1646s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1646s # 1646s # callback (data1, 1646s # g_marshal_value_peek_boolean (param_values + 1), 1646s # g_marshal_value_peek_int64 (param_values + 2), 1646s # data2); 1646s # } 1646s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1646s # tmpdir: /tmp/tmp5yxpx5zt 1646s # genmarshal: /usr/bin/glib-genmarshal 1646s # /tmp/tmp5yxpx5zt/tmpkpd6q3h6.list: VOID:PARAM 1646s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp5yxpx5zt/tmpkpd6q3h6.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1646s # 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. */ 1646s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1646s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1646s # 1646s # G_BEGIN_DECLS 1646s # 1646s # /* VOID:PARAM (/tmp/tmp5yxpx5zt/tmpkpd6q3h6.list:1) */ 1646s # extern 1646s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1646s # GValue *return_value, 1646s # guint n_param_values, 1646s # const GValue *param_values, 1646s # gpointer invocation_hint, 1646s # gpointer marshal_data); 1646s # extern 1646s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1646s # GValue *return_value, 1646s # gpointer instance, 1646s # va_list args, 1646s # gpointer marshal_data, 1646s # int n_params, 1646s # GType *param_types); 1646s # 1646s # 1646s # G_END_DECLS 1646s # 1646s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1646s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp5yxpx5zt/tmpkpd6q3h6.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1646s # 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. */ 1646s # #ifdef G_ENABLE_DEBUG 1646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1646s # #else /* !G_ENABLE_DEBUG */ 1646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1646s # * Do not access GValues directly in your code. Instead, use the 1646s # * g_value_get_*() functions 1646s # */ 1646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1646s # #endif /* !G_ENABLE_DEBUG */ 1646s # 1646s # /* VOID:PARAM (/tmp/tmp5yxpx5zt/tmpkpd6q3h6.list:1) */ 1646s # void 1646s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1646s # GValue *return_value G_GNUC_UNUSED, 1646s # guint n_param_values, 1646s # const GValue *param_values, 1646s # gpointer invocation_hint G_GNUC_UNUSED, 1646s # gpointer marshal_data) 1646s # { 1646s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1646s # gpointer arg1, 1646s # gpointer data2); 1646s # GCClosure *cc = (GCClosure *) closure; 1646s # gpointer data1, data2; 1646s # GMarshalFunc_VOID__PARAM callback; 1646s # 1646s # g_return_if_fail (n_param_values == 2); 1646s # 1646s # if (G_CCLOSURE_SWAP_DATA (closure)) 1646s # { 1646s # data1 = closure->data; 1646s # data2 = g_value_peek_pointer (param_values + 0); 1646s # } 1646s # else 1646s # { 1646s # data1 = g_value_peek_pointer (param_values + 0); 1646s # data2 = closure->data; 1646s # } 1646s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1646s # 1646s # callback (data1, 1646s # g_marshal_value_peek_param (param_values + 1), 1646s # data2); 1646s # } 1646s # 1646s # void 1646s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1646s # GValue *return_value G_GNUC_UNUSED, 1646s # gpointer instance, 1646s # va_list args, 1646s # gpointer marshal_data, 1646s # int n_params, 1646s # GType *param_types) 1646s # { 1646s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1646s # gpointer arg1, 1646s # gpointer data2); 1646s # GCClosure *cc = (GCClosure *) closure; 1646s # gpointer data1, data2; 1646s # GMarshalFunc_VOID__PARAM callback; 1646s # gpointer arg0; 1646s # va_list args_copy; 1646s # 1646s # va_copy (args_copy, args); 1646s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1646s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1646s # arg0 = g_param_spec_ref (arg0); 1646s # va_end (args_copy); 1646s # 1646s # 1646s # if (G_CCLOSURE_SWAP_DATA (closure)) 1646s # { 1646s # data1 = closure->data; 1646s # data2 = instance; 1646s # } 1646s # else 1646s # { 1646s # data1 = instance; 1646s # data2 = closure->data; 1646s # } 1646s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1646s # 1646s # callback (data1, 1646s # arg0, 1646s # data2); 1646s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1646s # g_param_spec_unref (arg0); 1646s # } 1646s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1646s # tmpdir: /tmp/tmpjvr864kg 1646s # genmarshal: /usr/bin/glib-genmarshal 1646s # /tmp/tmpjvr864kg/tmpli_avsr7.list: VOID:STRING 1646s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjvr864kg/tmpli_avsr7.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1646s # 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. */ 1646s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1646s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1646s # 1646s # G_BEGIN_DECLS 1646s # 1646s # /* VOID:STRING (/tmp/tmpjvr864kg/tmpli_avsr7.list:1) */ 1646s # extern 1646s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1646s # GValue *return_value, 1646s # guint n_param_values, 1646s # const GValue *param_values, 1646s # gpointer invocation_hint, 1646s # gpointer marshal_data); 1646s # extern 1646s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1646s # GValue *return_value, 1646s # gpointer instance, 1646s # va_list args, 1646s # gpointer marshal_data, 1646s # int n_params, 1646s # GType *param_types); 1646s # 1646s # 1646s # G_END_DECLS 1646s # 1646s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1646s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjvr864kg/tmpli_avsr7.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1646s # 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. */ 1646s # #ifdef G_ENABLE_DEBUG 1646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1646s # #else /* !G_ENABLE_DEBUG */ 1646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1646s # * Do not access GValues directly in your code. Instead, use the 1646s # * g_value_get_*() functions 1646s # */ 1646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1646s # #endif /* !G_ENABLE_DEBUG */ 1646s # 1646s # /* VOID:STRING (/tmp/tmpjvr864kg/tmpli_avsr7.list:1) */ 1646s # void 1646s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1646s # GValue *return_value G_GNUC_UNUSED, 1646s # guint n_param_values, 1646s # const GValue *param_values, 1646s # gpointer invocation_hint G_GNUC_UNUSED, 1646s # gpointer marshal_data) 1646s # { 1646s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1646s # gpointer arg1, 1646s # gpointer data2); 1646s # GCClosure *cc = (GCClosure *) closure; 1646s # gpointer data1, data2; 1646s # GMarshalFunc_VOID__STRING callback; 1646s # 1646s # g_return_if_fail (n_param_values == 2); 1646s # 1646s # if (G_CCLOSURE_SWAP_DATA (closure)) 1646s # { 1646s # data1 = closure->data; 1646s # data2 = g_value_peek_pointer (param_values + 0); 1646s # } 1646s # else 1646s # { 1646s # data1 = g_value_peek_pointer (param_values + 0); 1646s # data2 = closure->data; 1646s # } 1646s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1646s # 1646s # callback (data1, 1646s # g_marshal_value_peek_string (param_values + 1), 1646s # data2); 1646s # } 1646s # 1646s # void 1646s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1646s # GValue *return_value G_GNUC_UNUSED, 1646s # gpointer instance, 1646s # va_list args, 1646s # gpointer marshal_data, 1646s # int n_params, 1646s # GType *param_types) 1646s # { 1646s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1646s # gpointer arg1, 1646s # gpointer data2); 1646s # GCClosure *cc = (GCClosure *) closure; 1646s # gpointer data1, data2; 1646s # GMarshalFunc_VOID__STRING callback; 1646s # gpointer arg0; 1646s # va_list args_copy; 1646s # 1646s # va_copy (args_copy, args); 1646s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1646s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1646s # arg0 = g_strdup (arg0); 1646s # va_end (args_copy); 1646s # 1646s # 1646s # if (G_CCLOSURE_SWAP_DATA (closure)) 1646s # { 1646s # data1 = closure->data; 1646s # data2 = instance; 1646s # } 1646s # else 1646s # { 1646s # data1 = instance; 1646s # data2 = closure->data; 1646s # } 1646s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1646s # 1646s # callback (data1, 1646s # arg0, 1646s # data2); 1646s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1646s # g_free (arg0); 1646s # } 1647s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1647s # tmpdir: /tmp/tmpio1nyk6r 1647s # genmarshal: /usr/bin/glib-genmarshal 1647s # /tmp/tmpio1nyk6r/tmpm89qp7fb.list: VOID:VARIANT 1647s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpio1nyk6r/tmpm89qp7fb.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1647s # 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. */ 1647s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1647s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1647s # 1647s # G_BEGIN_DECLS 1647s # 1647s # /* VOID:VARIANT (/tmp/tmpio1nyk6r/tmpm89qp7fb.list:1) */ 1647s # extern 1647s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1647s # GValue *return_value, 1647s # guint n_param_values, 1647s # const GValue *param_values, 1647s # gpointer invocation_hint, 1647s # gpointer marshal_data); 1647s # extern 1647s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1647s # GValue *return_value, 1647s # gpointer instance, 1647s # va_list args, 1647s # gpointer marshal_data, 1647s # int n_params, 1647s # GType *param_types); 1647s # 1647s # 1647s # G_END_DECLS 1647s # 1647s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1647s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpio1nyk6r/tmpm89qp7fb.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1647s # 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. */ 1647s # #ifdef G_ENABLE_DEBUG 1647s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1647s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1647s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1647s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1647s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1647s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1647s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1647s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1647s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1647s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1647s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1647s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1647s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1647s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1647s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1647s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1647s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1647s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1647s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1647s # #else /* !G_ENABLE_DEBUG */ 1647s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1647s # * Do not access GValues directly in your code. Instead, use the 1647s # * g_value_get_*() functions 1647s # */ 1647s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1647s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1647s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1647s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1647s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1647s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1647s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1647s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1647s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1647s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1647s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1647s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1647s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1647s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1647s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1647s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1647s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1647s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1647s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1647s # #endif /* !G_ENABLE_DEBUG */ 1647s # 1647s # /* VOID:VARIANT (/tmp/tmpio1nyk6r/tmpm89qp7fb.list:1) */ 1647s # void 1647s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1647s # GValue *return_value G_GNUC_UNUSED, 1647s # guint n_param_values, 1647s # const GValue *param_values, 1647s # gpointer invocation_hint G_GNUC_UNUSED, 1647s # gpointer marshal_data) 1647s # { 1647s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1647s # gpointer arg1, 1647s # gpointer data2); 1647s # GCClosure *cc = (GCClosure *) closure; 1647s # gpointer data1, data2; 1647s # GMarshalFunc_VOID__VARIANT callback; 1647s # 1647s # g_return_if_fail (n_param_values == 2); 1647s # 1647s # if (G_CCLOSURE_SWAP_DATA (closure)) 1647s # { 1647s # data1 = closure->data; 1647s # data2 = g_value_peek_pointer (param_values + 0); 1647s # } 1647s # else 1647s # { 1647s # data1 = g_value_peek_pointer (param_values + 0); 1647s # data2 = closure->data; 1647s # } 1647s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1647s # 1647s # callback (data1, 1647s # g_marshal_value_peek_variant (param_values + 1), 1647s # data2); 1647s # } 1647s # 1647s # void 1647s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1647s # GValue *return_value G_GNUC_UNUSED, 1647s # gpointer instance, 1647s # va_list args, 1647s # gpointer marshal_data, 1647s # int n_params, 1647s # GType *param_types) 1647s # { 1647s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1647s # gpointer arg1, 1647s # gpointer data2); 1647s # GCClosure *cc = (GCClosure *) closure; 1647s # gpointer data1, data2; 1647s # GMarshalFunc_VOID__VARIANT callback; 1647s # gpointer arg0; 1647s # va_list args_copy; 1647s # 1647s # va_copy (args_copy, args); 1647s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1647s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1647s # arg0 = g_variant_ref_sink (arg0); 1647s # va_end (args_copy); 1647s # 1647s # 1647s # if (G_CCLOSURE_SWAP_DATA (closure)) 1647s # { 1647s # data1 = closure->data; 1647s # data2 = instance; 1647s # } 1647s # else 1647s # { 1647s # data1 = instance; 1647s # data2 = closure->data; 1647s # } 1647s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1647s # 1647s # callback (data1, 1647s # arg0, 1647s # data2); 1647s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1647s # g_variant_unref (arg0); 1647s # } 1647s 1..8 1647s ok - glib/genmarshal.py.test 1647s # Running test: glib/utf8-performance.test 1647s TAP version 13 1647s # random seed: R02Sb1cb47b4fed07b0cd8ddbb053556a9ad 1647s 1..36 1647s # Start of utf8 tests 1647s # Start of perf tests 1647s # Start of get_char tests 1647s # max perf: 43.0 MB/s 1647s ok 1 /utf8/perf/get_char/ascii 1647s # max perf: inf MB/s 1647s ok 2 /utf8/perf/get_char/latin1 1647s # max perf: 160.0 MB/s 1647s ok 3 /utf8/perf/get_char/cyrillic 1647s # max perf: 156.0 MB/s 1647s ok 4 /utf8/perf/get_char/han 1647s # End of get_char tests 1647s # Start of get_char-backwards tests 1647s # max perf: 43.0 MB/s 1647s ok 5 /utf8/perf/get_char-backwards/ascii 1647s # max perf: 67.0 MB/s 1647s ok 6 /utf8/perf/get_char-backwards/latin1 1647s # max perf: 160.0 MB/s 1647s ok 7 /utf8/perf/get_char-backwards/cyrillic 1647s # max perf: 156.0 MB/s 1647s ok 8 /utf8/perf/get_char-backwards/han 1647s # End of get_char-backwards tests 1647s # Start of get_char_validated tests 1647s # max perf: 43.0 MB/s 1647s ok 9 /utf8/perf/get_char_validated/ascii 1647s # max perf: 67.0 MB/s 1647s ok 10 /utf8/perf/get_char_validated/latin1 1647s # max perf: 160.0 MB/s 1647s ok 11 /utf8/perf/get_char_validated/cyrillic 1647s # max perf: 156.0 MB/s 1647s ok 12 /utf8/perf/get_char_validated/han 1647s # End of get_char_validated tests 1647s # Start of utf8_to_ucs4 tests 1647s # max perf: 43.0 MB/s 1647s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1647s # max perf: 67.0 MB/s 1647s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1647s # max perf: 80.0 MB/s 1647s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1647s # max perf: 156.0 MB/s 1647s ok 16 /utf8/perf/utf8_to_ucs4/han 1647s # End of utf8_to_ucs4 tests 1647s # Start of utf8_to_ucs4-sized tests 1647s # max perf: 43.0 MB/s 1647s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1647s # max perf: 67.0 MB/s 1647s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1647s # max perf: 160.0 MB/s 1647s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1647s # max perf: 156.0 MB/s 1647s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1647s # End of utf8_to_ucs4-sized tests 1647s # Start of utf8_to_ucs4_fast tests 1647s # max perf: inf MB/s 1647s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1647s # max perf: 67.0 MB/s 1647s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1647s # max perf: inf MB/s 1647s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1647s # max perf: inf MB/s 1647s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1647s # End of utf8_to_ucs4_fast tests 1647s # Start of utf8_to_ucs4_fast-sized tests 1647s # max perf: inf MB/s 1647s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1647s # max perf: 67.0 MB/s 1647s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1647s # max perf: 160.0 MB/s 1647s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1647s # max perf: inf MB/s 1647s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1647s # End of utf8_to_ucs4_fast-sized tests 1647s # Start of utf8_validate tests 1647s # max perf: inf MB/s 1647s ok 29 /utf8/perf/utf8_validate/ascii 1647s # max perf: inf MB/s 1647s ok 30 /utf8/perf/utf8_validate/latin1 1647s # max perf: 160.0 MB/s 1647s ok 31 /utf8/perf/utf8_validate/cyrillic 1647s # max perf: 156.0 MB/s 1647s ok 32 /utf8/perf/utf8_validate/han 1647s # End of utf8_validate tests 1647s # Start of utf8_validate-sized tests 1647s # max perf: inf MB/s 1647s ok 33 /utf8/perf/utf8_validate-sized/ascii 1647s # max perf: inf MB/s 1647s ok 34 /utf8/perf/utf8_validate-sized/latin1 1647s # max perf: 160.0 MB/s 1647s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1647s # max perf: inf MB/s 1647s ok 36 /utf8/perf/utf8_validate-sized/han 1647s # End of utf8_validate-sized tests 1647s # End of perf tests 1647s # End of utf8 tests 1647s ok - glib/utf8-performance.test 1647s # Running test: glib/socket-listener.test 1647s TAP version 13 1647s # random seed: R02S01246650b94f09fa68227f3dcf066e30 1647s 1..1 1647s # Start of socket-listener tests 1647s ok 1 /socket-listener/event-signal 1647s # End of socket-listener tests 1647s ok - glib/socket-listener.test 1647s # Running test: glib/file-thumbnail.test 1647s TAP version 13 1647s # random seed: R02S994ca313361f45e4ee43076a816bd4e6 1647s 1..7 1647s # Start of file-thumbnail tests 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/fail/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/fail/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_BFGYK2/file-thumbnail/fail/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/fail/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_BFGYK2/file-thumbnail/fail/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/fail/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/fail/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/fail/.dirs/runtime 1647s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1647s # Created test thumbnail at /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1647s ok 1 /file-thumbnail/fail 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/runtime 1647s # Created test thumbnail at /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1647s # Created test thumbnail at /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1647s # Created test thumbnail at /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1647s # Created test thumbnail at /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1647s # Created test thumbnail at /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1647s ok 2 /file-thumbnail/size-priority 1647s # Start of valid tests 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/normal/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/normal/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/normal/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/normal/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/normal/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/normal/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/normal/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/normal/.dirs/runtime 1647s # Created test thumbnail at /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1647s ok 3 /file-thumbnail/valid/normal 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/large/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/large/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/large/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/large/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/large/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/large/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/large/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/large/.dirs/runtime 1647s # Created test thumbnail at /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1647s ok 4 /file-thumbnail/valid/large 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/x-large/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/x-large/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/x-large/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/x-large/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/x-large/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/x-large/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/x-large/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/x-large/.dirs/runtime 1647s # Created test thumbnail at /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1647s ok 5 /file-thumbnail/valid/x-large 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/xx-large/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/xx-large/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/xx-large/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/xx-large/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/xx-large/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/xx-large/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/xx-large/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/xx-large/.dirs/runtime 1647s # Created test thumbnail at /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1647s ok 6 /file-thumbnail/valid/xx-large 1647s # End of valid tests 1647s # Start of unknown tests 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/unknown/super-large/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/unknown/super-large/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_BFGYK2/file-thumbnail/unknown/super-large/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/unknown/super-large/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_BFGYK2/file-thumbnail/unknown/super-large/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/unknown/super-large/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/unknown/super-large/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/unknown/super-large/.dirs/runtime 1647s # Created test thumbnail at /tmp/test_file-thumbnail_BFGYK2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1647s ok 7 /file-thumbnail/unknown/super-large 1647s # End of unknown tests 1647s # End of file-thumbnail tests 1647s ok - glib/file-thumbnail.test 1647s # Running test: glib/hmac.test 1647s TAP version 13 1647s # random seed: R02S4c9b4b1d7a4ccc34f52e21c3d7a30142 1647s 1..37 1647s # Start of hmac tests 1647s ok 1 /hmac/sha1-1 1647s ok 2 /hmac/sha1-2 1647s ok 3 /hmac/sha1-3 1647s ok 4 /hmac/sha1-4 1647s ok 5 /hmac/sha1-5 1647s ok 6 /hmac/sha1-6 1647s ok 7 /hmac/sha1-7 1647s ok 8 /hmac/sha256-1 1647s ok 9 /hmac/sha256-2 1647s ok 10 /hmac/sha256-3 1647s ok 11 /hmac/sha256-4 1647s ok 12 /hmac/sha256-5 1647s ok 13 /hmac/sha256-6 1647s ok 14 /hmac/sha384-1 1647s ok 15 /hmac/sha384-2 1647s ok 16 /hmac/sha384-3 1647s ok 17 /hmac/sha384-4 1647s ok 18 /hmac/sha384-5 1647s ok 19 /hmac/sha384-6 1647s ok 20 /hmac/sha512-1 1647s ok 21 /hmac/sha512-2 1647s ok 22 /hmac/sha512-3 1647s ok 23 /hmac/sha512-4 1647s ok 24 /hmac/sha512-5 1647s ok 25 /hmac/sha512-6 1647s ok 26 /hmac/md5-1 1647s ok 27 /hmac/md5-2 1647s ok 28 /hmac/md5-3 1647s ok 29 /hmac/md5-4 1647s ok 30 /hmac/md5-5 1647s ok 31 /hmac/md5-6 1647s ok 32 /hmac/md5-7 1647s ok 33 /hmac/ref-unref 1647s ok 34 /hmac/copy 1647s ok 35 /hmac/for-data 1647s ok 36 /hmac/for-string 1647s ok 37 /hmac/for-bytes 1647s # End of hmac tests 1647s ok - glib/hmac.test 1647s # Running test: glib/gdbus-test-codegen.test 1647s TAP version 13 1647s # random seed: R02S0c3c2a701bf76baeb95ba0407684f59a 1647s 1..8 1647s # Start of gdbus tests 1647s # Start of codegen tests 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/annotations/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/annotations/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/annotations/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/annotations/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/annotations/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/annotations/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/annotations/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/annotations/.dirs/runtime 1647s ok 1 /gdbus/codegen/annotations 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/interface_stability/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/interface_stability/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/interface_stability/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/interface_stability/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/interface_stability/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/interface_stability/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/interface_stability/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/interface_stability/.dirs/runtime 1647s ok 2 /gdbus/codegen/interface_stability 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/object-manager/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/object-manager/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/object-manager/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/object-manager/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/object-manager/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/object-manager/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/object-manager/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/object-manager/.dirs/runtime 1647s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1647s ok 3 /gdbus/codegen/object-manager 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/property-naming/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/property-naming/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/property-naming/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/property-naming/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/property-naming/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/property-naming/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/property-naming/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/property-naming/.dirs/runtime 1647s ok 4 /gdbus/codegen/property-naming 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/autocleanups/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/autocleanups/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/autocleanups/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/autocleanups/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/autocleanups/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/autocleanups/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/autocleanups/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/autocleanups/.dirs/runtime 1647s ok 5 /gdbus/codegen/autocleanups 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/deprecations/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/deprecations/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/deprecations/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/deprecations/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/deprecations/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/deprecations/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/deprecations/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/deprecations/.dirs/runtime 1647s ok 6 /gdbus/codegen/deprecations 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/standalone-interface-info/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/standalone-interface-info/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/standalone-interface-info/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/standalone-interface-info/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1647s ok 7 /gdbus/codegen/standalone-interface-info 1647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/unix-fd-list/.dirs/home 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/unix-fd-list/.dirs/cache 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/unix-fd-list/.dirs/config 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/unix-fd-list/.dirs/data 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/unix-fd-list/.dirs/state 1647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QVWYK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1647s ok 8 /gdbus/codegen/unix-fd-list 1647s # End of codegen tests 1647s # End of gdbus tests 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s ok - glib/gdbus-test-codegen.test 1647s # Running test: glib/tree.test 1647s TAP version 13 1647s # random seed: R02S8bbfe5c35af91329d0cee55ed82b1669 1647s 1..7 1647s # Start of tree tests 1647s ok 1 /tree/search 1647s ok 2 /tree/remove 1647s ok 3 /tree/destroy 1647s ok 4 /tree/traverse 1647s ok 5 /tree/insert 1647s ok 6 /tree/bounds 1647s ok 7 /tree/remove-all 1647s # End of tree tests 1647s ok - glib/tree.test 1647s # Running test: glib/actions.test 1647s TAP version 13 1647s # random seed: R02Sfcac669f07b03a97b9b32561e13c9d23 1647s 1..12 1647s # Start of actions tests 1647s ok 1 /actions/basic 1647s ok 2 /actions/name 1647s ok 3 /actions/simplegroup 1647s ok 4 /actions/stateful 1647s ok 5 /actions/default-activate 1647s ok 6 /actions/entries 1647s ok 7 /actions/parse-detailed 1647s ok 8 /actions/property 1647s ok 9 /actions/no-properties 1647s # Start of dbus tests 1647s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s ok 10 /actions/dbus/export 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1647s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1647s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1649s # Executing: glib/actions.test 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s ok 11 /actions/dbus/threaded 1649s # slow test /actions/dbus/threaded executed in 2.47 secs 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1649s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1649s ok 12 /actions/dbus/bug679509 1649s # End of dbus tests 1649s # End of actions tests 1649s ok - glib/actions.test 1649s # Running test: glib/memory-monitor-dbus.test 1650s TAP version 13 1650s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1650s 1..1 1650s ok - glib/memory-monitor-dbus.test 1650s # Running test: glib/macros-c-11.test 1650s TAP version 13 1650s # random seed: R02S9fff54135f266124c31a89c6b57ca2d9 1650s 1..4 1650s # Start of C tests 1650s ok 1 /C/standard-11 1650s # End of C tests 1650s # Start of alignof tests 1650s ok 2 /alignof/fallback 1650s # End of alignof tests 1650s # Start of assert tests 1650s ok 3 /assert/static 1650s # End of assert tests 1650s # Start of struct tests 1650s ok 4 /struct/sizeof_member 1650s # End of struct tests 1650s ok - glib/macros-c-11.test 1650s # Running test: glib/resolver-parsing.test 1650s TAP version 13 1650s # random seed: R02S37c258ef0536f2d72159f75145a04d7b 1650s 1..20 1650s # Start of gresolver tests 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/invalid-header/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/invalid-header/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/invalid-header/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/invalid-header/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/invalid-header/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/invalid-header/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/invalid-header/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/invalid-header/.dirs/runtime 1650s ok 1 /gresolver/invalid-header 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/unknown-record-type/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/unknown-record-type/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/unknown-record-type/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/unknown-record-type/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/unknown-record-type/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/unknown-record-type/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/unknown-record-type/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/unknown-record-type/.dirs/runtime 1650s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 1650s ok 2 /gresolver/unknown-record-type 1650s # Start of mx tests 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/valid/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/valid/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/mx/valid/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/valid/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/mx/valid/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/valid/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/valid/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/valid/.dirs/runtime 1650s ok 3 /gresolver/mx/valid 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/.dirs/runtime 1650s ok 4 /gresolver/mx/invalid 1650s # Start of invalid tests 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short/.dirs/runtime 1650s ok 5 /gresolver/mx/invalid/too-short 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short2/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short2/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short2/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short2/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short2/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/mx/invalid/too-short2/.dirs/runtime 1650s ok 6 /gresolver/mx/invalid/too-short2 1650s # End of invalid tests 1650s # End of mx tests 1650s # Start of ns tests 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/valid/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/valid/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/ns/valid/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/valid/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/ns/valid/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/valid/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/valid/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/valid/.dirs/runtime 1650s ok 7 /gresolver/ns/valid 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/invalid/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/invalid/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/ns/invalid/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/invalid/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/ns/invalid/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/invalid/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/invalid/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/ns/invalid/.dirs/runtime 1650s ok 8 /gresolver/ns/invalid 1650s # End of ns tests 1650s # Start of soa tests 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/valid/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/valid/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/soa/valid/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/valid/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/soa/valid/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/valid/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/valid/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/valid/.dirs/runtime 1650s ok 9 /gresolver/soa/valid 1650s # Start of invalid tests 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/mname/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/mname/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/mname/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/mname/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/mname/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/mname/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/mname/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/mname/.dirs/runtime 1650s ok 10 /gresolver/soa/invalid/mname 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/rname/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/rname/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/rname/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/rname/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/rname/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/rname/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/rname/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/rname/.dirs/runtime 1650s ok 11 /gresolver/soa/invalid/rname 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/too-short/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/too-short/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/too-short/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/too-short/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/too-short/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/too-short/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/too-short/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/soa/invalid/too-short/.dirs/runtime 1650s ok 12 /gresolver/soa/invalid/too-short 1650s # End of invalid tests 1650s # End of soa tests 1650s # Start of srv tests 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/valid/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/valid/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/srv/valid/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/valid/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/srv/valid/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/valid/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/valid/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/valid/.dirs/runtime 1650s ok 13 /gresolver/srv/valid 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/.dirs/runtime 1650s ok 14 /gresolver/srv/invalid 1650s # Start of invalid tests 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short/.dirs/runtime 1650s ok 15 /gresolver/srv/invalid/too-short 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short2/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short2/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short2/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short2/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short2/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/srv/invalid/too-short2/.dirs/runtime 1650s ok 16 /gresolver/srv/invalid/too-short2 1650s # End of invalid tests 1650s # End of srv tests 1650s # Start of txt tests 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/.dirs/runtime 1650s ok 17 /gresolver/txt/valid 1650s # Start of valid tests 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/multiple-strings/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/multiple-strings/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/multiple-strings/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/multiple-strings/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/multiple-strings/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1650s ok 18 /gresolver/txt/valid/multiple-strings 1650s # End of valid tests 1650s # Start of invalid tests 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/empty/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/empty/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/empty/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/empty/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/empty/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/empty/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/empty/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/empty/.dirs/runtime 1650s ok 19 /gresolver/txt/invalid/empty 1650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/overflow/.dirs/home 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/overflow/.dirs/cache 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/overflow/.dirs/system-config2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/overflow/.dirs/config 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/overflow/.dirs/system-data2 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/overflow/.dirs/data 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/overflow/.dirs/state 1650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MWR1K2/gresolver/txt/invalid/overflow/.dirs/runtime 1650s ok 20 /gresolver/txt/invalid/overflow 1650s # End of invalid tests 1650s # End of txt tests 1650s # End of gresolver tests 1650s ok - glib/resolver-parsing.test 1650s # Running test: glib/base64.test 1650s TAP version 13 1650s # random seed: R02S7896d7e264388470d5ffb91c455d6a55 1650s 1..28 1650s # Start of base64 tests 1650s ok 1 /base64/encode 1650s ok 2 /base64/decode 1650s ok 3 /base64/decode-inplace 1650s ok 4 /base64/encode-decode 1650s # Start of full tests 1650s ok 5 /base64/full/1 1650s ok 6 /base64/full/2 1650s ok 7 /base64/full/3 1650s ok 8 /base64/full/4 1650s # End of full tests 1650s # Start of encode tests 1650s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1650s ok 9 /base64/encode/empty 1650s # Start of incremental tests 1650s # Start of small-block tests 1650s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1650s ok 10 /base64/encode/incremental/small-block/1 1650s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1650s ok 11 /base64/encode/incremental/small-block/2 1650s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1650s ok 12 /base64/encode/incremental/small-block/3 1650s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1650s ok 13 /base64/encode/incremental/small-block/4 1650s # End of small-block tests 1650s # End of incremental tests 1650s # End of encode tests 1650s # Start of incremental tests 1650s # Start of nobreak tests 1650s ok 14 /base64/incremental/nobreak/1 1650s ok 15 /base64/incremental/nobreak/2 1650s ok 16 /base64/incremental/nobreak/3 1650s ok 17 /base64/incremental/nobreak/4-a 1650s ok 18 /base64/incremental/nobreak/4-b 1650s ok 19 /base64/incremental/nobreak/4-c 1650s # End of nobreak tests 1650s # Start of break tests 1650s ok 20 /base64/incremental/break/1 1650s ok 21 /base64/incremental/break/2 1650s ok 22 /base64/incremental/break/3 1650s # End of break tests 1650s # Start of smallblock tests 1650s ok 23 /base64/incremental/smallblock/1 1650s ok 24 /base64/incremental/smallblock/2 1650s ok 25 /base64/incremental/smallblock/3 1650s ok 26 /base64/incremental/smallblock/4 1650s # End of smallblock tests 1650s # End of incremental tests 1650s # Start of decode tests 1650s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1650s ok 27 /base64/decode/empty 1650s # End of decode tests 1650s # Start of encode-decode tests 1650s # Vector 0: 1650s # Vector 1: f 1650s # Vector 2: fo 1650s # Vector 3: foo 1650s # Vector 4: foob 1650s # Vector 5: fooba 1650s # Vector 6: foobar 1650s ok 28 /base64/encode-decode/rfc4648 1650s # End of encode-decode tests 1650s # End of base64 tests 1650s ok - glib/base64.test 1650s # Running test: glib/sequence.test 1650s TAP version 13 1650s # random seed: R02S707ec3f000e39de9ea0ae64c0c47e13f 1650s 1..16 1650s # Start of sequence tests 1650s ok 1 /sequence/out-of-range-jump 1650s ok 2 /sequence/iter-move 1650s ok 3 /sequence/insert-sorted-non-pointer 1650s ok 4 /sequence/stable-sort 1650s ok 5 /sequence/is_empty 1650s # Start of random tests 1651s ok 6 /sequence/random/seed:825541564 1651s # slow test /sequence/random/seed:825541564 executed in 0.89 secs 1652s ok 7 /sequence/random/seed:801678400 1652s # slow test /sequence/random/seed:801678400 executed in 0.85 secs 1653s ok 8 /sequence/random/seed:1477639090 1653s # slow test /sequence/random/seed:1477639090 executed in 0.90 secs 1654s ok 9 /sequence/random/seed:3369132895 1654s # slow test /sequence/random/seed:3369132895 executed in 0.90 secs 1654s # Executing: glib/sequence.test 1655s ok 10 /sequence/random/seed:1192944867 1655s # slow test /sequence/random/seed:1192944867 executed in 0.96 secs 1656s ok 11 /sequence/random/seed:770458294 1656s # slow test /sequence/random/seed:770458294 executed in 1.00 secs 1657s ok 12 /sequence/random/seed:1099575817 1657s # slow test /sequence/random/seed:1099575817 executed in 0.86 secs 1657s ok 13 /sequence/random/seed:590523467 1657s # slow test /sequence/random/seed:590523467 executed in 0.89 secs 1658s ok 14 /sequence/random/seed:3583571454 1658s # slow test /sequence/random/seed:3583571454 executed in 0.87 secs 1659s # Executing: glib/sequence.test 1659s ok 15 /sequence/random/seed:579241222 1659s # slow test /sequence/random/seed:579241222 executed in 0.88 secs 1660s ok 16 /sequence/random/seed:1455728747 1660s # slow test /sequence/random/seed:1455728747 executed in 0.81 secs 1660s # End of random tests 1660s # End of sequence tests 1660s ok - glib/sequence.test 1660s # Running test: glib/properties-refcount3.test 1660s TAP version 13 1660s # random seed: R02S11f4004474d5168f88c68b08fff6f81c 1660s 1..1 1660s # Start of gobject tests 1660s # Start of refcount tests 1664s # Executing: glib/properties-refcount3.test 1669s # Executing: glib/properties-refcount3.test 1674s # Executing: glib/properties-refcount3.test 1679s # Executing: glib/properties-refcount3.test 1684s # Executing: glib/properties-refcount3.test 1689s # Executing: glib/properties-refcount3.test 1690s # 1690s # stopping 1690s # 1690s # stopped 1690s # 1690s # 24908260 2321395 1690s # 1690s ok 1 /gobject/refcount/properties-3 1690s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1690s # End of refcount tests 1690s # End of gobject tests 1690s ok - glib/properties-refcount3.test 1690s # Running test: glib/unix.test 1690s TAP version 13 1690s # random seed: R02S9436522755a7960c82f74642090217ce 1690s 1..17 1690s # Start of glib-unix tests 1690s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1690s ok 1 /glib-unix/closefrom 1690s ok 2 /glib-unix/pipe 1690s # /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 1690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1690s ok 3 /glib-unix/pipe-stdio-overwrite 1690s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1690s ok 4 /glib-unix/pipe-struct 1690s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1690s ok 5 /glib-unix/pipe-struct-auto 1690s ok 6 /glib-unix/error 1690s ok 7 /glib-unix/nonblocking 1691s ok 8 /glib-unix/sighup 1691s # slow test /glib-unix/sighup executed in 0.50 secs 1691s ok 9 /glib-unix/sigterm 1691s # slow test /glib-unix/sigterm executed in 0.50 secs 1692s ok 10 /glib-unix/sighup_again 1692s # slow test /glib-unix/sighup_again executed in 0.50 secs 1692s ok 11 /glib-unix/sighup_add_remove 1692s ok 12 /glib-unix/sighup_nested 1694s ok 13 /glib-unix/callback_after_signal 1694s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1694s ok 14 /glib-unix/child-wait 1694s # Start of closefrom tests 1694s # Start of subprocess tests 1694s # End of subprocess tests 1694s # End of closefrom tests 1694s # Start of pipe tests 1694s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1694s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1694s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1694s ok 15 /glib-unix/pipe/fd-cloexec 1694s # End of pipe tests 1694s # Start of get-passwd-entry tests 1694s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1694s ok 16 /glib-unix/get-passwd-entry/root 1694s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1694s ok 17 /glib-unix/get-passwd-entry/nonexistent 1694s # End of get-passwd-entry tests 1694s # End of glib-unix tests 1694s ok - glib/unix.test 1694s # Running test: glib/qdata.test 1694s TAP version 13 1694s # random seed: R02Sb142ce812985fff7e1d707bbfcd66443 1694s 1..2 1694s # Start of qdata tests 1694s ok 1 /qdata/threaded 1694s ok 2 /qdata/dup 1694s # End of qdata tests 1694s ok - glib/qdata.test 1694s # Running test: glib/live-g-file.test 1694s TAP version 13 1694s # random seed: R02Sd5af0f332d36cc2947edb21cc49280a6 1694s 1..13 1694s # Start of live-g-file tests 1694s # Cleaning target testing structure in 'testdir_live-g-file'... 1694s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1694s ok 1 /live-g-file/prep_clean_structure 1694s # 1694s # Going to create testing structure in 'testdir_live-g-file'... 1694s # Creating directory 'dir1'... 1694s # Creating directory 'dir1/subdir'... 1694s # Creating directory 'dir2'... 1694s # Creating directory 'dir-target'... 1694s # Creating directory 'dir_no-access'... 1694s # Creating directory 'dir_no-write'... 1694s # Creating file 'target-file'... 1694s # Creating file 'normal_file'... 1694s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1694s # Creating file 'executable_file'... 1694s # Creating file 'private_file'... 1694s # Creating file 'normal_file2'... 1694s # Creating file 'readonly_file'... 1694s # Creating file 'UTF_pr?i?lis? z'... 1694s # Creating directory 'dir_pr?i?lis? z'... 1694s # Creating symlink 'lost_symlink' --> 'nowhere'... 1694s # Creating directory 'dir_hidden'... 1694s # Creating file 'dir_hidden/.a-hidden-file'... 1694s # Creating file 'dir_hidden/file-in-.hidden1'... 1694s # Creating file 'dir_hidden/file-in-.hidden2'... 1694s # Creating pattern file... 1694s # Executing: glib/live-g-file.test 1694s # done. 1694s ok 2 /live-g-file/create_structure 1694s # Testing sample structure in 'testdir_live-g-file'... 1694s # Testing file 'dir1'... 1694s # Testing file 'dir1/subdir'... 1694s # Testing file 'dir2'... 1694s # Testing file 'dir-target'... 1694s # Testing file 'dir_no-access'... 1694s # Testing file 'dir_no-write'... 1694s # Testing file 'target-file'... 1694s # Testing file 'normal_file'... 1694s # Testing file 'normal_file-symlink'... 1694s # Testing file 'executable_file'... 1694s # Testing file 'private_file'... 1694s # Testing file 'normal_file2'... 1694s # Testing file 'readonly_file'... 1694s # Testing file 'UTF_pr?i?lis? z'... 1694s # Testing file 'dir_pr?i?lis? z'... 1694s # Testing file 'lost_symlink'... 1694s # Testing file 'dir_hidden'... 1694s # Testing file 'dir_hidden/.a-hidden-file'... 1694s # Testing file 'dir_hidden/file-in-.hidden1'... 1694s # Testing file 'dir_hidden/file-in-.hidden2'... 1694s # Testing pattern file... 1694s # read 65536 bytes, total = 65536 of 65536. 1694s ok 3 /live-g-file/test_initial_structure 1694s # Traversing through the sample structure in 'testdir_live-g-file'... 1694s # Found file dir1, relative to root: dir1 1694s # Found file subdir, relative to root: dir1/subdir 1694s # Found file dir2, relative to root: dir2 1694s # Found file dir-target, relative to root: dir-target 1694s # Found file dir_no-access, relative to root: dir_no-access 1694s # Found file dir_no-write, relative to root: dir_no-write 1694s # Found file target-file, relative to root: target-file 1694s # Found file normal_file, relative to root: normal_file 1694s # Found file normal_file-symlink, relative to root: normal_file-symlink 1694s # Found file executable_file, relative to root: executable_file 1694s # Found file private_file, relative to root: private_file 1694s # Found file normal_file2, relative to root: normal_file2 1694s # Found file readonly_file, relative to root: readonly_file 1694s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1694s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1694s # Found file lost_symlink, relative to root: lost_symlink 1694s # Found file dir_hidden, relative to root: dir_hidden 1694s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1694s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1694s # Found file .hidden, relative to root: dir_hidden/.hidden 1694s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1694s # Found file pattern_file, relative to root: pattern_file 1694s ok 4 /live-g-file/test_traverse_structure 1694s # Test enumerate 'testdir_live-g-file'... 1694s # Testing file 'dir_no-access' 1694s # Testing file 'normal_file' 1694s # Testing file 'normal_file-symlink' 1694s # Testing file 'not_exists' 1694s # Testing file 'not_exists' 1694s # Testing file 'not_exists2' 1694s # Testing file 'not_exists3' 1694s # Testing file 'not_exists4' 1694s # Testing file 'dir_no-execute/file' 1694s ok 5 /live-g-file/test_enumerate 1694s # test_open: 'dir1' 1694s # test_open: 'dir_no-access' 1694s # test_open: 'target-file' 1694s # test_open: 'normal_file-symlink' 1694s # test_open: 'executable_file' 1694s # test_open: 'private_file' 1694s # test_open: 'readonly_file' 1694s # test_open: 'UTF_pr?i?lis? z' 1694s # test_open: 'pattern_file' 1694s # test_open: 'not_exists' 1694s # test_open: 'dir_no-execute/file' 1694s # test_open: 'lost_symlink' 1694s ok 6 /live-g-file/test_open 1694s # test_create: 'dir1' 1694s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir1?: Is a directory 1694s # test_create: 'dir1/subdir' 1694s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir1/subdir?: Is a directory 1694s # test_create: 'dir2' 1694s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir2?: File exists 1694s # test_create: 'normal_file' 1694s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/normal_file?: File exists 1694s # test_create: 'executable_file' 1694s # test_create: 'private_file' 1694s # test_create: 'normal_file2' 1694s # test_create: 'UTF_pr?i?lis? z' 1694s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1694s # test_create: 'dir_pr?i?lis? z' 1694s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1694s # test_create: 'pattern_file' 1694s # test_create: 'not_exists2' 1694s # test_create: 'not_exists3' 1694s # test_create: 'not_exists4' 1694s ok 7 /live-g-file/test_create 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1694s # res = 0, error code 25 = Can?t recursively copy directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'dir1/subdir' --> '.' 1694s # res = 0, error code 2 = Target file exists 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'dir1/subdir' --> 'target-file' 1694s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1694s # res = 0, error code 25 = Can?t recursively copy directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1694s # res = 0, error code 25 = Can?t recursively copy directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1694s # res = 0, error code 25 = Can?t recursively copy directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'dir2' --> 'dir-target' 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'dir-target' --> 'dir-target' 1694s # res = 0, error code 25 = Can?t recursively copy directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'dir-target' --> '.' 1694s # res = 0, error code 2 = Target file exists 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'dir-target' --> 'target-file' 1694s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/target-file/dir-target?: Not a directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'dir-target' --> 'not_exists' 1694s # res = 0, error code 25 = Can?t recursively copy directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'dir-target' --> 'dir_no-access' 1694s # res = 0, error code 25 = Can?t recursively copy directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'dir-target' --> 'dir_no-write' 1694s # res = 0, error code 25 = Can?t recursively copy directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'target-file' --> 'dir-target' 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'target-file' --> '.' 1694s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/target-file?: File exists 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'target-file' --> 'target-file' 1694s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/target-file/target-file?: Not a directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'target-file' --> 'not_exists' 1694s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'target-file' --> 'dir_no-access' 1694s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'target-file' --> 'dir_no-write' 1694s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'normal_file-symlink' --> '.' 1694s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/normal_file-symlink: File exists 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1694s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1694s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1694s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1694s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'executable_file' --> 'dir-target' 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'executable_file' --> 'dir-target' 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'executable_file' --> '.' 1694s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/executable_file?: File exists 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'executable_file' --> 'target-file' 1694s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/target-file/executable_file?: Not a directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'executable_file' --> 'not_exists' 1694s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'executable_file' --> 'dir_no-access' 1694s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'executable_file' --> 'dir_no-write' 1694s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'private_file' --> 'dir-target' 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'private_file' --> 'dir-target' 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'private_file' --> '.' 1694s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/private_file?: File exists 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'private_file' --> 'target-file' 1694s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/target-file/private_file?: Not a directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'private_file' --> 'not_exists' 1694s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'private_file' --> 'dir_no-access' 1694s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'private_file' --> 'dir_no-write' 1694s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'normal_file2' --> 'dir-target' 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'normal_file2' --> 'dir-target' 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'normal_file2' --> '.' 1694s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/normal_file2?: File exists 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'normal_file2' --> 'target-file' 1694s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'normal_file2' --> 'not_exists' 1694s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1694s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1694s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1694s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1694s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1694s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1694s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1694s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'pattern_file' --> 'dir-target' 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'pattern_file' --> '.' 1694s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/pattern_file?: File exists 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'pattern_file' --> 'target-file' 1694s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'pattern_file' --> 'not_exists' 1694s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1694s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1694s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'not_exists' --> 'dir-target' 1694s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists?: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'not_exists' --> '.' 1694s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists?: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'not_exists' --> 'target-file' 1694s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists?: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'not_exists' --> 'not_exists' 1694s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists?: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'not_exists' --> 'dir_no-access' 1694s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists?: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'not_exists' --> 'dir_no-write' 1694s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists?: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'not_exists' --> 'dir-target' 1694s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'lost_symlink' --> 'dir-target' 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'lost_symlink' --> '.' 1694s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/lost_symlink: File exists 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'lost_symlink' --> 'target-file' 1694s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'lost_symlink' --> 'not_exists' 1694s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1694s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1694s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1694s ok 8 /live-g-file/test_copy_move 1694s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir1 1694s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir1: Directory not empty 1694s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir2 1694s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir2: No such file or directory 1694s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/executable_file 1694s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/readonly_file 1694s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_pr?i?lis? z 1694s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists 1694s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists: No such file or directory 1694s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists 1694s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/not_exists: No such file or directory 1694s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-execute/file 1694s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1694s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-48JZK2/testdir_live-g-file/lost_symlink 1694s ok 9 /live-g-file/test_delete 1694s # We do not have CAP_DAC_OVERRIDE or equivalent 1694s ok 10 /live-g-file/test_make_directory_with_parents 1694s # Cleaning target testing structure in 'testdir_live-g-file'... 1694s # deleting 'dir1' 1694s # deleting 'subdir' 1694s # deleting 'dir-target' 1694s # deleting 'dir2' 1694s # deleting 'target-file' 1694s # deleting 'normal_file-symlink' 1694s # deleting 'pattern_file' 1694s # deleting 'executable_file' 1694s # deleting 'private_file' 1694s # deleting 'normal_file2' 1694s # deleting 'UTF_pr?i?lis? z' 1694s # deleting 'lost_symlink' 1694s # deleting 'dir_no-access' 1694s # deleting 'dir_no-write' 1694s # deleting 'target-file' 1694s # deleting 'normal_file' 1694s # deleting 'normal_file-symlink' 1694s # deleting 'executable_file~' 1694s # deleting 'private_file' 1694s # deleting 'normal_file2~' 1694s # deleting 'a' 1694s # deleting 'UTF_pr?i?lis? z' 1694s # deleting 'dir_hidden' 1694s # deleting '.a-hidden-file' 1694s # deleting 'file-in-.hidden1' 1694s # deleting '.hidden' 1694s # deleting 'file-in-.hidden2' 1694s # deleting 'pattern_file' 1694s # deleting 'normal_file2' 1694s # deleting 'not_exists2' 1694s # deleting 'not_exists3' 1694s # deleting 'not_exists4' 1694s ok 11 /live-g-file/final_clean 1694s # Start of test_unix_is_mountpoint tests 1694s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1694s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1694s # End of test_unix_is_mountpoint tests 1694s # End of live-g-file tests 1694s ok - glib/live-g-file.test 1694s # Running test: glib/atomic-c-17.test 1694s TAP version 13 1694s # random seed: R02S47f70bcb2357614192111f993e6b3950 1694s 1..2 1694s # Start of atomic tests 1694s ok 1 /atomic/types 1694s ok 2 /atomic/threaded 1694s # End of atomic tests 1694s ok - glib/atomic-c-17.test 1694s # Running test: glib/macros.test 1694s TAP version 13 1694s # random seed: R02Sbf24660db391f448756414be2acaaeff 1694s 1..3 1694s # Start of alignof tests 1694s ok 1 /alignof/fallback 1694s # End of alignof tests 1694s # Start of assert tests 1694s ok 2 /assert/static 1694s # End of assert tests 1694s # Start of struct tests 1694s ok 3 /struct/sizeof_member 1694s # End of struct tests 1694s ok - glib/macros.test 1694s # Running test: glib/performance-threaded.test 1694s Running test "liststore-is-a" 1695s 5341 runs, min/avg/max = 0.181/0.187/0.587 ms 1695s Running test "liststore-interface-peek" 1696s 9132 runs, min/avg/max = 0.106/0.109/0.479 ms 1696s Running test "liststore-interface-peek-same" 1697s 9174 runs, min/avg/max = 0.106/0.109/0.471 ms 1697s ok - glib/performance-threaded.test 1697s # Running test: glib/gdbus-export.test 1697s TAP version 13 1697s # random seed: R02S4a92cecc9cbf88c7519daf82d2535770 1697s 1..6 1697s # Start of gdbus tests 1697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration/.dirs/home 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration/.dirs/cache 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_D8BQK2/gdbus/object-registration/.dirs/system-config2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration/.dirs/config 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_D8BQK2/gdbus/object-registration/.dirs/system-data2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration/.dirs/data 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration/.dirs/state 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration/.dirs/runtime 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s ok 1 /gdbus/object-registration 1697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration-with-closures/.dirs/home 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration-with-closures/.dirs/cache 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_D8BQK2/gdbus/object-registration-with-closures/.dirs/system-config2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration-with-closures/.dirs/config 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_D8BQK2/gdbus/object-registration-with-closures/.dirs/system-data2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration-with-closures/.dirs/data 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration-with-closures/.dirs/state 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_D8BQK2/gdbus/object-registration-with-closures/.dirs/runtime 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s ok 2 /gdbus/object-registration-with-closures 1697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/registered-interfaces/.dirs/home 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/registered-interfaces/.dirs/cache 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_D8BQK2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_D8BQK2/gdbus/registered-interfaces/.dirs/system-config2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/registered-interfaces/.dirs/config 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_D8BQK2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_D8BQK2/gdbus/registered-interfaces/.dirs/system-data2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/registered-interfaces/.dirs/data 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/registered-interfaces/.dirs/state 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_D8BQK2/gdbus/registered-interfaces/.dirs/runtime 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s ok 3 /gdbus/registered-interfaces 1697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/async-properties/.dirs/home 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/async-properties/.dirs/cache 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_D8BQK2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_D8BQK2/gdbus/async-properties/.dirs/system-config2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/async-properties/.dirs/config 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_D8BQK2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_D8BQK2/gdbus/async-properties/.dirs/system-data2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/async-properties/.dirs/data 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/async-properties/.dirs/state 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_D8BQK2/gdbus/async-properties/.dirs/runtime 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s ok 4 /gdbus/async-properties 1697s # Start of threaded-unregistration tests 1697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/object/.dirs/home 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/object/.dirs/cache 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/object/.dirs/system-config2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/object/.dirs/config 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/object/.dirs/system-data2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/object/.dirs/data 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/object/.dirs/state 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/object/.dirs/runtime 1697s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1697s # /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 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # Executing: glib/gdbus-export.test 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (48 iterations with unregistration first, 952 with call first); skipping test 1700s # slow test /gdbus/threaded-unregistration/object executed in 2.33 secs 1700s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/subtree/.dirs/home 1700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/subtree/.dirs/cache 1700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/subtree/.dirs/config 1700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/subtree/.dirs/data 1700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/subtree/.dirs/state 1700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_D8BQK2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1700s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1700s # /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 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s ok 6 /gdbus/threaded-unregistration/subtree 1701s # slow test /gdbus/threaded-unregistration/subtree executed in 1.60 secs 1701s # End of threaded-unregistration tests 1701s # End of gdbus tests 1701s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1701s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1701s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1701s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1701s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1701s ok - glib/gdbus-export.test 1701s # Running test: glib/spawn-singlethread.test 1701s TAP version 13 1701s # random seed: R02Sd55b7bbac0bee4fbe82cb995a1a4a8e9 1701s 1..9 1701s # Start of gthread tests 1701s ok 1 /gthread/spawn-single-sync 1701s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1701s ok 2 /gthread/spawn-stderr-socket 1701s ok 3 /gthread/spawn-single-async 1701s # thread 1 1701s # thread 1 1701s ok 4 /gthread/spawn-single-async-with-fds 1701s ok 5 /gthread/spawn-async-with-invalid-fds 1701s ok 6 /gthread/spawn-script 1701s ok 7 /gthread/spawn-posix-spawn 1701s # Start of spawn tests 1701s ok 8 /gthread/spawn/nonexistent 1701s # FD map: 1701s # • 5 → 15 1701s # • 6 → 16 1701s # • 7 → 17 1701s # • 8 → 18 1701s # • 9 → 19 1701s # • 10 → 20 1701s # • 11 → 21 1701s # • 12 → 22 1701s # • 13 → 23 1701s # • 3 → 13 1701s ok 9 /gthread/spawn/fd-assignment-clash 1701s # End of spawn tests 1701s # End of gthread tests 1701s ok - glib/spawn-singlethread.test 1701s # Running test: glib/fileattributematcher.test 1701s TAP version 13 1701s # random seed: R02Sab837fde65caa95828382c472dde2ded 1701s 1..3 1701s # Start of fileattributematcher tests 1701s ok 1 /fileattributematcher/exact 1701s ok 2 /fileattributematcher/equality 1701s ok 3 /fileattributematcher/subtract 1701s # End of fileattributematcher tests 1701s ok - glib/fileattributematcher.test 1701s # Running test: glib/gdbus-addresses.test 1701s TAP version 13 1701s # random seed: R02S3cc29766e378474da8ae036db5a3a263 1701s 1..9 1701s # Start of gdbus tests 1701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/empty-address/.dirs/home 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/empty-address/.dirs/cache 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/empty-address/.dirs/system-config2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/empty-address/.dirs/config 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/empty-address/.dirs/system-data2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/empty-address/.dirs/data 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/empty-address/.dirs/state 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H4HSK2/gdbus/empty-address/.dirs/runtime 1701s ok 1 /gdbus/empty-address 1701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unsupported-address/.dirs/home 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unsupported-address/.dirs/cache 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/unsupported-address/.dirs/system-config2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unsupported-address/.dirs/config 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/unsupported-address/.dirs/system-data2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unsupported-address/.dirs/data 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unsupported-address/.dirs/state 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unsupported-address/.dirs/runtime 1701s ok 2 /gdbus/unsupported-address 1701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/address-parsing/.dirs/home 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/address-parsing/.dirs/cache 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/address-parsing/.dirs/system-config2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/address-parsing/.dirs/config 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/address-parsing/.dirs/system-data2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/address-parsing/.dirs/data 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/address-parsing/.dirs/state 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H4HSK2/gdbus/address-parsing/.dirs/runtime 1701s ok 3 /gdbus/address-parsing 1701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unix-address/.dirs/home 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unix-address/.dirs/cache 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/unix-address/.dirs/system-config2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unix-address/.dirs/config 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/unix-address/.dirs/system-data2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unix-address/.dirs/data 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unix-address/.dirs/state 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H4HSK2/gdbus/unix-address/.dirs/runtime 1701s ok 4 /gdbus/unix-address 1701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/nonce-tcp-address/.dirs/home 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/nonce-tcp-address/.dirs/cache 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/nonce-tcp-address/.dirs/system-config2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/nonce-tcp-address/.dirs/config 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/nonce-tcp-address/.dirs/system-data2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/nonce-tcp-address/.dirs/data 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/nonce-tcp-address/.dirs/state 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H4HSK2/gdbus/nonce-tcp-address/.dirs/runtime 1701s ok 5 /gdbus/nonce-tcp-address 1701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/tcp-address/.dirs/home 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/tcp-address/.dirs/cache 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/tcp-address/.dirs/system-config2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/tcp-address/.dirs/config 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/tcp-address/.dirs/system-data2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/tcp-address/.dirs/data 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/tcp-address/.dirs/state 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H4HSK2/gdbus/tcp-address/.dirs/runtime 1701s ok 6 /gdbus/tcp-address 1701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/autolaunch-address/.dirs/home 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/autolaunch-address/.dirs/cache 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/autolaunch-address/.dirs/system-config2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/autolaunch-address/.dirs/config 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/autolaunch-address/.dirs/system-data2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/autolaunch-address/.dirs/data 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/autolaunch-address/.dirs/state 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H4HSK2/gdbus/autolaunch-address/.dirs/runtime 1701s ok 7 /gdbus/autolaunch-address 1701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/mixed-address/.dirs/home 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/mixed-address/.dirs/cache 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/mixed-address/.dirs/system-config2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/mixed-address/.dirs/config 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/mixed-address/.dirs/system-data2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/mixed-address/.dirs/data 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/mixed-address/.dirs/state 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H4HSK2/gdbus/mixed-address/.dirs/runtime 1701s ok 8 /gdbus/mixed-address 1701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/escape-address/.dirs/home 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/escape-address/.dirs/cache 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/escape-address/.dirs/system-config2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/escape-address/.dirs/config 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H4HSK2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H4HSK2/gdbus/escape-address/.dirs/system-data2 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/escape-address/.dirs/data 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H4HSK2/gdbus/escape-address/.dirs/state 1701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H4HSK2/gdbus/escape-address/.dirs/runtime 1701s ok 9 /gdbus/escape-address 1701s # End of gdbus tests 1701s ok - glib/gdbus-addresses.test 1701s # Running test: glib/cxx-2b.test 1701s TAP version 13 1701s # random seed: R02S186ed2b141b053732b22a15592a2e3e5 1701s 1..2 1701s # Start of gtask tests 1701s # 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. 1701s ok 1 /gtask/name 1701s # Start of name tests 1701s # 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. 1701s ok 2 /gtask/name/macro-wrapper 1701s # End of name tests 1701s # End of gtask tests 1701s ok - glib/cxx-2b.test 1701s # Running test: glib/refcount-macro.test 1701s TAP version 13 1701s # random seed: R02S54508e4977061b76121b8daea719dbeb 1701s 1..4 1701s # Start of refcount tests 1701s ok 1 /refcount/grefcount 1701s ok 2 /refcount/gatomicrefcount 1701s # Start of grefcount tests 1701s ok 3 /refcount/grefcount/saturation 1701s # End of grefcount tests 1701s # Start of gatomicrefcount tests 1701s ok 4 /refcount/gatomicrefcount/saturation 1701s # End of gatomicrefcount tests 1701s # End of refcount tests 1701s ok - glib/refcount-macro.test 1701s # Running test: glib/socket.test 1701s TAP version 13 1701s # random seed: R02Scf04fc439fb611b18eeb67ff5d064fd9 1701s 1..28 1701s # Start of socket tests 1703s ok 1 /socket/ipv4_sync 1703s # slow test /socket/ipv4_sync executed in 1.00 secs 1704s ok 2 /socket/ipv4_async 1704s # slow test /socket/ipv4_async executed in 1.00 secs 1704s ok 3 /socket/ipv6_sync 1704s ok 4 /socket/ipv6_async 1704s ok 5 /socket/ipv6_v4mapped 1704s # Executing: glib/socket.test 1705s ok 6 /socket/close_graceful 1705s # slow test /socket/close_graceful executed in 1.00 secs 1705s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1705s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1705s ok 8 /socket/fd_reuse 1705s ok 9 /socket/address 1705s ok 10 /socket/unix-from-fd 1705s ok 11 /socket/unix-connection 1705s ok 12 /socket/unix-connection-ancillary-data 1705s ok 13 /socket/source-postmortem 1705s ok 14 /socket/read_write 1705s ok 15 /socket/read_writev 1705s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1705s ok 16 /socket/receive_bytes 1705s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1705s ok 17 /socket/receive_bytes_from 1705s # Start of ipv4_sync tests 1705s ok 18 /socket/ipv4_sync/datagram 1705s # Start of datagram tests 1706s ok 19 /socket/ipv4_sync/datagram/timeouts 1706s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1706s # End of datagram tests 1706s # End of ipv4_sync tests 1706s # Start of ipv6_sync tests 1706s ok 20 /socket/ipv6_sync/datagram 1706s # Start of datagram tests 1707s ok 21 /socket/ipv6_sync/datagram/timeouts 1707s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1707s # End of datagram tests 1707s # End of ipv6_sync tests 1707s # Start of reuse tests 1707s ok 22 /socket/reuse/tcp 1707s ok 23 /socket/reuse/udp 1707s # End of reuse tests 1707s # Start of get_available tests 1707s ok 24 /socket/get_available/datagram 1707s ok 25 /socket/get_available/stream 1707s # End of get_available tests 1707s # Start of credentials tests 1707s # Supported on this OS: GCredentials:linux-ucred:pid=0 1707s ok 26 /socket/credentials/tcp_client 1707s # Supported on this OS: GCredentials:linux-ucred:pid=0 1707s ok 27 /socket/credentials/tcp_server 1707s # Supported on this OS: GCredentials:linux-ucred:pid=14361,uid=1000,gid=1000 1707s ok 28 /socket/credentials/unix_socketpair 1707s # End of credentials tests 1707s # End of socket tests 1707s ok - glib/socket.test 1707s # Running test: glib/socket-address.test 1707s TAP version 13 1707s # random seed: R02S66fe626a883225dd7a6aae0d10b1ed12 1707s 1..2 1707s # Start of socket tests 1707s # Start of address tests 1707s # Start of unix tests 1707s ok 1 /socket/address/unix/construct 1707s ok 2 /socket/address/unix/to-string 1707s # End of unix tests 1707s # End of address tests 1707s # End of socket tests 1707s ok - glib/socket-address.test 1707s # Running test: glib/gnotification.test 1707s TAP version 13 1707s # random seed: R02Saa02cea9209816c04f6a3d7c50e03d75 1707s 1..2 1707s # Start of gnotification tests 1707s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1707s ok 1 /gnotification/basic 1707s ok 2 /gnotification/properties 1707s # End of gnotification tests 1707s ok - glib/gnotification.test 1707s # Running test: glib/gdbus-threading.test 1707s TAP version 13 1707s # random seed: R02Sf473a83fcdd7ab5f8bb695153c48c7dc 1707s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1707s ok - glib/gdbus-threading.test 1707s # Running test: glib/references.test 1707s TAP version 13 1707s # random seed: R02Sc5c2b9e9d6febd9e51ca55caee9c40e3 1707s 1..1 1707s # Start of gobject tests 1707s ok 1 /gobject/references 1707s # End of gobject tests 1707s ok - glib/references.test 1707s # Running test: glib/portal-support-flatpak-gsettings-only.test 1707s TAP version 13 1707s # random seed: R02S814b1e6871bd0d3b197b676c5ad0dd3b 1707s 1..1 1707s # Start of portal-support tests 1707s # Start of flatpak tests 1707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_HE5ZK2/portal-support/flatpak/gsettings/.dirs/home 1707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HE5ZK2/portal-support/flatpak/gsettings/.dirs/cache 1707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_HE5ZK2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_HE5ZK2/portal-support/flatpak/gsettings/.dirs/system-config2 1707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HE5ZK2/portal-support/flatpak/gsettings/.dirs/config 1707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_HE5ZK2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_HE5ZK2/portal-support/flatpak/gsettings/.dirs/system-data2 1707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HE5ZK2/portal-support/flatpak/gsettings/.dirs/data 1707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HE5ZK2/portal-support/flatpak/gsettings/.dirs/state 1707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_HE5ZK2/portal-support/flatpak/gsettings/.dirs/runtime 1707s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_HE5ZK2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1707s ok 1 /portal-support/flatpak/gsettings 1707s # End of flatpak tests 1707s # End of portal-support tests 1707s ok - glib/portal-support-flatpak-gsettings-only.test 1707s # Running test: glib/list.test 1707s TAP version 13 1707s # random seed: R02S4b38602fb1d0961e342056e59e392d0a 1707s 1..20 1707s # Start of list tests 1707s ok 1 /list/sort 1707s ok 2 /list/sort-with-data 1707s ok 3 /list/insert-before-link 1707s ok 4 /list/insert-sorted 1707s ok 5 /list/insert-sorted-with-data 1707s ok 6 /list/reverse 1707s ok 7 /list/nth 1707s ok 8 /list/concat 1707s ok 9 /list/remove 1707s ok 10 /list/remove-all 1707s ok 11 /list/first-last 1707s ok 12 /list/insert 1707s ok 13 /list/free-full 1707s ok 14 /list/copy 1707s ok 15 /list/copy-deep 1707s ok 16 /list/delete-link 1707s ok 17 /list/prepend 1707s ok 18 /list/position 1707s ok 19 /list/double-free 1707s # Start of sort tests 1707s ok 20 /list/sort/stable 1707s # End of sort tests 1707s # End of list tests 1707s ok - glib/list.test 1707s # Running test: glib/mappedfile.test 1707s TAP version 13 1707s # random seed: R02Sdcada99fef2b486230903925672cea33 1707s 1..7 1707s # Start of mappedfile tests 1707s ok 1 /mappedfile/basic 1707s ok 2 /mappedfile/empty 1707s ok 3 /mappedfile/device 1707s ok 4 /mappedfile/nonexisting 1707s ok 5 /mappedfile/writable 1707s ok 6 /mappedfile/writable_fd 1707s ok 7 /mappedfile/gbytes 1707s # End of mappedfile tests 1707s ok - glib/mappedfile.test 1707s # Running test: glib/signal-handler.test 1707s TAP version 13 1707s # random seed: R02Sf595cdb67a29197fbff93a37192af569 1707s 1..7 1707s # Start of signal tests 1707s # Start of handler tests 1707s # min perf: connected 1 handlers in 0.000 seconds 1707s ok 1 /signal/handler/connect-many 1707s # min perf: disconnected 1 handlers in 0.000 seconds 1707s ok 2 /signal/handler/disconnect-many-ordered 1707s # min perf: disconnected 1 handlers in 0.000 seconds 1707s ok 3 /signal/handler/disconnect-many-inverse 1707s # min perf: disconnected 1 handlers in 0.000 seconds 1707s ok 4 /signal/handler/disconnect-many-random 1707s # min perf: disconnected 1 handlers in 0.000 seconds 1707s ok 5 /signal/handler/disconnect-2-signals 1707s # min perf: disconnected 1 handlers in 0.000 seconds 1707s ok 6 /signal/handler/disconnect-2-objects 1707s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1707s ok 7 /signal/handler/block-many 1707s # End of handler tests 1707s # End of signal tests 1707s ok - glib/signal-handler.test 1707s # Running test: glib/flags.test 1707s TAP version 13 1707s # random seed: R02S4bef9b1557dac2c8c28d57cf21560fb4 1707s 1..1 1707s # Start of gobject tests 1707s # Start of flags tests 1707s ok 1 /gobject/flags/validate 1707s # End of flags tests 1707s # End of gobject tests 1707s ok - glib/flags.test 1707s # Running test: glib/utils.test 1707s TAP version 13 1707s # random seed: R02Sc6052212184d8389796789166e7de503 1707s 1..40 1707s # Start of utils tests 1707s ok 1 /utils/language-names 1707s ok 2 /utils/locale-variants 1707s ok 3 /utils/version 1707s ok 4 /utils/appname 1707s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1707s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1707s ok 5 /utils/prgname-thread-safety 1707s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1707s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1707s ok 6 /utils/tmpdir 1707s ok 7 /utils/basic_bits 1707s ok 8 /utils/bits 1707s ok 9 /utils/swap 1707s ok 10 /utils/find-program 1707s ok 11 /utils/find-program-for-path 1707s ok 12 /utils/debug 1707s ok 13 /utils/codeset 1707s ok 14 /utils/codeset2 1707s ok 15 /utils/console-charset 1707s ok 16 /utils/gettext 1707s ok 17 /utils/username 1707s ok 18 /utils/realname 1707s ok 19 /utils/hostname 1707s ok 20 /utils/xdgdirs 1707s ok 21 /utils/specialdir 1707s # NAME: Ubuntu 1707s ok 22 /utils/os-info 1707s ok 23 /utils/clear-pointer 1707s ok 24 /utils/clear-pointer-cast 1707s ok 25 /utils/take-pointer 1707s ok 26 /utils/clear-source 1707s ok 27 /utils/misc-mem 1707s # /utils/aligned-mem summary: Aligned memory allocator 1707s # Alignment must not be zero 1707s # Alignment must be a power of two 1707s # Alignment must be a multiple of sizeof(void*) 1707s ok 28 /utils/aligned-mem 1707s # /utils/free-sized summary: Check that g_free_sized() works 1707s ok 29 /utils/free-sized 1707s ok 30 /utils/nullify 1707s ok 31 /utils/atexit 1707s ok 32 /utils/check-setuid 1707s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1707s ok 33 /utils/int-limits 1707s ok 34 /utils/clear-list 1707s ok 35 /utils/clear-slist 1707s # Start of specialdir tests 1707s ok 36 /utils/specialdir/desktop 1707s # End of specialdir tests 1707s # Start of clear-pointer tests 1707s ok 37 /utils/clear-pointer/side-effects 1707s # End of clear-pointer tests 1707s # Start of aligned-mem tests 1707s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1707s ok 38 /utils/aligned-mem/alignment 1707s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1707s ok 39 /utils/aligned-mem/zeroed 1707s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1707s ok 40 /utils/aligned-mem/free-sized 1707s # Start of subprocess tests 1707s # End of subprocess tests 1707s # End of aligned-mem tests 1707s # End of utils tests 1707s ok - glib/utils.test 1707s # Running test: glib/signals-refcount3.test 1707s TAP version 13 1707s # random seed: R02S3bbe99d0573fbe633fd7cea5ca99c3bc 1707s 1..1 1707s # Start of gobject tests 1707s # Start of refcount tests 1707s # init 0xbf41ed1da430 1707s # 1707s # init 0xbf41ed1da5d0 1707s # 1709s # Executing: glib/signals-refcount3.test 1712s # dispose 0xbf41ed1da430! 1712s # 1712s # dispose 0xbf41ed1da5d0! 1712s # 1712s ok 1 /gobject/refcount/signals 1712s # slow test /gobject/refcount/signals executed in 5.00 secs 1712s # End of refcount tests 1712s # End of gobject tests 1712s ok - glib/signals-refcount3.test 1712s # Running test: glib/gdbus-connection-slow.test 1712s TAP version 13 1712s # random seed: R02Sc9335571cf6cde376f0f3cc7401d0c71 1712s 1..2 1712s # Start of gdbus tests 1712s # Start of connection tests 1712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/flush/.dirs/home 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/flush/.dirs/cache 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/flush/.dirs/system-config2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/flush/.dirs/config 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/flush/.dirs/system-data2 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/flush/.dirs/data 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/flush/.dirs/state 1712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/flush/.dirs/runtime 1712s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s ok 1 /gdbus/connection/flush 1713s # slow test /gdbus/connection/flush executed in 0.59 secs 1713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/large_message/.dirs/home 1713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/large_message/.dirs/cache 1713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/large_message/.dirs/system-config2 1713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/large_message/.dirs/config 1713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/large_message/.dirs/system-data2 1713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/large_message/.dirs/data 1713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/large_message/.dirs/state 1713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_6SGKK2/gdbus/connection/large_message/.dirs/runtime 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1713s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1713s ok 2 /gdbus/connection/large_message 1713s # slow test /gdbus/connection/large_message executed in 0.82 secs 1713s # End of connection tests 1713s # End of gdbus tests 1713s ok - glib/gdbus-connection-slow.test 1713s # Running test: glib/io-channel.test 1713s TAP version 13 1713s # random seed: R02S3a203e3a0e5a573a5b9c9ef8989b0770 1713s 1..2 1713s # Start of io-channel tests 1713s # Line one 1713s # 1713s # Line two 1713s # 1713s # Line three 1713s # 1713s # /* Hello */ 1713s # 1713s # \x1234\x567890\x6666 1713s # 1713s # read 62 bytes, wrote 62 bytes 1714s ok 1 /io-channel/read-write 1714s # Start of read-line tests 1714s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1714s ok 2 /io-channel/read-line/embedded-nuls 1714s # End of read-line tests 1714s # End of io-channel tests 1714s ok - glib/io-channel.test 1714s # Running test: glib/gapplication.test 1714s TAP version 13 1714s # random seed: R02S134700da1a0e07fa39984baa089bec14 1714s 1..24 1714s # Start of gapplication tests 1714s ok 1 /gapplication/no-dbus 1714s ok 2 /gapplication/no-appid 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s ok 3 /gapplication/properties 1714s ok 4 /gapplication/app-id 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s ok 5 /gapplication/quit 1714s ok 6 /gapplication/registered 1714s ok 7 /gapplication/local-actions 1714s ok 8 /gapplication/local-command-line 1714s ok 9 /gapplication/resource-path 1714s ok 10 /gapplication/test-help 1714s ok 11 /gapplication/command-line-done 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s ok 12 /gapplication/test-busy 1714s ok 13 /gapplication/test-handle-local-options1 1714s ok 14 /gapplication/test-handle-local-options2 1714s ok 15 /gapplication/test-handle-local-options3 1714s ok 16 /gapplication/api 1714s ok 17 /gapplication/version 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # launching subprocess 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s ok 18 /gapplication/replace 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # launching subprocess 1714s # Executing: glib/gapplication.test 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s ok 19 /gapplication/no-replace 1714s # slow test /gapplication/no-replace executed in 0.52 secs 1714s # Start of dbus tests 1714s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1714s # Message 0 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # Message 1 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # Message 2 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s ok 20 /gapplication/dbus/activate 1714s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1714s # Message 0 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1714s # Message 1 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # Message 2 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # Message 3 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s ok 21 /gapplication/dbus/open 1714s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1714s # Message 0 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # Message 1 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # Message 2 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s ok 22 /gapplication/dbus/command-line 1714s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s ok 23 /gapplication/dbus/command-line-done 1714s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1714s # Message 0 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # Message 1 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # Message 2 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # Message 3 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # Message 4 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # Message 5 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s ok 24 /gapplication/dbus/activate-action 1714s # End of dbus tests 1714s # End of gapplication tests 1714s ok - glib/gapplication.test 1714s # Running test: glib/dbus-appinfo.test 1714s TAP version 13 1714s # random seed: R02Sf562ee609bba6c4cba9dd8939303aee1 1714s 1..3 1714s # Start of appinfo tests 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1714s ok 1 /appinfo/dbusappinfo 1714s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1714s dbus-daemon[14724]: [session uid=1000 pid=14724] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=14723 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1714s # Acquired a message bus connection 1714s dbus-daemon[14724]: [session uid=1000 pid=14724] Successfully activated service 'org.freedesktop.portal.Documents' 1714s # Acquired the name org.freedesktop.portal.Documents 1714s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1714s ok 2 /appinfo/flatpak-doc-export 1714s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1714s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1714s ok 3 /appinfo/flatpak-missing-doc-export 1714s # End of appinfo tests 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # Lost the name org.freedesktop.portal.Documents 1714s ok - glib/dbus-appinfo.test 1714s # Running test: glib/inet-address.test 1714s TAP version 13 1714s # random seed: R02Sc8045ced40fc0cb17207e037d353835e 1714s 1..11 1714s # Start of inet-address tests 1714s ok 1 /inet-address/parse 1714s ok 2 /inet-address/any 1714s ok 3 /inet-address/loopback 1714s ok 4 /inet-address/bytes 1714s ok 5 /inet-address/property 1714s # End of inet-address tests 1714s # Start of socket-address tests 1714s ok 6 /socket-address/basic 1714s ok 7 /socket-address/to-string 1714s # End of socket-address tests 1714s # Start of address-mask tests 1714s ok 8 /address-mask/parse 1714s ok 9 /address-mask/property 1714s ok 10 /address-mask/equal 1714s ok 11 /address-mask/match 1714s # End of address-mask tests 1714s ok - glib/inet-address.test 1714s # Running test: glib/defaultvalue.test 1714s TAP version 13 1714s # random seed: R02S5634bd67dc6d12dd3be98663e8eae518 1714s 1..84 1714s # Start of Default Values tests 1714s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1714s ok 2 /Default Values/GAppLaunchContext 1714s ok 3 /Default Values/GApplicationCommandLine 1714s # skipping GApplication:is-remote 1714s ok 4 /Default Values/GApplication 1714s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1714s ok 6 /Default Values/GBindingGroup 1714s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1714s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1714s ok 9 /Default Values/GBytesIcon 1714s ok 10 /Default Values/GCancellable 1714s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1714s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1714s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1714s ok 14 /Default Values/GCredentials 1714s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1714s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1714s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1714s ok 18 /Default Values/GDBusAuthObserver 1714s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1714s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1714s ok 21 /Default Values/GDBusMessage 1714s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1714s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1714s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1714s ok 25 /Default Values/GDBusObjectProxy 1714s ok 26 /Default Values/GDBusObjectSkeleton 1714s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1714s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1714s ok 29 /Default Values/GEmblem 1714s ok 30 /Default Values/GEmblemedIcon 1714s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1714s ok 32 /Default Values/GFileInfo 1714s ok 33 /Default Values/GFileInputStream 1714s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1714s ok 35 /Default Values/GFileOutputStream 1714s ok 36 /Default Values/GFilenameCompleter 1714s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1714s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1714s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1714s ok 40 /Default Values/GInitiallyUnowned 1714s ok 41 /Default Values/GIOModule 1714s ok 42 /Default Values/GListStore 1714s ok 43 /Default Values/GMemoryInputStream 1714s ok 44 /Default Values/GMemoryOutputStream 1714s ok 45 /Default Values/GMenu 1714s ok 46 /Default Values/GMenuItem 1714s ok 47 /Default Values/GMountOperation 1714s ok 48 /Default Values/GNativeSocketAddress 1714s ok 49 /Default Values/GNetworkAddress 1714s ok 50 /Default Values/GNetworkService 1714s ok 51 /Default Values/GNotification 1714s ok 52 /Default Values/GObject 1714s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1714s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1714s # skipping GProxyAddressEnumerator:proxy-resolver 1714s ok 54 /Default Values/GProxyAddressEnumerator 1714s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1714s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1714s ok 57 /Default Values/GSignalGroup 1714s ok 58 /Default Values/GSimpleAction 1714s ok 59 /Default Values/GSimpleActionGroup 1714s ok 60 /Default Values/GSimpleAsyncResult 1714s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1714s ok 62 /Default Values/GSimplePermission 1714s ok 63 /Default Values/GSimpleProxyResolver 1714s # skipping GSocketClient:proxy-resolver 1714s ok 64 /Default Values/GSocketClient 1714s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1714s ok 66 /Default Values/GSocket # SKIP initialization failed 1714s ok 67 /Default Values/GSocketListener 1714s ok 68 /Default Values/GSocketService 1714s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1714s ok 70 /Default Values/GSubprocessLauncher 1714s # GLib-GIO-DEBUG: GTask 0xbf5327bf5fa0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1714s ok 71 /Default Values/GTask 1714s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1714s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1714s ok 74 /Default Values/GTestDBus 1714s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1714s ok 76 /Default Values/GThreadedSocketService 1714s ok 77 /Default Values/GTlsInteraction 1714s ok 78 /Default Values/GTlsPassword 1714s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1714s ok 80 /Default Values/GUnixFDList 1714s ok 81 /Default Values/GVfs 1714s ok 82 /Default Values/GVolumeMonitor 1714s ok 83 /Default Values/GZlibCompressor 1714s ok 84 /Default Values/GZlibDecompressor 1714s # End of Default Values tests 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1714s ok - glib/defaultvalue.test 1714s # Running test: glib/bitlock.test 1714s TAP version 13 1714s # random seed: R02S3274c29e9517280be4e0f3c6e4d91836 1714s 1..1 1714s # Start of bitlock tests 1714s # Start of performance tests 1714s # max perf: iterations per second 1714s ok 1 /bitlock/performance/uncontended 1714s # End of performance tests 1714s # End of bitlock tests 1714s ok - glib/bitlock.test 1714s # Running test: glib/macros-c-90.test 1714s TAP version 13 1714s # random seed: R02S20627822ef94b2bc512dfea13e31974d 1714s 1..4 1714s # Start of C tests 1714s ok 1 /C/standard-90 1714s # End of C tests 1714s # Start of alignof tests 1714s ok 2 /alignof/fallback 1714s # End of alignof tests 1714s # Start of assert tests 1714s ok 3 /assert/static 1714s # End of assert tests 1714s # Start of struct tests 1714s ok 4 /struct/sizeof_member 1714s # End of struct tests 1714s ok - glib/macros-c-90.test 1714s # Running test: glib/cxx-11.test 1714s TAP version 13 1714s # random seed: R02Sf270441aa652065b35e4b1bc464a8859 1714s 1..2 1714s # Start of gtask tests 1714s # 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. 1714s ok 1 /gtask/name 1714s # Start of name tests 1714s # 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. 1714s ok 2 /gtask/name/macro-wrapper 1714s # End of name tests 1714s # End of gtask tests 1714s ok - glib/cxx-11.test 1714s # Running test: glib/refcount.test 1714s TAP version 13 1714s # random seed: R02S4820822123ffa0d65b6e309e888ff38f 1714s 1..4 1714s # Start of refcount tests 1714s ok 1 /refcount/grefcount 1714s ok 2 /refcount/gatomicrefcount 1714s # Start of grefcount tests 1714s ok 3 /refcount/grefcount/saturation 1714s # End of grefcount tests 1714s # Start of gatomicrefcount tests 1714s ok 4 /refcount/gatomicrefcount/saturation 1714s # End of gatomicrefcount tests 1714s # End of refcount tests 1714s ok - glib/refcount.test 1714s # Running test: glib/gio-tool.py.test 1715s TAP version 13 1715s ok 1 __main__.TestGioTool.test_help 1715s # tmpdir: /tmp/tmpfmr8r5x8 1715s # gio: /usr/bin/gio 1715s # Running: ['/usr/bin/gio', '--help'] 1715s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # Output: Usage: 1715s # gio COMMAND [ARGS…] 1715s # 1715s # Commands: 1715s # help Print help 1715s # version Print version 1715s # cat Concatenate files to standard output 1715s # copy Copy one or more files 1715s # info Show information about locations 1715s # launch Launch an application from a desktop file 1715s # list List the contents of locations 1715s # mime Get or set the handler for a mimetype 1715s # mkdir Create directories 1715s # monitor Monitor files and directories for changes 1715s # mount Mount or unmount the locations 1715s # move Move one or more files 1715s # open Open files with the default application 1715s # rename Rename a file 1715s # remove Delete one or more files 1715s # save Read from standard input and save 1715s # set Set a file attribute 1715s # trash Move files or directories to the trash 1715s # tree Lists the contents of locations in a tree 1715s # 1715s # Use “gio help COMMAND” to get detailed help. 1715s # Running: ['/usr/bin/gio', 'help'] 1715s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # Output: Usage: 1715s # gio COMMAND [ARGS…] 1715s # 1715s # Commands: 1715s # help Print help 1715s # version Print version 1715s # cat Concatenate files to standard output 1715s # copy Copy one or more files 1715s # info Show information about locations 1715s # launch Launch an application from a desktop file 1715s # list List the contents of locations 1715s # mime Get or set the handler for a mimetype 1715s # mkdir Create directories 1715s # monitor Monitor files and directories for changes 1715s # mount Mount or unmount the locations 1715s # move Move one or more files 1715s # open Open files with the default application 1715s # rename Rename a file 1715s # remove Delete one or more files 1715s # save Read from standard input and save 1715s # set Set a file attribute 1715s # trash Move files or directories to the trash 1715s # tree Lists the contents of locations in a tree 1715s # 1715s # Use “gio help COMMAND” to get detailed help. 1715s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1715s # tmpdir: /tmp/tmprababsbd 1715s # gio: /usr/bin/gio 1715s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmprababsbd/tmpx01szmhs'] 1715s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # Output: uri: file:///tmp/tmprababsbd/tmpx01szmhs 1715s # local path: /tmp/tmprababsbd/tmpx01szmhs 1715s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1715s # attributes: 1715s # standard::content-type: application/x-zerosize 1715s ok 3 __main__.TestGioTool.test_no_args 1715s # tmpdir: /tmp/tmp5o6d_l8h 1715s # gio: /usr/bin/gio 1715s # Running: ['/usr/bin/gio'] 1715s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-5jVZskb7lE,guid=3adb4c22987781f79e2e0f0765f97a88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.IsBVRK/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7kkLm1FXIc', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.chrJUq/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.IsBVRK/wrapper.sh --artifacts=/tmp/autopkgtest.IsBVRK/installed-tests-artifacts --chdir=/tmp/autopkgtest.IsBVRK/build.Tni/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.IsBVRK/installed-tests-stderr --stdout=/tmp/autopkgtest.IsBVRK/installed-tests-stdout --tmp=/tmp/autopkgtest.IsBVRK/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1' --make-executable=/tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests -- /tmp/autopkgtest.IsBVRK/build.Tni/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.IsBVRK/build.Tni/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.IsBVRK/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s 1..3 1715s ok - glib/gio-tool.py.test 1715s # Running test: glib/unicode-normalize.test 1715s TAP version 13 1715s # random seed: R02Sd298a681eb407f8b739287f068ecdd3c 1715s 1..3 1715s # Start of unicode tests 1715s # Processing Part0 # Specific cases 1715s # Processing Part1 # Character by character test 1715s # Processing Part2 # Canonical Order Test 1715s # Processing Part3 # PRI #29 Test 1715s ok 1 /unicode/normalize 1715s # Invalid UTF-8 vector 0 1715s # Invalid UTF-8 vector 1 1715s # Invalid UTF-8 vector 2 1715s # Invalid UTF-8 vector 3 1715s # Invalid UTF-8 vector 4 1715s # Invalid UTF-8 vector 5 1715s # Invalid UTF-8 vector 6 1715s # Invalid UTF-8 vector 7 1715s # Invalid UTF-8 vector 8 1715s # Invalid UTF-8 vector 9 1715s # Invalid UTF-8 vector 10 1715s # Invalid UTF-8 vector 11 1715s # Invalid UTF-8 vector 12 1715s ok 2 /unicode/normalize-invalid 1715s # Start of normalize tests 1715s ok 3 /unicode/normalize/bad-length 1715s # End of normalize tests 1715s # End of unicode tests 1715s ok - glib/unicode-normalize.test 1715s # Running test: glib/gdbus-error.test 1715s TAP version 13 1715s # random seed: R02Sf9fab3d4d0ff69a8eaf428079aa479e3 1715s 1..4 1715s # Start of gdbus tests 1715s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/registered-errors/.dirs/home 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/registered-errors/.dirs/cache 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JQ13K2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_JQ13K2/gdbus/registered-errors/.dirs/system-config2 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/registered-errors/.dirs/config 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JQ13K2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_JQ13K2/gdbus/registered-errors/.dirs/system-data2 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/registered-errors/.dirs/data 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/registered-errors/.dirs/state 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JQ13K2/gdbus/registered-errors/.dirs/runtime 1715s ok 1 /gdbus/registered-errors 1715s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/unregistered-errors/.dirs/home 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/unregistered-errors/.dirs/cache 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JQ13K2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_JQ13K2/gdbus/unregistered-errors/.dirs/system-config2 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/unregistered-errors/.dirs/config 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JQ13K2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_JQ13K2/gdbus/unregistered-errors/.dirs/system-data2 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/unregistered-errors/.dirs/data 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/unregistered-errors/.dirs/state 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JQ13K2/gdbus/unregistered-errors/.dirs/runtime 1715s ok 2 /gdbus/unregistered-errors 1715s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/transparent-gerror/.dirs/home 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/transparent-gerror/.dirs/cache 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JQ13K2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_JQ13K2/gdbus/transparent-gerror/.dirs/system-config2 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/transparent-gerror/.dirs/config 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JQ13K2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_JQ13K2/gdbus/transparent-gerror/.dirs/system-data2 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/transparent-gerror/.dirs/data 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/transparent-gerror/.dirs/state 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JQ13K2/gdbus/transparent-gerror/.dirs/runtime 1715s ok 3 /gdbus/transparent-gerror 1715s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/register-error/.dirs/home 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/register-error/.dirs/cache 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JQ13K2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_JQ13K2/gdbus/register-error/.dirs/system-config2 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/register-error/.dirs/config 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JQ13K2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_JQ13K2/gdbus/register-error/.dirs/system-data2 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/register-error/.dirs/data 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JQ13K2/gdbus/register-error/.dirs/state 1715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JQ13K2/gdbus/register-error/.dirs/runtime 1715s ok 4 /gdbus/register-error 1715s # End of gdbus tests 1715s ok - glib/gdbus-error.test 1715s # Running test: glib/rand.test 1715s TAP version 13 1715s # random seed: R02Sc5852d2096fbccfcc71be31b4d166dac 1715s 1..2 1715s # Start of rand tests 1715s ok 1 /rand/test-rand 1715s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1715s ok 2 /rand/double-range 1715s # End of rand tests 1715s ok - glib/rand.test 1715s # SUMMARY: total=315; passed=314; skipped=1; failed=0; user=208.4s; system=78.8s; maxrss=160768 1715s autopkgtest [11:53:01]: test installed-tests: -----------------------] 1716s autopkgtest [11:53:02]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1716s installed-tests PASS 1717s autopkgtest [11:53:03]: test closure-refcount: preparing testbed 1718s Reading package lists... 1719s Building dependency tree... 1719s Reading state information... 1719s Starting pkgProblemResolver with broken count: 0 1720s Starting 2 pkgProblemResolver with broken count: 0 1720s Done 1721s The following NEW packages will be installed: 1721s autopkgtest-satdep 1721s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1721s Need to get 0 B/772 B of archives. 1721s After this operation, 0 B of additional disk space will be used. 1721s Get:1 /tmp/autopkgtest.IsBVRK/4-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1722s Selecting previously unselected package autopkgtest-satdep. 1722s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 76899 files and directories currently installed.) 1722s Preparing to unpack .../4-autopkgtest-satdep.deb ... 1722s Unpacking autopkgtest-satdep (0) ... 1722s Setting up autopkgtest-satdep (0) ... 1726s (Reading database ... 76899 files and directories currently installed.) 1726s Removing autopkgtest-satdep (0) ... 1727s autopkgtest [11:53:13]: test closure-refcount: [----------------------- 1727s Running test: glib/closure-refcount.test 1727s TAP version 13 1727s # random seed: R02Scb5f0e4cbd83ebf2b73acf11740c3d92 1727s 1..1 1727s # Start of closure tests 1727s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1727s # End of closure tests 1727s PASS: glib/closure-refcount.test 1727s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2944 1727s autopkgtest [11:53:13]: test closure-refcount: -----------------------] 1728s autopkgtest [11:53:14]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1728s closure-refcount PASS 1728s autopkgtest [11:53:14]: test debugcontroller: preparing testbed 1732s Reading package lists... 1732s Building dependency tree... 1732s Reading state information... 1733s Starting pkgProblemResolver with broken count: 0 1733s Starting 2 pkgProblemResolver with broken count: 0 1733s Done 1734s The following NEW packages will be installed: 1734s autopkgtest-satdep 1734s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1734s Need to get 0 B/772 B of archives. 1734s After this operation, 0 B of additional disk space will be used. 1734s Get:1 /tmp/autopkgtest.IsBVRK/5-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1735s Selecting previously unselected package autopkgtest-satdep. 1735s (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 ... 76899 files and directories currently installed.) 1735s Preparing to unpack .../5-autopkgtest-satdep.deb ... 1735s Unpacking autopkgtest-satdep (0) ... 1735s Setting up autopkgtest-satdep (0) ... 1739s (Reading database ... 76899 files and directories currently installed.) 1739s Removing autopkgtest-satdep (0) ... 1739s autopkgtest [11:53:25]: test debugcontroller: [----------------------- 1740s Running test: glib/debugcontroller.test 1740s TAP version 13 1740s # random seed: R02S2cb96c4ad99223ac01da8edc5f836c8c 1740s 1..3 1740s # Start of debug-controller tests 1740s # Start of dbus tests 1740s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1740s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1740s # GLib-GIO-DEBUG: Debug output enabled 1740s # GLib-GIO-DEBUG: Debug output disabled 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s ok 1 /debug-controller/dbus/basic 1740s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1740s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s ok 2 /debug-controller/dbus/duplicate 1740s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1740s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1740s # GLib-GIO-DEBUG: Debug output enabled 1740s # GLib-GIO-DEBUG: Debug output disabled 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1740s ok 3 /debug-controller/dbus/properties 1740s # End of dbus tests 1740s # End of debug-controller tests 1740s PASS: glib/debugcontroller.test 1740s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5888 1740s autopkgtest [11:53:26]: test debugcontroller: -----------------------] 1741s debugcontroller PASS 1741s autopkgtest [11:53:27]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1741s autopkgtest [11:53:27]: test gdbus-server-auth: preparing testbed 1747s Reading package lists... 1748s Building dependency tree... 1748s Reading state information... 1748s Starting pkgProblemResolver with broken count: 0 1749s Starting 2 pkgProblemResolver with broken count: 0 1749s Done 1750s The following NEW packages will be installed: 1750s autopkgtest-satdep 1750s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1750s Need to get 0 B/772 B of archives. 1750s After this operation, 0 B of additional disk space will be used. 1750s Get:1 /tmp/autopkgtest.IsBVRK/6-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1751s Selecting previously unselected package autopkgtest-satdep. 1751s (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 ... 76899 files and directories currently installed.) 1751s Preparing to unpack .../6-autopkgtest-satdep.deb ... 1751s Unpacking autopkgtest-satdep (0) ... 1751s Setting up autopkgtest-satdep (0) ... 1755s (Reading database ... 76899 files and directories currently installed.) 1755s Removing autopkgtest-satdep (0) ... 1755s autopkgtest [11:53:41]: test gdbus-server-auth: [----------------------- 1756s Running test: glib/gdbus-server-auth.test 1756s TAP version 13 1756s # random seed: R02Sd62c1695bdd3431e953787d9b2bf36c0 1756s 1..9 1756s # Start of gdbus tests 1756s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/.dirs/home 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/.dirs/cache 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/.dirs/system-config2 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/.dirs/config 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/.dirs/system-data2 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/.dirs/data 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/.dirs/state 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/.dirs/runtime 1756s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_AJLYK2/gdbus-server-auth-XQKYK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1756s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_AJLYK2/gdbus-server-auth-XQKYK2/dbus-F0DiiLfS 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15526 1756s ok 1 /gdbus/server-auth 1756s # Start of server-auth tests 1756s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/abstract/.dirs/home 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/abstract/.dirs/cache 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/abstract/.dirs/system-config2 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/abstract/.dirs/config 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/abstract/.dirs/system-data2 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/abstract/.dirs/data 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/abstract/.dirs/state 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/abstract/.dirs/runtime 1756s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_AJLYK2/gdbus-server-auth-JFTXK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1756s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_AJLYK2/gdbus-server-auth-JFTXK2/dbus-SwQEPQLr 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15526 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1756s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15526 1756s ok 2 /gdbus/server-auth/abstract 1756s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/tcp/.dirs/home 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/tcp/.dirs/cache 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/tcp/.dirs/system-config2 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/tcp/.dirs/config 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/tcp/.dirs/system-data2 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/tcp/.dirs/data 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/tcp/.dirs/state 1756s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/tcp/.dirs/runtime 1756s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1756s # Connectable address: tcp:host=127.0.0.1,port=38631 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1756s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1756s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1756s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1756s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1756s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1756s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1757s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1757s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1757s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1757s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1757s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1757s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1757s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1757s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1757s ok 3 /gdbus/server-auth/tcp 1757s # slow test /gdbus/server-auth/tcp executed in 0.90 secs 1757s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/.dirs/home 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/.dirs/cache 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/.dirs/system-config2 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/.dirs/config 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/.dirs/system-data2 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/.dirs/data 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/.dirs/state 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/.dirs/runtime 1757s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_AJLYK2/gdbus-server-auth-VK6YK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1757s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_AJLYK2/gdbus-server-auth-VK6YK2/dbus-aXuQdGHy 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15526 1757s ok 4 /gdbus/server-auth/anonymous 1757s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/.dirs/home 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/.dirs/cache 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/.dirs/system-config2 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/.dirs/config 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/.dirs/system-data2 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/.dirs/data 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/.dirs/state 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/.dirs/runtime 1757s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_AJLYK2/gdbus-server-auth-G2VWK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1757s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_AJLYK2/gdbus-server-auth-G2VWK2/dbus-5Kw3RDRr 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1757s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15526 1757s ok 5 /gdbus/server-auth/external 1757s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/.dirs/home 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/.dirs/cache 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/.dirs/system-config2 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/.dirs/config 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/.dirs/system-data2 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/.dirs/data 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/.dirs/state 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/.dirs/runtime 1757s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_AJLYK2/gdbus-server-auth-ZVLXK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1757s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_AJLYK2/gdbus-server-auth-ZVLXK2/dbus-EGcYtvNu 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15526 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1757s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15526 1757s ok 6 /gdbus/server-auth/sha1 1757s # Start of anonymous tests 1757s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/tcp/.dirs/home 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/tcp/.dirs/config 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/tcp/.dirs/data 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/tcp/.dirs/state 1757s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1757s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1757s # Connectable address: tcp:host=127.0.0.1,port=33895 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1757s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1757s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1757s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1757s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1757s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1758s ok 7 /gdbus/server-auth/anonymous/tcp 1758s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 1758s # End of anonymous tests 1758s # Start of external tests 1758s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/require-same-user/.dirs/home 1758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/require-same-user/.dirs/cache 1758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/require-same-user/.dirs/config 1758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/require-same-user/.dirs/data 1758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/require-same-user/.dirs/state 1758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1758s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_AJLYK2/gdbus-server-auth-3UJYK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1758s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_AJLYK2/gdbus-server-auth-3UJYK2/dbus-8UfYujxN 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15526 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1758s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15526,uid=1000,gid=1000 1758s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15526 1758s ok 8 /gdbus/server-auth/external/require-same-user 1758s # End of external tests 1758s # Start of sha1 tests 1758s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/tcp/.dirs/home 1758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/tcp/.dirs/cache 1758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/tcp/.dirs/config 1758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/tcp/.dirs/data 1758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/tcp/.dirs/state 1758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_AJLYK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1758s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1758s # Connectable address: tcp:host=127.0.0.1,port=46495 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1758s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1758s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1758s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1758s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1758s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1759s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1759s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1759s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1759s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1759s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1759s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1759s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1759s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1759s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1759s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1759s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1759s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1759s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1759s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1759s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1759s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1759s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1759s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1759s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1759s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1759s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1759s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1759s ok 9 /gdbus/server-auth/sha1/tcp 1759s # slow test /gdbus/server-auth/sha1/tcp executed in 0.89 secs 1759s # End of sha1 tests 1759s # End of server-auth tests 1759s # End of gdbus tests 1759s PASS: glib/gdbus-server-auth.test 1759s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.2s; maxrss=8576 1759s autopkgtest [11:53:45]: test gdbus-server-auth: -----------------------] 1760s autopkgtest [11:53:46]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1760s gdbus-server-auth PASS 1760s autopkgtest [11:53:46]: test gdbus-threading: preparing testbed 1762s Reading package lists... 1762s Building dependency tree... 1762s Reading state information... 1763s Starting pkgProblemResolver with broken count: 0 1763s Starting 2 pkgProblemResolver with broken count: 0 1763s Done 1764s The following NEW packages will be installed: 1764s autopkgtest-satdep 1765s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1765s Need to get 0 B/776 B of archives. 1765s After this operation, 0 B of additional disk space will be used. 1765s Get:1 /tmp/autopkgtest.IsBVRK/7-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 1765s Selecting previously unselected package autopkgtest-satdep. 1765s (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 ... 76899 files and directories currently installed.) 1765s Preparing to unpack .../7-autopkgtest-satdep.deb ... 1765s Unpacking autopkgtest-satdep (0) ... 1765s Setting up autopkgtest-satdep (0) ... 1769s (Reading database ... 76899 files and directories currently installed.) 1769s Removing autopkgtest-satdep (0) ... 1770s autopkgtest [11:53:56]: test gdbus-threading: [----------------------- 1770s Running test: glib/gdbus-threading.test 1770s TAP version 13 1770s # random seed: R02S45f4db4d9c78fce264b06557019a6aa0 1770s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1770s 1..3 1770s # Start of gdbus tests 1770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/delivery-in-thread/.dirs/home 1770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/delivery-in-thread/.dirs/cache 1770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_2REPK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_2REPK2/gdbus/delivery-in-thread/.dirs/system-config2 1770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/delivery-in-thread/.dirs/config 1770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_2REPK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_2REPK2/gdbus/delivery-in-thread/.dirs/system-data2 1770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/delivery-in-thread/.dirs/data 1770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/delivery-in-thread/.dirs/state 1770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_2REPK2/gdbus/delivery-in-thread/.dirs/runtime 1770s ok 1 /gdbus/delivery-in-thread 1770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/method-calls-in-thread/.dirs/home 1770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/method-calls-in-thread/.dirs/cache 1770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_2REPK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_2REPK2/gdbus/method-calls-in-thread/.dirs/system-config2 1770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/method-calls-in-thread/.dirs/config 1770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_2REPK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_2REPK2/gdbus/method-calls-in-thread/.dirs/system-data2 1770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/method-calls-in-thread/.dirs/data 1770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/method-calls-in-thread/.dirs/state 1770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_2REPK2/gdbus/method-calls-in-thread/.dirs/runtime 1771s ok 2 /gdbus/method-calls-in-thread 1771s # slow test /gdbus/method-calls-in-thread executed in 0.87 secs 1771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/threaded-singleton/.dirs/home 1771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/threaded-singleton/.dirs/cache 1771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_2REPK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_2REPK2/gdbus/threaded-singleton/.dirs/system-config2 1771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/threaded-singleton/.dirs/config 1771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_2REPK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_2REPK2/gdbus/threaded-singleton/.dirs/system-data2 1771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/threaded-singleton/.dirs/data 1771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_2REPK2/gdbus/threaded-singleton/.dirs/state 1771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_2REPK2/gdbus/threaded-singleton/.dirs/runtime 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: refcount of 0xe677dc004ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: refcount of 0xe677dc001240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: refcount of 0xe677dc005450 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: refcount of 0xe677dc005630 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1771s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc005a80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc002ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc002ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc001e50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc0070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc0070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc003c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc006b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc005620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc005620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc005620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc005aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc005aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc005a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: refcount of 0xe677dc005a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1772s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc007150 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc007150 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc0055c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc0055c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc0055c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc0055c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc007550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc007550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc000cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc000cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc000cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc000cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc000cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc000cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1773s # GLib-GIO-DEBUG: refcount of 0xe677dc000cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc000cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc000cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc0062a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc0062a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc005b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1774s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc0073a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc0073a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc005550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc007c50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc007c50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc003c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc001140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc001140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc001140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc001140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc001140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc001140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1775s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1775s # GLib-GIO-DEBUG: refcount of 0xe677dc001140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc001140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc002640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc002640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc002640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc002640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc002640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc002640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc007120 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc007120 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc007b20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc003820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s Executing: glib/gdbus-threading.test 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc005550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc001110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc001110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc001110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc001110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1776s # GLib-GIO-DEBUG: refcount of 0xe677dc006230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc006230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc007120 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc007120 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc004cd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc004cd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc004cd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc004cd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc004cd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc003820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc003820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc003820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc003820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc003820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc003820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc003820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc003820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1777s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1777s # GLib-GIO-DEBUG: refcount of 0xe677dc003820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc006ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc006ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc0055c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc0055c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc0055c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc0017a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc0008e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc004dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc004dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc0038a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc0038a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc0038a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc0038a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1778s # GLib-GIO-DEBUG: refcount of 0xe677dc0038a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc0038a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc0038a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc0038a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc007600 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc007600 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc007600 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc007600 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1779s # GLib-GIO-DEBUG: refcount of 0xe677dc007600 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc007600 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc0079a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc004d60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc004d60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc004d60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc004d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc004d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc004d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc007130 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc007130 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1780s # GLib-GIO-DEBUG: refcount of 0xe677dc007130 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc007130 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc007130 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc007130 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s Executing: glib/gdbus-threading.test 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc001f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1781s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc003900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc003900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1782s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc001e50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc001e50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc007c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc008de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc0009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc0009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc0009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc0009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1783s # GLib-GIO-DEBUG: refcount of 0xe677dc0009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc0081f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc0009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc0009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc0009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc0009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc0009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc0009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc0009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc003c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc003c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc0017c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc001f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc001f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc001f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc001f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc001f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1784s # GLib-GIO-DEBUG: refcount of 0xe677dc001f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc007560 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc007560 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc007560 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc007560 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc007560 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc008210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc002030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1785s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc005a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc005a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc005a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc005a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc007690 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc007690 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc007690 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc007160 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s Executing: glib/gdbus-threading.test 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc007bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc007b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc007b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc006f70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc007960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1786s # GLib-GIO-DEBUG: refcount of 0xe677dc006f70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc001fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc001fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc001fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc001fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc001fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc001fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc001fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc008510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc005a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1787s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1787s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc008250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc007c20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc007c20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc007c20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc007c20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc0009a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc0009a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc0009a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc0062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc0070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1788s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1788s # GLib-GIO-DEBUG: refcount of 0xe677dc0070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc0070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc0070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc0070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc0070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc0070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc008a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc008a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc008a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc008a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc008a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc008a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc008a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc008a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc008a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc0016f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc0089e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc0089e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1789s # GLib-GIO-DEBUG: refcount of 0xe677dc0089e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: refcount of 0xe677dc004db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: refcount of 0xe677dc004db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: refcount of 0xe677dc004db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: refcount of 0xe677dc004db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: refcount of 0xe677dc008bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: refcount of 0xe677dc008bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: refcount of 0xe677dc008bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: refcount of 0xe677dc008bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: refcount of 0xe677dc008bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1790s # GLib-GIO-DEBUG: refcount of 0xe677dc008bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: refcount of 0xe677dc007ac0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: refcount of 0xe677dc003c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: refcount of 0xe677dc003c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1790s ok 3 /gdbus/threaded-singleton 1790s # slow test /gdbus/threaded-singleton executed in 18.99 secs 1790s # End of gdbus tests 1790s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1790s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1790s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1790s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1790s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1790s PASS: glib/gdbus-threading.test 1790s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.2s; system=0.8s; maxrss=5760 1791s autopkgtest [11:54:17]: test gdbus-threading: -----------------------] 1791s autopkgtest [11:54:17]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1791s gdbus-threading PASS 1792s autopkgtest [11:54:18]: test gmenumodel: preparing testbed 1793s Reading package lists... 1794s Building dependency tree... 1794s Reading state information... 1794s Starting pkgProblemResolver with broken count: 0 1795s Starting 2 pkgProblemResolver with broken count: 0 1795s Done 1796s The following NEW packages will be installed: 1796s autopkgtest-satdep 1796s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1796s Need to get 0 B/776 B of archives. 1796s After this operation, 0 B of additional disk space will be used. 1796s Get:1 /tmp/autopkgtest.IsBVRK/8-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 1797s Selecting previously unselected package autopkgtest-satdep. 1797s (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 ... 76899 files and directories currently installed.) 1797s Preparing to unpack .../8-autopkgtest-satdep.deb ... 1797s Unpacking autopkgtest-satdep (0) ... 1797s Setting up autopkgtest-satdep (0) ... 1801s (Reading database ... 76899 files and directories currently installed.) 1801s Removing autopkgtest-satdep (0) ... 1802s autopkgtest [11:54:28]: test gmenumodel: [----------------------- 1802s Running test: glib/gmenumodel.test 1802s TAP version 13 1802s # random seed: R02Sbed9b930a7543c7cc31465880e4f29d8 1802s 1..14 1802s # Start of gmenu tests 1804s ok 1 /gmenu/equality 1804s # slow test /gmenu/equality executed in 1.40 secs 1805s ok 2 /gmenu/random 1805s # slow test /gmenu/random executed in 1.75 secs 1805s ok 3 /gmenu/attributes 1805s ok 4 /gmenu/links 1805s ok 5 /gmenu/mutable 1805s ok 6 /gmenu/convenience 1805s ok 7 /gmenu/menuitem 1805s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1805s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1806s ok 8 /gmenu/input-validation 1806s # Start of dbus tests 1806s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1807s ok 9 /gmenu/dbus/roundtrip 1807s # slow test /gmenu/dbus/roundtrip executed in 1.07 secs 1807s ok 10 /gmenu/dbus/subscriptions 1807s Executing: glib/gmenumodel.test 1810s ok 11 /gmenu/dbus/threaded 1810s # slow test /gmenu/dbus/threaded executed in 3.17 secs 1810s # Start of peer tests 1811s ok 12 /gmenu/dbus/peer/roundtrip 1811s # slow test /gmenu/dbus/peer/roundtrip executed in 1.08 secs 1812s ok 13 /gmenu/dbus/peer/subscriptions 1812s # End of peer tests 1812s # End of dbus tests 1812s # Start of attributes tests 1812s ok 14 /gmenu/attributes/iterate 1812s # End of attributes tests 1812s # End of gmenu tests 1812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1812s PASS: glib/gmenumodel.test 1812s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=6.6s; system=0.3s; maxrss=23296 1812s autopkgtest [11:54:38]: test gmenumodel: -----------------------] 1813s autopkgtest [11:54:39]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1813s gmenumodel PASS 1813s autopkgtest [11:54:39]: test mainloop: preparing testbed 1815s Reading package lists... 1815s Building dependency tree... 1815s Reading state information... 1816s Starting pkgProblemResolver with broken count: 0 1816s Starting 2 pkgProblemResolver with broken count: 0 1816s Done 1818s The following NEW packages will be installed: 1818s autopkgtest-satdep 1818s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1818s Need to get 0 B/776 B of archives. 1818s After this operation, 0 B of additional disk space will be used. 1818s Get:1 /tmp/autopkgtest.IsBVRK/9-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 1818s Selecting previously unselected package autopkgtest-satdep. 1818s (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 ... 76899 files and directories currently installed.) 1818s Preparing to unpack .../9-autopkgtest-satdep.deb ... 1818s Unpacking autopkgtest-satdep (0) ... 1818s Setting up autopkgtest-satdep (0) ... 1823s (Reading database ... 76899 files and directories currently installed.) 1823s Removing autopkgtest-satdep (0) ... 1824s autopkgtest [11:54:50]: test mainloop: [----------------------- 1824s Running test: glib/mainloop.test 1824s TAP version 13 1824s # random seed: R02S052a77211892204a0461fdd5c4f894da 1824s 1..45 1824s # Start of maincontext tests 1824s ok 1 /maincontext/basic 1824s # Add same-priority sources: 37 1824s # Find each source: 15 1824s # Remove in random order: 82 1824s ok 2 /maincontext/nsources_same_priority 1824s # Add different-priority sources: 31 1824s # Find each source: 15 1824s # Remove in random order: 93 1824s ok 3 /maincontext/nsources_different_priority 1825s # Add sources from threads: 525 1825s # Remove sources from threads: 91 1825s ok 4 /maincontext/nsources_threadpool 1825s # slow test /maincontext/nsources_threadpool executed in 0.63 secs 1825s ok 5 /maincontext/source_finalization 1825s # /maincontext/idle-once summary: Test g_idle_add_once() works 1825s ok 6 /maincontext/idle-once 1825s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1825s ok 7 /maincontext/timeout-once 1825s # Start of source_finalization_from_source tests 1825s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1825s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1825s ok 8 /maincontext/source_finalization_from_source/0 1825s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1825s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1825s ok 9 /maincontext/source_finalization_from_source/1 1825s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1825s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1825s ok 10 /maincontext/source_finalization_from_source/2 1825s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1825s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1825s ok 11 /maincontext/source_finalization_from_source/3 1825s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1825s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1825s ok 12 /maincontext/source_finalization_from_source/4 1825s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1825s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1825s ok 13 /maincontext/source_finalization_from_source/5 1825s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1825s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1825s ok 14 /maincontext/source_finalization_from_source/6 1825s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1825s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1825s ok 15 /maincontext/source_finalization_from_source/7 1825s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1825s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1825s ok 16 /maincontext/source_finalization_from_source/8 1825s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1825s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1825s ok 17 /maincontext/source_finalization_from_source/9 1825s # End of source_finalization_from_source tests 1825s # Start of source_finalization_from_dispatch tests 1825s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1825s ok 18 /maincontext/source_finalization_from_dispatch/0 1825s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1825s ok 19 /maincontext/source_finalization_from_dispatch/1 1825s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1825s ok 20 /maincontext/source_finalization_from_dispatch/2 1825s # End of source_finalization_from_dispatch tests 1825s # End of maincontext tests 1825s # Start of mainloop tests 1825s ok 21 /mainloop/basic 1825s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1825s ok 23 /mainloop/priorities 1825s ok 24 /mainloop/invoke 1825s # slow test /mainloop/invoke executed in 0.50 secs 1827s ok 25 /mainloop/child_sources 1827s # slow test /mainloop/child_sources executed in 1.22 secs 1829s ok 26 /mainloop/recursive_child_sources 1829s # slow test /mainloop/recursive_child_sources executed in 2.22 secs 1829s ok 27 /mainloop/recursive_loop_child_sources 1829s ok 28 /mainloop/swapping_child_sources 1829s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1829s ok 29 /mainloop/blocked_child_sources 1829s Executing: glib/mainloop.test 1830s ok 30 /mainloop/source_time 1830s # slow test /mainloop/source_time executed in 1.00 secs 1830s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1830s ok 31 /mainloop/overflow 1830s ok 32 /mainloop/ready-time 1830s # slow test /mainloop/ready-time executed in 0.50 secs 1830s ok 33 /mainloop/wakeup 1830s ok 34 /mainloop/remove-invalid 1830s ok 35 /mainloop/unref-while-pending 1832s ok 36 /mainloop/unix-fd 1832s # slow test /mainloop/unix-fd executed in 1.68 secs 1832s ok 37 /mainloop/unix-fd-source 1832s ok 38 /mainloop/source-unix-fd-api 1832s ok 39 /mainloop/wait 1832s ok 40 /mainloop/unix-file-poll 1832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1832s ok 41 /mainloop/unix-fd-priority 1832s ok 42 /mainloop/nfds 1832s ok 43 /mainloop/steal-fd 1832s # Start of ownerless-polling tests 1832s ok 44 /mainloop/ownerless-polling/attach-first 1832s ok 45 /mainloop/ownerless-polling/pop-first 1832s # End of ownerless-polling tests 1832s # End of mainloop tests 1832s PASS: glib/mainloop.test 1832s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.3s; system=1.6s; maxrss=15144 1833s autopkgtest [11:54:59]: test mainloop: -----------------------] 1833s autopkgtest [11:54:59]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1833s mainloop PASS 1834s autopkgtest [11:55:00]: test memory-monitor-dbus: preparing testbed 1836s Reading package lists... 1837s Building dependency tree... 1837s Reading state information... 1837s Starting pkgProblemResolver with broken count: 0 1838s Starting 2 pkgProblemResolver with broken count: 0 1838s Done 1839s The following NEW packages will be installed: 1839s autopkgtest-satdep 1839s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1839s Need to get 0 B/776 B of archives. 1839s After this operation, 0 B of additional disk space will be used. 1839s Get:1 /tmp/autopkgtest.IsBVRK/10-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 1840s Selecting previously unselected package autopkgtest-satdep. 1840s (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 ... 76899 files and directories currently installed.) 1840s Preparing to unpack .../10-autopkgtest-satdep.deb ... 1840s Unpacking autopkgtest-satdep (0) ... 1840s Setting up autopkgtest-satdep (0) ... 1844s (Reading database ... 76899 files and directories currently installed.) 1844s Removing autopkgtest-satdep (0) ... 1845s autopkgtest [11:55:11]: test memory-monitor-dbus: [----------------------- 1845s Running test: glib/memory-monitor-dbus.test 1846s TAP version 13 1846s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1846s # Received memory warning signal, level 1846s # Received memory warning signal, level 1846s # Received memory warning signal, level 1846s # Received memory warning signal, level 1846s 1..1 1846s PASS: glib/memory-monitor-dbus.test 1846s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.1s; maxrss=24696 1847s autopkgtest [11:55:13]: test memory-monitor-dbus: -----------------------] 1847s memory-monitor-dbus PASS 1847s autopkgtest [11:55:13]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1848s autopkgtest [11:55:14]: test socket: preparing testbed 1850s Reading package lists... 1850s Building dependency tree... 1850s Reading state information... 1851s Starting pkgProblemResolver with broken count: 0 1851s Starting 2 pkgProblemResolver with broken count: 0 1851s Done 1852s The following NEW packages will be installed: 1852s autopkgtest-satdep 1852s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1852s Need to get 0 B/776 B of archives. 1852s After this operation, 0 B of additional disk space will be used. 1852s Get:1 /tmp/autopkgtest.IsBVRK/11-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 1853s Selecting previously unselected package autopkgtest-satdep. 1853s (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 ... 76899 files and directories currently installed.) 1853s Preparing to unpack .../11-autopkgtest-satdep.deb ... 1853s Unpacking autopkgtest-satdep (0) ... 1853s Setting up autopkgtest-satdep (0) ... 1858s (Reading database ... 76899 files and directories currently installed.) 1858s Removing autopkgtest-satdep (0) ... 1859s autopkgtest [11:55:25]: test socket: [----------------------- 1859s Running test: glib/socket.test 1859s TAP version 13 1859s # random seed: R02S168270bc2e4f3a57f7e483097497f67c 1859s 1..28 1859s # Start of socket tests 1860s ok 1 /socket/ipv4_sync 1860s # slow test /socket/ipv4_sync executed in 1.00 secs 1861s ok 2 /socket/ipv4_async 1861s # slow test /socket/ipv4_async executed in 1.00 secs 1861s ok 3 /socket/ipv6_sync 1861s ok 4 /socket/ipv6_async 1861s ok 5 /socket/ipv6_v4mapped 1862s ok 6 /socket/close_graceful 1862s # slow test /socket/close_graceful executed in 1.00 secs 1862s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1862s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1862s ok 8 /socket/fd_reuse 1862s ok 9 /socket/address 1862s ok 10 /socket/unix-from-fd 1862s ok 11 /socket/unix-connection 1862s ok 12 /socket/unix-connection-ancillary-data 1862s ok 13 /socket/source-postmortem 1862s ok 14 /socket/read_write 1862s ok 15 /socket/read_writev 1862s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1862s ok 16 /socket/receive_bytes 1862s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1862s ok 17 /socket/receive_bytes_from 1862s # Start of ipv4_sync tests 1862s ok 18 /socket/ipv4_sync/datagram 1862s # Start of datagram tests 1863s ok 19 /socket/ipv4_sync/datagram/timeouts 1863s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1863s # End of datagram tests 1863s # End of ipv4_sync tests 1863s # Start of ipv6_sync tests 1863s ok 20 /socket/ipv6_sync/datagram 1863s # Start of datagram tests 1864s ok 21 /socket/ipv6_sync/datagram/timeouts 1864s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1864s # End of datagram tests 1864s # End of ipv6_sync tests 1864s # Start of reuse tests 1864s ok 22 /socket/reuse/tcp 1864s ok 23 /socket/reuse/udp 1864s # End of reuse tests 1864s # Start of get_available tests 1864s ok 24 /socket/get_available/datagram 1864s ok 25 /socket/get_available/stream 1864s # End of get_available tests 1864s # Start of credentials tests 1864s # Supported on this OS: GCredentials:linux-ucred:pid=0 1864s ok 26 /socket/credentials/tcp_client 1864s # Supported on this OS: GCredentials:linux-ucred:pid=0 1864s ok 27 /socket/credentials/tcp_server 1864s # Supported on this OS: GCredentials:linux-ucred:pid=17867,uid=1000,gid=1000 1864s ok 28 /socket/credentials/unix_socketpair 1864s # End of credentials tests 1864s # End of socket tests 1864s PASS: glib/socket.test 1864s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4864 1864s autopkgtest [11:55:30]: test socket: -----------------------] 1865s socket PASS 1865s autopkgtest [11:55:31]: test socket: - - - - - - - - - - results - - - - - - - - - - 1866s autopkgtest [11:55:32]: test testfilemonitor: preparing testbed 1867s Reading package lists... 1868s Building dependency tree... 1868s Reading state information... 1868s Starting pkgProblemResolver with broken count: 0 1869s Starting 2 pkgProblemResolver with broken count: 0 1869s Done 1870s The following NEW packages will be installed: 1870s autopkgtest-satdep 1870s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1870s Need to get 0 B/772 B of archives. 1870s After this operation, 0 B of additional disk space will be used. 1870s Get:1 /tmp/autopkgtest.IsBVRK/12-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1871s Selecting previously unselected package autopkgtest-satdep. 1871s (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 ... 76899 files and directories currently installed.) 1871s Preparing to unpack .../12-autopkgtest-satdep.deb ... 1871s Unpacking autopkgtest-satdep (0) ... 1871s Setting up autopkgtest-satdep (0) ... 1876s (Reading database ... 76899 files and directories currently installed.) 1876s Removing autopkgtest-satdep (0) ... 1876s autopkgtest [11:55:42]: test testfilemonitor: [----------------------- 1877s Running test: glib/testfilemonitor.test 1877s TAP version 13 1877s # random seed: R02S7404eb9b58dc6a9914d4049f44ba29be 1877s 1..8 1877s # Start of monitor tests 1877s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1877s # Using temporary directory: /tmp/gio-test-testfilemonitor_6X4YK2 1877s # Using GFileMonitor GInotifyFileMonitor 1879s ok 1 /monitor/atomic-replace 1879s # slow test /monitor/atomic-replace executed in 2.01 secs 1879s # Using temporary directory: /tmp/gio-test-testfilemonitor_VXYYK2 1879s # Using GFileMonitor GInotifyFileMonitor 1881s ok 2 /monitor/file-changes 1881s # slow test /monitor/file-changes executed in 2.51 secs 1881s # Using temporary directory: /tmp/gio-test-testfilemonitor_D9PMK2 1881s # Using GFileMonitor GInotifyFileMonitor 1882s Executing: glib/testfilemonitor.test 1885s ok 3 /monitor/dir-monitor 1885s # slow test /monitor/dir-monitor executed in 3.51 secs 1885s # Using temporary directory: /tmp/gio-test-testfilemonitor_A8OYK2 1885s # Using GFileMonitor GInotifyFileMonitor 1887s Executing: glib/testfilemonitor.test 1892s Executing: glib/testfilemonitor.test 1897s Executing: glib/testfilemonitor.test 1902s Executing: glib/testfilemonitor.test 1907s Executing: glib/testfilemonitor.test 1910s ok 4 /monitor/dir-not-existent 1910s # slow test /monitor/dir-not-existent executed in 25.02 secs 1910s # Using temporary directory: /tmp/gio-test-testfilemonitor_UUQWK2 1910s # Using GFileMonitor 0 GInotifyFileMonitor 1910s # Using GFileMonitor 1 GInotifyFileMonitor 1912s ok 5 /monitor/cross-dir-moves 1912s # slow test /monitor/cross-dir-moves executed in 2.01 secs 1912s # Using temporary directory: /tmp/gio-test-testfilemonitor_ANLWK2 1912s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1912s ok 6 /monitor/finalize-in-callback 1912s # Using temporary directory: /tmp/gio-test-testfilemonitor_8KIXK2 1912s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1912s ok 7 /monitor/root 1912s # Start of file tests 1912s # Using temporary directory: /tmp/gio-test-testfilemonitor_WBHXK2 1912s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1912s # Running with hard link tests 1912s # Using GFileMonitor GInotifyFileMonitor 1912s Executing: glib/testfilemonitor.test 1915s # Event 0 at expected index 7 skipped because it is marked as optional 1915s # Event 2 at expected index 11 skipped because it is marked as optional 1915s ok 8 /monitor/file/hard-links 1915s # slow test /monitor/file/hard-links executed in 3.51 secs 1915s # End of file tests 1915s # End of monitor tests 1915s PASS: glib/testfilemonitor.test 1915s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5248 1916s autopkgtest [11:56:22]: test testfilemonitor: -----------------------] 1916s testfilemonitor PASS 1916s autopkgtest [11:56:22]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1917s autopkgtest [11:56:23]: test thread-pool-slow: preparing testbed 1918s Reading package lists... 1919s Building dependency tree... 1919s Reading state information... 1919s Starting pkgProblemResolver with broken count: 0 1920s Starting 2 pkgProblemResolver with broken count: 0 1920s Done 1921s The following NEW packages will be installed: 1921s autopkgtest-satdep 1921s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1921s Need to get 0 B/772 B of archives. 1921s After this operation, 0 B of additional disk space will be used. 1921s Get:1 /tmp/autopkgtest.IsBVRK/13-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1922s Selecting previously unselected package autopkgtest-satdep. 1922s (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 ... 76899 files and directories currently installed.) 1922s Preparing to unpack .../13-autopkgtest-satdep.deb ... 1922s Unpacking autopkgtest-satdep (0) ... 1922s Setting up autopkgtest-satdep (0) ... 1926s (Reading database ... 76899 files and directories currently installed.) 1927s Removing autopkgtest-satdep (0) ... 1927s autopkgtest [11:56:33]: test thread-pool-slow: [----------------------- 1928s Running test: glib/thread-pool-slow.test 1928s TAP version 13 1928s # random seed: R02S034ff876970ef5dff81c5eb3972de6a1 1928s 1..7 1928s # Start of threadpool tests 1928s ok 1 /threadpool/functions 1928s ok 2 /threadpool/stop-unused 1928s # slow test /threadpool/stop-unused executed in 0.52 secs 1928s ok 3 /threadpool/pools 1928s # [unsorted] ===> pushed new thread with id:12, number of threads:1, unprocessed:1 1928s # [unsorted] ===> pushed new thread with id:35, number of threads:2, unprocessed:2 1928s # [unsorted] ===> pushed new thread with id:73, number of threads:3, unprocessed:3 1928s # [unsorted] ===> pushed new thread with id:56, number of threads:4, unprocessed:4 1928s # [unsorted] ===> pushed new thread with id:75, number of threads:5, unprocessed:5 1928s # [unsorted] ===> pushed new thread with id:44, number of threads:6, unprocessed:6 1928s # [unsorted] ===> pushed new thread with id:73, number of threads:7, unprocessed:7 1928s # [unsorted] ===> pushed new thread with id:2, number of threads:8, unprocessed:8 1928s # [unsorted] ===> pushed new thread with id:5, number of threads:9, unprocessed:9 1928s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:7 1928s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:8 1928s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:9 1928s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:10 1928s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:11 1928s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:12 1928s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:13 1928s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:14 1928s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:15 1928s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:16 1928s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:17 1928s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:18 1928s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:19 1928s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:20 1928s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:21 1928s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:22 1928s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:23 1928s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:24 1928s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:25 1928s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:26 1928s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:27 1928s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:28 1928s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:29 1928s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:30 1928s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:31 1928s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:32 1928s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:33 1928s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:34 1928s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:35 1928s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:36 1928s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:37 1928s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:38 1928s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:39 1928s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:40 1928s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:41 1928s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:42 1928s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:43 1928s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:44 1928s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:45 1928s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:46 1928s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:47 1928s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:48 1928s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:49 1928s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:50 1928s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:51 1928s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:52 1928s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:53 1928s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:54 1928s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:55 1928s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:56 1928s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:57 1928s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:58 1928s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:59 1928s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:60 1928s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:61 1928s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:62 1928s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:63 1928s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:64 1928s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:65 1928s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:66 1928s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:67 1928s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:68 1928s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:69 1928s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:70 1928s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:71 1928s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:72 1928s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:73 1928s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:74 1928s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:75 1928s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:76 1928s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:77 1928s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:78 1928s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:79 1928s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:80 1928s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:81 1928s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:82 1928s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:83 1928s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:84 1928s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:85 1928s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:86 1928s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:87 1928s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:88 1928s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:89 1928s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:90 1928s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:91 1928s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:92 1928s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:93 1928s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:94 1928s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:95 1928s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:96 1928s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:97 1928s ok 4 /threadpool/no-sort 1928s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:1 1928s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:2 1928s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:3 1928s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:4 1928s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:5 1928s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:6 1928s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:7 1928s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:8 1928s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:9 1928s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:10 1928s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:11 1928s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:12 1928s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:13 1928s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:14 1928s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:15 1928s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:16 1928s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:17 1928s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:18 1928s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:19 1928s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:20 1928s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:21 1928s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:22 1928s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:23 1928s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:24 1928s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:25 1928s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:26 1928s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:27 1928s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:28 1928s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:29 1928s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:30 1928s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:31 1928s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:32 1928s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:33 1928s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:34 1928s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:35 1928s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:36 1928s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:37 1928s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:38 1928s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:39 1928s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:40 1928s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:41 1928s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:42 1928s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:43 1928s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:44 1928s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:45 1928s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:46 1928s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:47 1928s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:48 1928s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:49 1928s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:50 1928s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:51 1928s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:52 1928s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:53 1928s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:54 1928s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:55 1928s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:56 1928s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:57 1928s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:58 1928s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:59 1928s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:60 1928s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:61 1928s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:62 1928s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:63 1928s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:64 1928s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:65 1928s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:66 1928s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:67 1928s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:68 1928s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:69 1928s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:70 1928s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:71 1928s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:72 1928s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:73 1928s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:74 1928s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:75 1928s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:76 1928s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:77 1928s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:78 1928s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:79 1928s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:80 1928s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:81 1928s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:82 1928s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:83 1928s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:84 1928s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:85 1928s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:86 1928s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:87 1928s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:88 1928s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:89 1928s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:90 1928s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:91 1928s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:92 1928s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:93 1928s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:94 1928s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:95 1928s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:96 1928s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:97 1928s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:98 1928s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:99 1928s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:100 1928s # Starting thread pool processing 1928s ok 5 /threadpool/sort 1929s ok 6 /threadpool/stop-unused-multiple 1929s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs 1929s # Pool idle thread count: 0, unprocessed jobs: 44 1929s # Pool idle thread count: 0, unprocessed jobs: 0 1929s # Pool idle thread count: 0, unprocessed jobs: 0 1930s # Pool idle thread count: 10, unprocessed jobs: 0 1930s # Pool idle thread count: 10, unprocessed jobs: 0 1930s # Pool idle thread count: 10, unprocessed jobs: 0 1930s # Pool idle thread count: 10, unprocessed jobs: 0 1931s # Pool idle thread count: 10, unprocessed jobs: 0 1931s # Pool idle thread count: 10, unprocessed jobs: 0 1931s # Pool idle thread count: 10, unprocessed jobs: 0 1931s # Pool idle thread count: 10, unprocessed jobs: 0 1932s # Pool idle thread count: 10, unprocessed jobs: 0 1932s # Pool idle thread count: 10, unprocessed jobs: 0 1932s # Pool idle thread count: 10, unprocessed jobs: 0 1932s # Pool idle thread count: 10, unprocessed jobs: 0 1933s # Pool idle thread count: 10, unprocessed jobs: 0 1933s # Pool idle thread count: 10, unprocessed jobs: 0 1933s Executing: glib/thread-pool-slow.test 1933s # Pool idle thread count: 10, unprocessed jobs: 0 1933s # Pool idle thread count: 10, unprocessed jobs: 0 1934s # Pool idle thread count: 10, unprocessed jobs: 0 1934s # Pool idle thread count: 10, unprocessed jobs: 0 1934s # Pool idle thread count: 10, unprocessed jobs: 0 1934s # Pool idle thread count: 10, unprocessed jobs: 0 1935s # Pool idle thread count: 10, unprocessed jobs: 0 1935s # Pool idle thread count: 10, unprocessed jobs: 0 1935s # Pool idle thread count: 10, unprocessed jobs: 0 1935s # Pool idle thread count: 10, unprocessed jobs: 0 1936s # Pool idle thread count: 10, unprocessed jobs: 0 1936s # Pool idle thread count: 10, unprocessed jobs: 0 1936s # Pool idle thread count: 10, unprocessed jobs: 0 1936s # Pool idle thread count: 10, unprocessed jobs: 0 1937s # Pool idle thread count: 10, unprocessed jobs: 0 1937s # Pool idle thread count: 10, unprocessed jobs: 0 1937s # Pool idle thread count: 10, unprocessed jobs: 0 1937s # Pool idle thread count: 10, unprocessed jobs: 0 1938s # Pool idle thread count: 10, unprocessed jobs: 2 1938s # Pool idle thread count: 8, unprocessed jobs: 0 1938s # Pool idle thread count: 8, unprocessed jobs: 0 1938s # Pool idle thread count: 8, unprocessed jobs: 0 1938s Executing: glib/thread-pool-slow.test 1938s # Pool idle thread count: 10, unprocessed jobs: 0 1938s # Pool idle thread count: 10, unprocessed jobs: 0 1939s # Pool idle thread count: 10, unprocessed jobs: 0 1939s # Pool idle thread count: 10, unprocessed jobs: 0 1939s # Pool idle thread count: 10, unprocessed jobs: 0 1939s # Pool idle thread count: 10, unprocessed jobs: 0 1940s # Pool idle thread count: 2, unprocessed jobs: 0 1940s # Pool idle thread count: 2, unprocessed jobs: 0 1940s # Pool idle thread count: 2, unprocessed jobs: 0 1940s # Pool idle thread count: 2, unprocessed jobs: 0 1941s # Pool idle thread count: 2, unprocessed jobs: 0 1941s # Pool idle thread count: 2, unprocessed jobs: 0 1941s # Pool idle thread count: 2, unprocessed jobs: 0 1941s # Pool idle thread count: 2, unprocessed jobs: 0 1942s # Pool idle thread count: 2, unprocessed jobs: 0 1942s # Pool idle thread count: 2, unprocessed jobs: 0 1942s # Pool idle thread count: 2, unprocessed jobs: 0 1942s # Pool idle thread count: 2, unprocessed jobs: 0 1943s # Pool idle thread count: 2, unprocessed jobs: 0 1943s # Pool idle thread count: 2, unprocessed jobs: 0 1943s Executing: glib/thread-pool-slow.test 1943s # Pool idle thread count: 2, unprocessed jobs: 0 1943s # Pool idle thread count: 2, unprocessed jobs: 0 1944s # Pool idle thread count: 2, unprocessed jobs: 0 1944s # Pool idle thread count: 2, unprocessed jobs: 0 1944s # Pool idle thread count: 2, unprocessed jobs: 0 1944s # Pool idle thread count: 2, unprocessed jobs: 0 1945s # Pool idle thread count: 2, unprocessed jobs: 0 1945s # Pool idle thread count: 2, unprocessed jobs: 0 1945s # Pool idle thread count: 2, unprocessed jobs: 0 1945s # Pool idle thread count: 2, unprocessed jobs: 0 1946s # Pool idle thread count: 2, unprocessed jobs: 0 1946s # Pool idle thread count: 2, unprocessed jobs: 0 1946s # Pool idle thread count: 2, unprocessed jobs: 0 1946s # Pool idle thread count: 2, unprocessed jobs: 0 1947s # Pool idle thread count: 2, unprocessed jobs: 0 1947s # Pool idle thread count: 2, unprocessed jobs: 0 1947s # Pool idle thread count: 2, unprocessed jobs: 0 1947s # Pool idle thread count: 2, unprocessed jobs: 0 1948s # Pool idle thread count: 2, unprocessed jobs: 0 1948s # Pool idle thread count: 2, unprocessed jobs: 0 1948s Executing: glib/thread-pool-slow.test 1948s ok 7 /threadpool/idle-time 1948s # slow test /threadpool/idle-time executed in 19.55 secs 1948s # End of threadpool tests 1948s PASS: glib/thread-pool-slow.test 1948s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=3324 1949s autopkgtest [11:56:55]: test thread-pool-slow: -----------------------] 1949s autopkgtest [11:56:55]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1949s thread-pool-slow PASS 1950s autopkgtest [11:56:56]: test threadtests: preparing testbed 1954s Reading package lists... 1954s Building dependency tree... 1954s Reading state information... 1955s Starting pkgProblemResolver with broken count: 0 1955s Starting 2 pkgProblemResolver with broken count: 0 1955s Done 1956s The following NEW packages will be installed: 1956s autopkgtest-satdep 1957s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1957s Need to get 0 B/776 B of archives. 1957s After this operation, 0 B of additional disk space will be used. 1957s Get:1 /tmp/autopkgtest.IsBVRK/14-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 1957s Selecting previously unselected package autopkgtest-satdep. 1957s (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 ... 76899 files and directories currently installed.) 1958s Preparing to unpack .../14-autopkgtest-satdep.deb ... 1958s Unpacking autopkgtest-satdep (0) ... 1958s Setting up autopkgtest-satdep (0) ... 1962s (Reading database ... 76899 files and directories currently installed.) 1962s Removing autopkgtest-satdep (0) ... 1963s autopkgtest [11:57:09]: test threadtests: [----------------------- 1963s Running test: glib/threadtests.test 1963s TAP version 13 1963s # random seed: R02S1a35638fbbfea18dacc7f7d52bcefc3b 1963s 1..5 1963s # Start of GObject tests 1963s ok 1 /GObject/threaded-object-init 1965s ok 2 /GObject/threaded-weak-ref 1965s # slow test /GObject/threaded-weak-ref executed in 1.23 secs 1965s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1965s # /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 1968s ok 3 /GObject/threaded-toggle-notify 1968s # slow test /GObject/threaded-toggle-notify executed in 3.07 secs 1968s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1968s # Start of threaded-weak-ref tests 1968s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1968s # /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. 1968s ok 5 /GObject/threaded-weak-ref/on-finalization 1968s # End of threaded-weak-ref tests 1968s # End of GObject tests 1968s PASS: glib/threadtests.test 1968s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=3.2s; system=0.9s; maxrss=3200 1968s autopkgtest [11:57:14]: test threadtests: -----------------------] 1969s autopkgtest [11:57:15]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1969s threadtests PASS 1969s autopkgtest [11:57:15]: test timeout: preparing testbed 1971s Reading package lists... 1971s Building dependency tree... 1971s Reading state information... 1972s Starting pkgProblemResolver with broken count: 0 1972s Starting 2 pkgProblemResolver with broken count: 0 1972s Done 1974s The following NEW packages will be installed: 1974s autopkgtest-satdep 1974s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1974s Need to get 0 B/772 B of archives. 1974s After this operation, 0 B of additional disk space will be used. 1974s Get:1 /tmp/autopkgtest.IsBVRK/15-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1975s Selecting previously unselected package autopkgtest-satdep. 1975s (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 ... 76899 files and directories currently installed.) 1975s Preparing to unpack .../15-autopkgtest-satdep.deb ... 1975s Unpacking autopkgtest-satdep (0) ... 1975s Setting up autopkgtest-satdep (0) ... 1979s (Reading database ... 76899 files and directories currently installed.) 1979s Removing autopkgtest-satdep (0) ... 1980s autopkgtest [11:57:26]: test timeout: [----------------------- 1980s Running test: glib/timeout.test 1980s TAP version 13 1980s # random seed: R02S0a3a48f0879ea04756aa70b909036671 1980s 1..5 1980s # Start of timeout tests 1980s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1983s ok 1 /timeout/seconds 1983s # slow test /timeout/seconds executed in 2.10 secs 1985s ok 2 /timeout/seconds-once 1985s # slow test /timeout/seconds-once executed in 2.10 secs 1985s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1986s Executing: glib/timeout.test 1987s ok 3 /timeout/weeks-overflow 1987s # slow test /timeout/weeks-overflow executed in 2.10 secs 1987s ok 4 /timeout/far-future-ready-time 1991s Executing: glib/timeout.test 1996s Executing: glib/timeout.test 1997s ok 5 /timeout/rounding 1997s # slow test /timeout/rounding executed in 10.47 secs 1997s # End of timeout tests 1997s PASS: glib/timeout.test 1997s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2688 1998s autopkgtest [11:57:44]: test timeout: -----------------------] 1998s timeout PASS 1998s autopkgtest [11:57:44]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1999s autopkgtest [11:57:45]: test timer: preparing testbed 2001s Reading package lists... 2001s Building dependency tree... 2001s Reading state information... 2002s Starting pkgProblemResolver with broken count: 0 2002s Starting 2 pkgProblemResolver with broken count: 0 2002s Done 2004s The following NEW packages will be installed: 2004s autopkgtest-satdep 2004s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 2004s Need to get 0 B/772 B of archives. 2004s After this operation, 0 B of additional disk space will be used. 2004s Get:1 /tmp/autopkgtest.IsBVRK/16-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 2004s Selecting previously unselected package autopkgtest-satdep. 2005s (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 ... 76899 files and directories currently installed.) 2005s Preparing to unpack .../16-autopkgtest-satdep.deb ... 2005s Unpacking autopkgtest-satdep (0) ... 2005s Setting up autopkgtest-satdep (0) ... 2009s (Reading database ... 76899 files and directories currently installed.) 2009s Removing autopkgtest-satdep (0) ... 2010s autopkgtest [11:57:56]: test timer: [----------------------- 2010s Running test: glib/timer.test 2010s TAP version 13 2010s # random seed: R02S9c133873b59bcb07e0711ce6653c2c21 2010s 1..10 2010s # Start of timer tests 2010s ok 1 /timer/basic 2010s ok 2 /timer/stop 2010s ok 3 /timer/continue 2010s ok 4 /timer/reset 2010s ok 5 /timer/is_active 2010s # End of timer tests 2010s # Start of timeval tests 2010s ok 6 /timeval/add 2010s ok 7 /timeval/from-iso8601 2010s ok 8 /timeval/to-iso8601 2010s # Start of to-iso8601 tests 2010s ok 9 /timeval/to-iso8601/overflow 2010s # End of to-iso8601 tests 2010s # End of timeval tests 2010s # Start of usleep tests 2010s ok 10 /usleep/with-zero-wait 2010s # End of usleep tests 2010s PASS: glib/timer.test 2010s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2688 2010s autopkgtest [11:57:56]: test timer: -----------------------] 2011s timer PASS 2011s autopkgtest [11:57:57]: test timer: - - - - - - - - - - results - - - - - - - - - - 2011s autopkgtest [11:57:57]: @@@@@@@@@@@@@@@@@@@@ summary 2011s build PASS (superficial) 2011s build-static PASS (superficial) 2011s installed-tests PASS 2011s closure-refcount PASS 2011s debugcontroller PASS 2011s gdbus-server-auth PASS 2011s gdbus-threading PASS 2011s gmenumodel PASS 2011s mainloop PASS 2011s memory-monitor-dbus PASS 2011s socket PASS 2011s testfilemonitor PASS 2011s thread-pool-slow PASS 2011s threadtests PASS 2011s timeout PASS 2011s timer PASS 2028s Creating nova instance adt-noble-arm64-glib2.0-20240319-112425-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240319.img (UUID bd25b89b-8264-4402-95d9-d9c88f21f275)... 2028s Creating nova instance adt-noble-arm64-glib2.0-20240319-112425-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240319.img (UUID bd25b89b-8264-4402-95d9-d9c88f21f275)...